After installing AM 9.1, RA Agents fail to start and result in a java.lang.NoClassDefFoundError

Document ID : KB000084713
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :
java.lang.NoClassDefFoundError: org/apache/commons/logging/Log/Factory

After upgrading to Applications Manager 9.1.0 RA Agents will not start and in the AgentService log you will see errors similar to these:
18:05:03.909 AgentService: AwE-9999
18:05:03.911 AgentService: .AxOptions: NoErrorMsgProperties=false
ErrorMsg: AwE-9999 Internal error (2/9/16 6:05 PM)
Details: [OCTEST, No_Service, 02:24:49, N, 99, 2016-02-09 15:40:14.0, OFFLINE, OFFLINE, 306, 3, TTPOSOCTJS01, Y, 99_ALL_DAY, BannerAgent, UNIX, 47, 7, JAVA_AGENT , 99, 0, CPU, APPMGR, MGRSTOPPED, 1, null, null, null, null, null]
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.bsf.BSFManager.<init>(
at com.appworx.automic.ra.extensibility.container.C.A(
at com.appworx.automic.ra.extensibility.container.C.<init>(
at com.appworx.agent.extensibleagent.A.Ñ(
at com.appworx.agent.AgentService.B(
at com.appworx.agent.AgentService.A(
at com.appworx.agent.AgentService.<init>(
at com.appworx.agent.AgentService.main(
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Beginning in AM 9.1 some of the jar files used by the RA Agents were moved to another directory, $AW_HOME/web/axis2.  However, the RA Agents are still looking for the files in the $AW_HOME/web/classes directory. 

OS Version: N/A
Cause type:
Root Cause: New v.9.1.0 Remote RA Agent installations fail to start after the install is complete. The AwE-9999 error may contain details similar to the following: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Applications Manager 9.1.1 - Available
Additional Information:
Workaround :
Copy the following jar files from the $AW_HOME/web/axis2 directory to the $AW_HOME/web/classes directory: