0 Replies Latest reply on Oct 18, 2014 6:08 AM by Thomas Doubting

    How to get activemq working with JBoss EAP 6.1?

    Thomas Doubting Newbie

      Hi,

       

      We are in the process of attempting to port an application that uses activemq from Tomcat to JBoss EAP 6.1. Not being overly proficient in JBoss we are struggling with getting JBoss to use the activemq libraries.I have found instructions in regards to adding activemq as a module and the adding information pertinent to activemq (such as the queue, username and login) into standalone.xml. However we dont want to add this information into the standalone.xml since it is something we want to enter into the web application when it is running. Furthermore when we either add the activemq.jar as a module and restart the server we get the following message

       

           Failed instantiate InitialContextFactory org.apache.activemq.jndi.ActiveMQInitialContextFactory from classloader ModuleClassLoader.

       

      We get the same if we incorporate the activemq.jar file into the war file being deployed under activemq. On the otherhand if we just drop the activemq into the war file under tomcat it works. So I guess the question is twofold:

       

      How do I get JBoss EAP 6.1 to use the activemq libraries?

      Can I enter in configuration information that will be used by the activemq libraries and not have to statically place this information in the standalone.xml file?

       

      Thanks.

       

      Tom.