Why active MQ client JARs are not available in EAP classpath ?
Issue
- We added AMQ client JARs as a module in JBOSS and also tried using project libs. Getting below error when i run application:
ERROR [aaa.bbb.PublishMessage] (EJB default - 6) Exception occured - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [META-INF/applicationContext.xml]: Cannot create inner bean 'org.apache.activemq.ActiveMQConnectionFactory#603aa61a' of type [org.apache.activemq.ActiveMQConnectionFactory] while setting bean property 'targetConnectionFactory'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.activemq.ActiveMQConnectionFactory] for bean with name 'org.apache.activemq.ActiveMQConnectionFactory#603aa61a' defined in class path resource [META-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.activemq.ActiveMQConnectionFactory from [Module "deployment.TestApp.jar:main" from Service Module Loader]
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.