" java.lang.UnsupportedClassVersionError: com/tibco/tibrv/TibrvJMSTransport : Unsupported major.minor version 51.0".
book
Article ID: KB0085858
calendar_today
Updated On:
Products
Versions
TIBCO Administrator
-
Not Applicable
-
Description
Resolution: Description: ============ TIBCO_HOME if TIBCO Enterprise Message Service (EMS) 8.0 is installed prior to installing TIBCO Rendezvous (RV) 8.4.0, TIBCO Runtime Agent (TRA) 5.7.x, TIBCO Administrator (Admin) 5.7.x.
Create an EMS based domain. The domain's hawkagent will throw the following error on startup.
"Exception in thread "Thread-0" java.lang.UnsupportedClassVersionError: com/tibco/tibrv/TibrvJMSTransport : Unsupported major.minor version 51.0".
The issue will occur even if the newly created domain is not using the EMS 8.0 server as the domain's transport.
Environment: =========== TIBCO Administrator 5.x.x TIBCO Runtime Agent 5.x.x OS : All
Symptoms: ======== Upon starting the domain's hawkagent, the following will be displayed as part of the console output. ******************************************************************************************************************************************************** Exception in thread "Thread-0" java.lang.UnsupportedClassVersionError: com/tibco/tibrv/TibrvJMSTransport : Unsupported major.minor version 51.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.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 COM.TIBCO.hawk.console.nest.shared.HawkTransport.getReconnectCount(HawkTransport.java:143) at COM.TIBCO.hawk.agent.AgentTibrvTransports$TransportReconnectRunner.run(AgentTibrvTransports.java:556) at java.lang.Thread.run(Thread.java:662) Exception in thread "TsmSyncTibcoServers" java.lang.UnsupportedClassVersionError: com/tibco/tibrv/TibrvJMSTransport : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) ********************************************************************************************************************************************************
Cause: =====
1). When EMS 8.0 is installed before installing TRA 5.7.4, the JMS client library (jms-2.0.jar) gets copied into the hawk/4.9/lib folder.
2). Due to above activity, when the domain's hawkagent is started it loads the jms-2.0.jar file which requires jre 1.7.0 and higher and tra 5.7.4 is bundled with JRE 1.6.0. The exception of "unsupported class" is generated.
Resolution: ========== 1). Install TRA 5.7.4 prior to EMS 8.0 if you want to install EMS 8.0 and TRA 5.7.x in the same tibco-home.
OR
2). Remove the jms-2.0.jar file from hawk/4.9/lib folder after installation to an un-referred location. The domain's hawkagent will startup fine.
OR
3). Install EMS 8.0 in a different TIBCO_HOME then TRA 5.7.x and Admin 5.7.x.
Issue/Introduction
" java.lang.UnsupportedClassVersionError: com/tibco/tibrv/TibrvJMSTransport : Unsupported major.minor version 51.0".