Removed some old code that, as can be easily noticed by reviewing the lines I am removing, was completely useless; it was probably an half baked experiment that has been committed by error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user