<-- Back

Application will not start after setting up SAML SSO

Issue

When setting up Single Sign-On (SSO) for an application with the SAML module, an issue might occur where it is not possible to start the application, and the following error may be found in the logs:

[APP/PROC/WEB/0] CRITICAL - ActionManager: Error in execution of monitored action '{"name":"SAML20.Startup","type":"Microflow"}' (execution id: 72125568-6eaa-4e06-8307-6f26393d8259, execution type: CUSTOM)
[APP/PROC/WEB/0] java.lang.NoSuchMethodError: 'org.bouncycastle.asn1.DERBitString org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData()'

Environment

SAML module (all versions)

Applications hosted in any deployment type

Cause

The error above suggests that there are conflicting JAR libraries specifically relating to the SAML module. The error is being thrown because the DERBiString class may be found in multiple libraries.

Solution/Workaround

To fix this issue and remove the error, it is necessary to clear the userlib folder of duplicate libraries. The steps for this can be found in Clean Userlib folder

Internal information related

  • 235805

Additional information 

Mendix documentation: SAML

Related KBA: Clean Userlib folder

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.