Here's part of the stack trace: "at
de.adesso.tma.test.ejb.TestMessageBean.onMessage(TestMessageBean.java:212)"

Can you tell us what is at line 212 and the types of any objects referenced
in it (including packages)?

I'd also try to figure out what version of
org.apache.activemq.ra.ManagedConnectionProxy you're using and which JAR
it's coming from.  I'd probably attach a debugger and step into the
classloader when it's loading that class, but you might be able to figure
it out using jar tvf or another method I haven't thought of.

Tim
.. some more thoughts:

The MDB is in fact not compiled or linked against any concrete ActiveMQ
classes. The MDB uses only the standard interfaces defined in the package
javax.jms. I need the ActiveMQ client library in my developement project
only to run a JUnit test, which sends and receives messages. So there is no
need to include the ActiveMQ client library in the EAR, which contains the
MDB.

So, if there are conflicting classes, they must be provided by WildFly.

Thomas



--
View this message in context:
http://activemq.2283324.n4.nabble.com/Exception-in-createSesson-inside-an-EJB-user-transaction-tp4709452p4709665.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to