diff --git a/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java b/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java
index 4dea0cee1a..5d57270387 100644
--- a/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java
+++ b/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java
@@ -407,15 +407,6 @@ public class ContextFilter implements Filter {
if (Debug.verboseOn()) Debug.logVerbose("Adding web.xml context-param to application attribute with name [" + initParamName + "] and value [" + initParamValue + "]", module);
config.getServletContext().setAttribute(initParamName, initParamValue);
}
- String GeronimoMultiOfbizInstances = (String) config.getServletContext().getAttribute("GeronimoMultiOfbizInstances");
- if (UtilValidate.isNotEmpty(GeronimoMultiOfbizInstances)) {
- String ofbizHome = System.getProperty("ofbiz.home");
- if (GeronimoMultiOfbizInstances.equalsIgnoreCase("true") && UtilValidate.isEmpty(ofbizHome)) {
- ofbizHome = System.getProperty("ofbiz.home"); // This is only used in case of Geronimo or WASCE using OFBiz multi-instances. It allows to retrieve ofbiz.home value set in JVM env
- System.out.println("Set OFBIZ_HOME to - " + ofbizHome);
- System.setProperty("ofbiz.home", ofbizHome);
- }
- }
}
protected String getServerId() {
diff --git a/framework/webtools/webapp/webtools/WEB-INF/web.xml b/framework/webtools/webapp/webtools/WEB-INF/web.xml
index 08e3ab96b3..67956c8e50 100644
--- a/framework/webtools/webapp/webtools/WEB-INF/web.xml
+++ b/framework/webtools/webapp/webtools/WEB-INF/web.xml
@@ -44,12 +44,6 @@ under the License.
The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.
-
- GeronimoMultiOfbizInstances
- true
- This is only used in case of Geronimo or WASCE using OFBiz multi-instances. It allows to retrieve ofbiz.home value set in JVM env
-
-
ContextFilter
ContextFilter