RMI server is not starting due to "Unsupported major.minor version 52.0" error
search cancel

RMI server is not starting due to "Unsupported major.minor version 52.0" error

book

Article ID: 200798

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

The RMI server process fails to start after a new installation or after upgrading the Oracle database. The RmiServer.log reports the following error message:

ErrorMsg: AwE-9999 Internal error 
Details: oracle.jdbc.driver.OracleDriver
java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver : Unsupported major.minor version 52.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:173)
 at com.appworx.server.sql.AxConnectionPool.<init>(AxConnectionPool.java:117)
 at com.appworx.server.sql.DBAccess.A(DBAccess.java:1972)
 at com.appworx.server.sql.DBAccess.getConnection(DBAccess.java:1539)
 at com.appworx.server.sql.CommonDB.A(CommonDB.java:565)
 at com.appworx.server.sql.CommonDB.A(CommonDB.java:541)
 at com.appworx.server.sql.CommonDB.getSqlData(CommonDB.java:183)
 at com.appworx.server.data.MasterDB.<init>(MasterDB.java:211)
 at com.appworx.server.data.MasterDB.<init>(MasterDB.java:186)
 at com.appworx.server.data.Master.<init>(Master.java:202)
 at com.appworx.server.data.AxRmiServer.?(AxRmiServer.java:2950)
 at com.appworx.server.data.AxRmiServer.setupMasters(AxRmiServer.java:2803)
 at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:905)

Environment

Component : APPLICATIONS MANAGER

Cause

Incorrect oracle driver in the $AW_HOME/web/classes directory

Resolution

Make sure the recommended oracle driver version (ojdbc*.jar) is in the $AW_HOME/web/classes directory. Refer to Oracle for the recommended driver version for your Oracle client and Oracle server version configuration.