Hi, What's your goal? Tomee doesnt need AMQ to do websockets (you can use tomcat built in support) Le 2 mars 2013 15:19, "Bharath" <[email protected]> a écrit :
> Hi, > > I am a JavaEE webdeveloper coming from the JBoss side of the world. Wanted > to use a lightweight container for a websocket application and I thought I > could use TomEE with ActiveMQ with its built-in support for websockets for > both STOMP and AMQP. This is what I did - > > 1) Downloaded TomEE+ 1.5.1 > > 2) This documentation told me that I needed some more JAR's and config to > get ActiveMQ completely running - > http://tomee.apache.org/jms-resources-and-mdb-container.html > <http://tomee.apache.org/jms-resources-and-mdb-container.html> - so I > downloaded those JARs and put them in tomee.home/lib > > 3) When I started tomcat after this I got a ClassNotFoundException for > org.apache.activemq.hooks.SpringContextHook. So I downloaded ActiveMQ 5.7.0 > and put the activemq-spring-5.7.0.jar from it to tomee.home/lib - the > exception went away in the next restart > > 4) The activemq.xml configuration file I am using is attached - > activemq.xml > <http://openejb.979440.n4.nabble.com/file/n4661143/activemq.xml> > > 5) Am a newbie to ActiveMQ - I dont know why/how it uses Jetty - so you can > see that I removed the reference to jetty.xml from the default ActiveMQ > config and also put the transportConnector for websocket > > 6) After all this I get "Transport Connector could not be registered in > JMX" > for both "amqp" and "ws". I have tried to search on internet but have not > found any clue on what to do next. > > Requesting someone who has got ActiveMQ working on TomEE to kindly help. > > I really think Tomcat7 with ActiveMQ will the right solution for my > websocket application only if I can make it work!! And if I can get TomEE > to > work as well then I can write EJB's as well which will really be a plus. > > Thanks > Bharath > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/ActiveMQ-in-TomEE-tp4661143.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
