Tibco (BW 6) to AMQ Connectivity Issue - Unsupported major.minor version 52.0

Solution Verified - Updated -

Issue

  • At the time of Starting of ActiveMq Broker, it is failing to start due to following error
Class: org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfigurationMethod: org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStartFile: ActiveMQServiceFactory.scala:452
Thread: pool-15-thread-1
Bundle Name: org.jboss.amq.mq-fabric Bundle ID: 135 Bundle Version: 6.1.0.redhat-379
Message:

1
Exception on start: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.tibco.tibjms.TibjmsQueueConnectionFactory] for bean with name 'tibco' defined in file [/path/to/jboss-a-mq-6.1.0.redhat-379/etc/activemq.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/tibco/tibjms/TibjmsQueueConnectionFactory : Unsupported major.minor version 52.0
Stack Trace:
•   org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.tibco.tibjms.TibjmsQueueConnectionFactory] for bean with name 'tibco' defined in file [/path/to/jboss-a-mq-6.1.0.redhat-379/etc/activemq.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/tibco/tibjms/TibjmsQueueConnectionFactory : Unsupported major.minor version 52.0
•   at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1284)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1350)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:916)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.8.RELEASE_1]
•   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.8.RELEASE_1]
•     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:64)[120:org.apache.xbean.spring:3.15.0][org.apache.xbean:xbean-spring:3.15]
•     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:52)[120:org.apache.xbean.spring:3.15.0][org.apache.xbean:xbean-spring:3.15]
•     at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anon$1.(ActiveMQServiceFactory.scala:104)[135:org.jboss.amq.mq-fabric:6.1.0.redhat-379][org.jboss.amq:mq-fabric:6.1.0.redhat-379]
•   at org.fusesource.mq.fabric.ActiveMQServiceFactory$.createBroker(ActiveMQServiceFactory.scala:104)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
•   at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:407)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
•   at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:368)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
•   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_75]
•   at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_75]
•   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_75]
•   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_75]
•   at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
•   Caused by: java.lang.UnsupportedClassVersionError: com/tibco/tibjms/TibjmsQueueConnectionFactory : Unsupported major.minor version 52.0
•     at java.lang.ClassLoader.defineClass1(Native Method)[:1.7.0_75]
•   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)[:1.7.0_75]
•     at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275)
•     at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
•     at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
•     at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
•   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_75]
•     at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1374)
•     at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
•     at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
•     at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
•     at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
•   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_75]
•   at org.apache.xbean.classloader.MultiParentClassLoader.doLoadClass(MultiParentClassLoader.java:206)[org.apache.xbean:xbean-classloader:3.15]
•   at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:172)[org.apache.xbean:xbean-classloader:3.15]
•   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_75]
•   at org.springframework.util.ClassUtils.forName(ClassUtils.java:255)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-core:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1302)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
•   at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1273)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]

Environment

  • Red Hat AMQ
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In