ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error : Invalid license for product SmWebAsAgent in ERP Agent for SAP

book

Article ID: 8611

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On SITEMINDER

Issue/Introduction

 

After installing and configuring the ERP Agent for SAP, starting it
the ERP Agent for SAPWebAS returns the following error:

  Invalid license for product SmWebAsAgent 

as per SAP server traces :

defaultTrace.8.trc:

  #1.5#005056BF54F400690000001000100C700055BCFEE981529#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 is a brand new one and it's a valid one. No request gets
to the Policy Server.

 

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

 

This error message will show up if the ERP Agent is not installed
correctly.

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;