000011717 - java.lang.RuntimeException: Exception occurred while reading the license file.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000011717
Applies ToAuthentication Manager 7.1
SDK
API
Spring Framework 2.7
Issuecom.rsa.common.SystemException: Command target (CacheableCommandTargetBasicAuth) initialization failure
        java.lang.RuntimeException: Exception occurred while reading the license file.
com.rsa.common.SystemException: Command target (CacheableCommandTargetBasicAuth) initialization failure
        java.lang.RuntimeException: Exception occurred while reading the license file.
        at com.rsa.command.ConnectionFactory.getSpringBeanTarget(ConnectionFactory.java:211)
        at com.rsa.command.ConnectionFactory.getTarget(ConnectionFactory.java:169)
        at com.rsa.command.ConnectionFactory.getConnection(ConnectionFactory.java:245)
        at com.rsa.command.ConnectionFactory.getConnection(ConnectionFactory.java:284)
        at com.rsa.mjb.am71.ManagedOndemandAuth.Setup(ManagedOndemandAuth.java:54)
        at com.rsa.mjb.am71.Harness.main(Harness.java:16)
CauseThe RSA Authentication Manager 7.1 API uses the Spring framework to manage most API connections into the server (this is not the case when you use the WSDL) the default connection method which is used makes use of licensed BEA WebLogic technology and will require the presence of license.bea.   This error is generated when the system cannot find the file license.bea on the classpath.
Resolution

The file license.bea must be present on a location specified on the classpath otherwise this error is generated.  An common way to enable this is to place the file in a "properties" folder and add this folder to the classpath although this is not mandatory (any location on the classpath will do although when used with WebSphere the built-in properties folder might be a convenient location). 

For full details on how to use the SDK see the full documentation available with the SDK at https://knowledge.rsasecurity.com/docs/rsa_securid/rsa_auth_mgr/71/sdk.zip

See also:

     a41106     log4j:WARN Please initialize the log4j system properly.
     a41108     org.springframework.beans.factory.BeanInitializationException: Could not load properties
     a41112     java.io.FileNotFoundException: System property "properties.directory" is not set

 

Legacy Article IDa41120

Attachments

    Outcomes