No functional change, remove unused and failing EntityClassLoader

Relates with OFBIZ-6210

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1782943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2017-02-14 09:57:00 +00:00
parent 1e8e01e2bb
commit 49df69cdd6
2 changed files with 1 additions and 216 deletions
@@ -47,6 +47,7 @@ import org.apache.ofbiz.security.Security;
import org.apache.ofbiz.service.LocalDispatcher;
import org.apache.ofbiz.webapp.stats.ServerHitBin;
import org.apache.ofbiz.webapp.stats.VisitHandler;
import freemarker.ext.servlet.ServletContextHashModel;
/**
@@ -157,10 +158,6 @@ public class ControlServlet extends HttpServlet {
request.setAttribute("delegator", delegator);
// always put this in the session too so that session events can use the delegator
session.setAttribute("delegatorName", delegator.getDelegatorName());
/* Uncomment this to enable the EntityClassLoader
ClassLoader loader = EntityClassLoader.getInstance(delegator.getDelegatorName(), Thread.currentThread().getContextClassLoader());
Thread.currentThread().setContextClassLoader(loader);
*/
}
LocalDispatcher dispatcher = (LocalDispatcher) session.getAttribute("dispatcher");