Starting ERP Agent for SAP, this one complains that the license isn't valid : Invalid license for product SmWebAsAgent

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

After installing and configuring the ERP Agent for SAP, we start it but it doesn't work reporting the following error:

 

Invalid license for product SmWebAsAgent 

 

defaultTrace.8.trc:

#1.5#005056BF54F4006900000001000100C700055BCFEE981529#1508323502855#
com.netegrity.siteminder.sap.webas.util.NDSLicense#sap.com/irj#com.netegrity.
siteminder.sap.webas.util.NDSLicense.decodeLicense()#J2EEE#0##n/a##
6571e1c6b3f111e7ca3300000073dcbe#SAPEngine_Application_Thread[impl:3]_29
##0#0#Fatal#1#/System/Security#Plain####
#1.5#005056BF54F4006900000003000100C700055BCFEE9815B6#1508323502855#
com.netegrity.siteminder.sap.webas.util.NDSLicense#sap.com/irj#com.netegrity.
siteminder.sap.webas.util.NDSLicense.logInformation()#J2EE9E#0##n/a##
6571e1c6b3f111e7ca3300000073dcbe#SAPEngine_Application_Thread[impl:3]_29#
#0#0#Fatal#1#/System/Security#
Plain###************************************************************#
#1.5#005056BF54F4006900000005000100C700055BCFEE981600#1508323502855#com.netegrity.
siteminder.sap.webas.util.NDSLicense#sap.com/irj#com.netegrity.siteminder.sap.webas
.util.NDSLicense.logInformation()#J2EEE#0##n/a##6571e1c6b3f111e7ca330000007
3dcbe#SAPEngine_Application_Thread[impl:3]_29##0#0#Fatal#1#/System/Security#Plain
###Invalid license for product SmWebAsAgent#
#1.5#005056BF54F4006900000007000100C700055BCFEE98163B#1508323502855#com.netegrity.
siteminder.sap.webas.util.NDSLicense#sap.com/irj#com.netegrity.siteminder.sap.webas.
util.NDSLicense.logInformation()#J2EEE#0##n/a##6571e1c6b3f111e7ca3300000073dcbe
#SAPEngine_Application_Thread[impl:3]_29##0#0#Fatal#1#/System/Security
#Plain###************************************************************#

The license we put is brand new and we verified it is a valid one. We see no request getting to the Policy Server.

How can we fix this ?

 

Environment:
ERP Agent R12.0 64bit (build 254) on SAP Netweaver 7.01 on RedHat 7.1 64bit; Policy Server R12.52 on RedHat 6; Policy Server JDK 1.7.0_25 32bit;
Resolution:

You will get this error message if the ERP Agent is not installed correctly. For that we would suggest you to completely remove the ERP Agent binaries from the system and SAP, and proceed to install it again taking care of the following aspects :

- Follow the official documentation step by step to install and configure; 

- Use the latest CR of the version you install;

- Configure the smwebas.home variable in the SAP Server before running the Configurator, as described in the documentation; 

- Run ca_sapwebas_env.sh environment variable script before starting the SAP Server and before running the Configurator; 

- Re-deployed the SiteMinderLoginModule.sda;