In BusinessEvents 4.0., upon integrating BusinessEvent with ActiveMatrix BusinessWorks gives the "java.lang.UnsupportedClassVersionError: Bad version number in .class file" exception .
book
Article ID: KB0085972
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============ In BusinessEvents 4.0., upon integrating BusinessEvent with ActiveMatrix BusinessWorks gives the "java.lang.UnsupportedClassVersionError: Bad version number in .class file" exception.
Symptoms: ========= The following exception is thrown in Designer console -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.tibco.util.Trampoline.invoke(Trampoline.java:166) at com.tibco.ui.BusyWait.run(BusyWait.java:424) at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.tibco.xml.tns.impl.BootstrapTnsCache.b(BootstrapTnsCache.java:101) at com.tibco.xml.tns.impl.BootstrapTnsCache.<init>(BootstrapTnsCache.java:42) at com.tibco.xml.tns.impl.TargetNamespaceCache.<init>(TargetNamespaceCache.java:41) at com.tibco.objectrepo.schema.VFileTNSCache.<init>(VFileTNSCache.java:116) at com.tibco.ae.tools.designer.schema.impl.SchemaToolImpl.doMakeReady(SchemaToolImpl.java:339)
Cause: ===== The designer.tra file may be pointing to a version of JRE older than 1.6.0 .
Resolution: ========== Using BE 4.0 palettes in Designer requires the use of JRE 1.6.0. Point the designer.tra file from JRE 1.5.0 or older version to JRE 1.6.0.
NOTE: Remember to change the values of all the three given JVM variables - tibco.env.JVM_LIB_PATH= tibco.env.JVM_LIB_DIR= tibco.env.TIB_JAVA_HOME=
Issue/Introduction
In BusinessEvents 4.0., upon integrating BusinessEvent with ActiveMatrix BusinessWorks gives the "java.lang.UnsupportedClassVersionError: Bad version number in .class file" exception .