Hi guys 'n gals, We're trying to import and configure the APM tooling into our application. The import went well, however, when starting our application we suddenly get an error in our SAML implementation about a security exception: Feb 7 09:36:08.785 127.0.0.1 tr10000: ERROR - SAML_SSO: Unable to initialize the Servlet configuration Feb 7 09:36:08.796 127.0.0.1 tr10000: ERROR - SAML_SSO: (1/186) org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration. Followed by Feb 7 09:36:08.813 127.0.0.1 tr10000: ERROR - SAML_SSO: (117/186) Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "velocity.log" "write") This causes the SAML module to not initialize, so we can't use our Single Sign On Any tips?
add to your policy file (C:\Program Files\Mendix\6.x.x\modeler\runtemplates\deployment\data) and also in the cloud with a Mendix ticket:
("java.io.FilePermission" "velocity.log" "write")
Pim van der Noll
You would need to file a support ticket for Mendix to add this to the allow list of the Security Manager. We have done the same for the External Database connector.