SAML20, when saving IdP configuration: An error occured, please contact your system administrator.

0
In the SAML20 module, I try to change the IdP alias name. However when I press the Save button I get a general error: An error occurred, please contact your system administrator. The log shows the following messages, amongst others M2EE errors. Any idea what's causing this strange error? Application is running in the mendixcloud (both acceptance and production). ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.Server.handle(Server.java:561) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.security.SecurityHelper.addAllToKeyStore(SecurityHelper.java:289) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) ‎11‎:‎29‎:‎03 app INFO at java.lang.Thread.run(Thread.java:748) ‎11‎:‎29‎:‎03 app CRITICAL M2EE: An unhandled error occurred in the MxRuntime. ‎11‎:‎29‎:‎03 app CRITICAL M2EE: java.lang.NoSuchMethodError: org.apache.commons.codec.digest.DigestUtils.sha1Hex([B)Ljava/lang/String; ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.security.SecurityHelper.appendToIdPKeyStore(SecurityHelper.java:270) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.security.CredentialRepository.updateConfiguration(CredentialRepository.java:105) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.security.CredentialRepository.setupTrustStore(CredentialRepository.java:193) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.SAMLRequestHandler.initServlet(SAMLRequestHandler.java:103) ‎11‎:‎29‎:‎03 app INFO at saml20.actions.ReloadConfiguration.executeAction(ReloadConfiguration.java:29) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.SAMLRequestHandler.<init>(SAMLRequestHandler.java:67) ‎11‎:‎29‎:‎03 app INFO at saml20.implementation.SAMLRequestHandler.getInstance(SAMLRequestHandler.java:59) ‎11‎:‎29‎:‎03 app INFO at saml20.actions.ReloadConfiguration.executeAction(ReloadConfiguration.java:17) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) ‎11‎:‎29‎:‎03 app INFO at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) ‎11‎:‎29‎:‎03 app INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) ‎11‎:‎29‎:‎03 app INFO at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) ‎11‎:‎29‎:‎03 app INFO at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:60) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.component.InternalCore.execute(InternalCore.java:583) ‎11‎:‎29‎:‎03 app INFO at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) ‎11‎:‎29‎:‎03 app INFO at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) ‎11‎:‎29‎:‎03 app INFO at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) ‎11‎:‎29‎:‎03 app INFO at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) ‎11‎:‎29‎:‎03 app INFO at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) ‎11‎:‎29‎:‎03 app INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:328) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.component.InternalCore.execute(InternalCore.java:583) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) ‎11‎:‎29‎:‎03 app INFO at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) ‎11‎:‎29‎:‎03 app INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:313) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:431) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:251) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:220) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104) ‎11‎:‎29‎:‎03 app INFO at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96) ‎11‎:‎29‎:‎03 app INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) ‎11‎:‎29‎:‎03 app INFO at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) ‎11‎:‎29‎:‎03 app INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) ‎11‎:‎29‎:‎03 app INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) ‎11‎:‎29‎:‎03 app INFO at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) ‎11‎:‎29‎:‎03 app INFO at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:862) ‎11‎:‎29‎:‎03 app INFO at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) ‎11‎:‎29‎:‎03 app INFO at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.Server.handle(Server.java:561) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ‎11‎:‎29‎:‎03 app INFO at java.lang.Thread.run(Thread.java:748) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) ‎11‎:‎29‎:‎03 app INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
asked
2 answers
1

Check your userlib for duplicate jar files.

Regards,

Ronald

 

answered
0

Hi,

 

This problem did only occur from Modeler 7.9. and only if the IdP alias contained spaces. Without spaces the problem did not occur.

As this was not clear from the beginning we importted the LoginAddon module from the appstore, which contained duplicate jar files.

After all, by removing the LoginAddon from the project again and manually removing the jar files that were part of that module the Java errors disappeared.

 

Regards,

Elco

 

answered