X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.app.servlet.odk%2Fsrc%2Forg%2Fargeo%2Fapp%2Fservlet%2Fodk%2FOdkSubmissionServlet.java;h=5efbd1b689fb4b518a65f0e0c5d429a8a9a5124a;hp=9596ebdba9f0e7b51813f3e55abc97589081455d;hb=ade0c4cd7f02edd0c4546561382ba6f83a562fed;hpb=40f2458e0e6f78a0ae383233b16ba0dc6d047b2f diff --git a/org.argeo.app.servlet.odk/src/org/argeo/app/servlet/odk/OdkSubmissionServlet.java b/org.argeo.app.servlet.odk/src/org/argeo/app/servlet/odk/OdkSubmissionServlet.java index 9596ebd..5efbd1b 100644 --- a/org.argeo.app.servlet.odk/src/org/argeo/app/servlet/odk/OdkSubmissionServlet.java +++ b/org.argeo.app.servlet.odk/src/org/argeo/app/servlet/odk/OdkSubmissionServlet.java @@ -62,8 +62,8 @@ public class OdkSubmissionServlet extends HttpServlet { // "/" + EntityType.form.get() + "/" + EntityNames.SUBMISSIONS_BASE); CmsSession cmsSession = RemoteAuthUtils.getCmsSession(request); - ClassLoader currentContextCl = Thread.currentThread().getContextClassLoader(); - Thread.currentThread().setContextClassLoader(RemoteAuthUtils.class.getClassLoader()); +// ClassLoader currentContextCl = Thread.currentThread().getContextClassLoader(); +// Thread.currentThread().setContextClassLoader(CmsJcrUtils.class.getClassLoader()); Session adminSession = null; try { // TODO centralise at a deeper level @@ -71,7 +71,7 @@ public class OdkSubmissionServlet extends HttpServlet { SuiteUtils.getOrCreateCmsSessionNode(adminSession, cmsSession); } finally { Jcr.logout(adminSession); - Thread.currentThread().setContextClassLoader(currentContextCl); +// Thread.currentThread().setContextClassLoader(currentContextCl); } Node cmsSessionNode = SuiteUtils.getCmsSessionNode(session, cmsSession);