Config file not found in SAP ERP Agent webas
search cancel

Config file not found in SAP ERP Agent webas

book

Article ID: 224255

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder) SITEMINDER

Issue/Introduction

When running an ERP Agent for SAP, this one returns the error:

com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.abort()
as

#2.0 #2021 09 08 07:45:02:961#+0200#Error#com.sap.engine.services.rfcengine#
#BC-MID-CON-JCO#rfcengine#C0000A0B4AAD001D000000040000BADA#304935450000002311##
com.sap.engine.services.rfcengine.handleThrowable(Throwable t)
####3485C019105F11EC8D6A506B8DF4C0A3#3485c019105f11ec8d6a506b8df4c0a3##0
#Thread[<id>.ServerThread-1,5,SystemThreadGroup]#Plain## Server startup error on host server.example.com with service <sap> programID <id>.
Error: Server startup failed at Wed Sep 08 07:45:02 CEST 2021.

#2.0 #2021 09 08 09:36:20:388#+0200#Fatal#com.netegrity.siteminder.sap.webas.util.SMConfig#
##ca.com~SiteMinderLoginModule#C0000A0B4AAD001E000000010000BADA#304935450000000004
#sap.com/irj#com.netegrity.siteminder.sap.webas.util.SMConfig.loadConfigFile()
#Guest#0##5DFFC76C107511ECAF100000122CF21A#5dffc76c107511ecaf100000122cf21a##0
#Thread[HTTP Worker [@1677587003],5,Dedicated_Application_Thread]#Plain##
Config file not found#

Environment

- ERP Agent 12.51 on SAP 7.50 on RedHat 7;
     (ca-erp-webas-12.51-rhas30-x86-64.bin);

Cause

The smwebas.home doesn't have the correct path as the webagent doesn't exist, but rather webasagent:

smwebas.home /{path_to_sap}/siteminder/webagent/sapwebas/conf

The OS file system shows webasagent instead of webagent:

# ls /{path_to_sap}/siteminder/

  webasagent

Resolution

  1. On the RedHat box, in the SAP GUI VM Parameters / System, modify the value of smwebas.home:

    From 

    smwebas.home /{path_to_sap}/siteminder/webagent/sapwebas/conf


    change it to

    smwebas.home /{path_to_sap}/siteminder/webasagent/sapwebas/conf

  2. Restart the SAP server to solve this error.