Siteminder ERP Agent V5.6 for SAP Web AS Error - "Config file invalid"

Document ID : KB000054256
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Upon initial installation and configuration of the ERP Agent for SAP Web AS, you may see the error, "Config file invalid" in the SAP "security.log" file, as with the following log excerpt:

#1.5#001125C0EEB800610000002C0016E0E600045BFCB0A83830#1227040760543#/System/Security/Audit/
J2EE#sap.com/irj#com.sap.engine.services.security.roles.SecurityRoleImpl#Guest#111##n/a##f239a030b5af11ddc5b9001125c0eeb8
#Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#com.sap.engine.services.security.roles.SecurityRoleImpl#Java###{0}:
Authorization check for caller assignment to J2EE security role [{1} : {2}].#3#ACCESS.OK#SAP-J2EE-Engine#guests#
#1.5#001125C0EEB8005C000000250016E0E600045BFCB0CA2B7A#1227040762768#/System/Security#sap.com/irj#com.netegrity.
siteminder.sap.webas.jaas.SiteMinderLoginModule.initialize()#Guest#0##n/a##fb66e900b5b011ddc2bf001125c0eeb8#SAPEngine_Application_Thread[impl:3]_36##0#0
#Info#1#com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule#Plain###Login module initialized#
#1.5#001125C0EEB8005C000000260016E0E600045BFCB0CA47A0#1227040762775#/System/Security#sap.com/irj#com.
netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.login()#Guest#0##n/a##fb66e900b5b011ddc2bf001125c0eeb8#SAPEngine_Application_Thread[impl:3]_36##0#0
#Error#1#com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule#Plain###Config file invalid#
#1.5#001125C0EEB8005C000000280016E0E600045BFCB0CA48E7#1227040762775#/System/Security#sap.com/irj#com.
netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.errorURL()#Guest#0##n/a##fb66e900b5b011ddc2bf001125c0eeb8#SAPEngine_Application_Thread[impl:3]_36
##0#0#Info#1#com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule#Plain###SiteMinder login module authentication failed. No Error URL configured, sending error message...#
#1.5#001125C0EEB8005C0000002B0016E0E600045BFCB0CAC47E#1227040762807#/System/Security/Authentication#sap.
com/irj#com.sap.engine.services.security.authentication.logincontext#Guest#0##n/a##fb66e900b5b011ddc2bf001125c0eeb8#
SAPEngine_Application_Thread[impl:3]_36
##0#0#Error#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.FAILED

Solution:

The only reason this exception should occur is when either the path to the 'SmWebAsSSO.conf' file is invalid (see related KB article, (Siteminder ERP Agent V5.6 for SAP Web AS Error - "smwebas.home property not set"), or permissions preclude it from loading.

If you have already confirmed that the above property is configured correctly, ensure that all permissions (777) are opened to the "SmWebAsSSO.conf file and its subdirectories, in case a component of the SAP J2EE Engine is running as a user differing from your start user. When changing these settings, completely shut down and restart all SAP J2EE Engine components.