Error when logging in

0
I am in the process of migrating a client from Mx4 to Mx6. The SAML module was updated from a pre release to the latest version in the appstore. Whenever I log into the application bypassing the SSO I receive an error. I can log in and the application functions as expected but I wonder where this error is coming from. I suspected duplicated userlibs but as fas as I can tell this is not the case. From the stacktrace it looks like the SAML module is throwing the error. Anyone a guess what is wrong here and how to fix this? Regards, Ronald [EDIT] Found the problamatic jar file. It is commons-httpclient-3.1.jar which is rather old and has reached end of life. This one is in the latest SAML module. Will file a support request why this on is still in there and if it can be replaced by apache-httpcomponents-httpclient.jar. [EDIT2] My mistake. Problem is still there. The problem is only there if I activiate the SSO. Will file support request because it must be something with duplicate libraries. An unhandled error occurred in the MxRuntime. -------- java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "javax/servlet/http/HttpServletRequest" at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at saml20.implementation.binding.PostBindingHandler.handle(PostBindingHandler.java:49) at saml20.implementation.LoginHandler.handleRequest(LoginHandler.java:103) at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:150) at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:66) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:72) at com.mendix.core.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:742) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:41) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)  
asked
1 answers
0

I think the error says it's loading a duplicate copy of a class, so perhaps a duplicate javax.servlet JAR in your userlib?

answered