Previous Topic: CA Auth ID OTP Authentication Fails if the Organization Name Contains a SpaceNext Topic: Risk Evaluation from State Manager Fails Due to Class Loading Issues


All Application Logs Redirected to the AFM Log File in JBoss

Symptom:

In JBoss application server, after deploying the AFM, State Manager, and sample application-specific WAR files, the application server logs are all redirected to the AFM log file, arcotafm.log.

Solution:

Create a new file, jboss-web.xml, and do the following:

  1. Copy the following into the jboss-web.xml file:
    <jboss-web>  
      <class-loading java2ClassLoadingCompliance="false">  
        <loader-repository> 
          com.arcot:loader=<UniquenameforClassLoader>
          <loader-repository-config>
            java2ParentDelegation=false
          </loader-repository-config>  
        </loader-repository>  
      </class-loading>  
    </jboss-web>
    

    UniquenameforClassloader must be unique for each application. For example, you can use ArcotAFMClassloader for AFM, ArcotSMClassloader for State Manager, and so on.

  2. Copy the jboss-web.xml file to App_Exploded_Location\App_Name\WEB-INF

    where,

    App_Exploded_Location is the location where JBoss has extracted the application

    App_Name is the name of the application, for example, arcotafm or arcotsm.

    If jboss-classloading.xml file is present in this location, then delete the file.

  3. Restart the application server.

Repeat this procedure for the AFM, State Manager, and SAML sample applications.