Remote Agent fails to start with a java.lang.ClassNotFoundException

Document ID : KB000084805
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
ErrorMsg: AwE-9999 Internal error (1/11/18 1:11 PM)
Details: oracle.jdbc.driver.oracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLC1assLoaderSI.run(URLClassLoader.java:366)
at java.net.URLC1assLoaderSI.run(URLCIassLoader.java:355)
at java.security. Accesscontroller.doprivileged Native Method)
at java.net.URLC1assLoader.findC1ass(URLCIassLoader.java:354)
at java.lang.ClassLoader.loadC1ass(ClassLoader.java:425)
at sun.misc.LauncherSAppCIassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadC1ass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.appworx.server.sql.AxConnectionpool.(AxConnectionPool.java:117)

After upgrading Applications Manager Remote Agent to 9.2.0+ successfully, the Agent fails to start.

Reviewing the AgentService<timestamp>.log show the following error:
 
ErrorMsg: AWE—9999 Internal error (1/11/18 1:11 PM)
Details: oracle.jdbc.driver.oracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLC1assLoaderSI.run(URLClassLoader.java:366)
at java.net.URLC1assLoaderSI.run(URLCIassLoader.java:355)
at java.security. Accesscontroller.doprivileged Native Method)
at java.net.URLC1assLoader.findC1ass(URLCIassLoader.java:354)
at java.lang.ClassLoader.loadC1ass(ClassLoader.java:425)
at sun.misc.LauncherSAppCIassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadC1ass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.appworx.server.sql.AxConnectionpool.<init>(AxConnectionPool.java:117)
Cause:
Cause type:
By design
Root Cause: When the awenv.ini file has the variable DirectDBConnnection=Y set, the remote agent is expecting to see an Oracle Driver (ojdbc6.jar) in the $AW_HOME/web/classes or %AW_HOME%\web\classes directory.
Resolution:
Comment out DirectDBConnection=Y or set DirectDBConnection=N
or
Copy Oracle driver (ojdbc6.jar) to the $AW_HOME/web/classes or %AW_HOME%\web\classes directory.

Fix Status: No Fix