Error while running after startup (SAML20)

1
After startup is running into an error when trying to run StartSSO.   We got he following error:   CRITICAL - ActionManager: Error in execution of monitored action '{"name":"Configuratie.AST_VWT","type":"Microflow"}' (execution id: 912f9736-0192-49b2-8723-fb7bde6119ce, execution type: CUSTOM) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (1/73) java.lang.NoSuchMethodError: org.apache.commons.codec.digest.DigestUtils.sha1Hex([B)Ljava/lang/String; Jan 2 10:01:59.170 - CRITICAL - ActionManager: (2/73) #011at saml20.implementation.security.SecurityHelper.addAllToKeyStore(SecurityHelper.java:289) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (3/73) #011at saml20.implementation.security.SecurityHelper.appendToIdPKeyStore(SecurityHelper.java:270) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (4/73) #011at saml20.implementation.security.CredentialRepository.setupTrustStore(CredentialRepository.java:193) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (5/73) #011at saml20.implementation.security.CredentialRepository.updateConfiguration(CredentialRepository.java:105) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (6/73) #011at saml20.implementation.SAMLRequestHandler.initServlet(SAMLRequestHandler.java:103) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (7/73) #011at saml20.implementation.SAMLRequestHandler.<init>(SAMLRequestHandler.java:67) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (8/73) #011at saml20.implementation.SAMLRequestHandler.getInstance(SAMLRequestHandler.java:59) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (9/73) #011at saml20.implementation.SSOServerConfiguration.start(SSOServerConfiguration.java:18) Jan 2 10:01:59.170 - CRITICAL - ActionManager: (10/73) #011at saml20.actions.StartSSO.executeAction(StartSSO.java:27) What can be the cause of this issue?   Thanks!
asked
2 answers
1

Hi Theo!

My guess is that your project doesn't contain the correct Java library since it throws a NoSuchMethodError.

I suggest you deploy your application for Eclipse and check the Java action that's being used by the SAML module. That should give you some more information.

answered
1

Indeed as Willem suggests you have a Java library problem. Most of the time when this happens, it's due to a duplicate JAR file of a different (often older) version in your project/userlib folder. See these questions for more info:

https://forum.mendix.com/link/questions/88093

https://forum.mendix.com/link/questions/86721

https://forum.mendix.com/link/questions/88264

answered