EjbModule ejbModule = (EjbModule) module;
Environment environment = module.getEnvironment();
//overridden web service locations
Map correctedPortLocations = new HashMap();
GeronimoEjbJarType geronimoEjbJarType =
(GeronimoEjbJarType) ejbModule.getEjbModule().getAltDDs().get("geronimo-openejb.xml");
if (geronimoEjbJarType != null) {
for (WebServiceBindingType bt : geronimoEjbJarType.getWebServiceBinding()) {
String location = bt.getWebServiceAddress();
if (location != null) {
location = location.trim();
if (!location.startsWith("/")) {
location = "/" + location;