Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
.jar > > openejb\lib\activemq-core-5.6-SNAPSHOT.jar > > openejb\lib\activemq-protobuf-1.1.jar > > openejb\lib\activemq-ra-5.6-SNAPSHOT.jar > > openejb\lib\kahadb-5.6-SNAPSHOT.jar > > > > > > -- > > View this message in context: > http://openejb.979440.n

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Bjorn Danielsson
> > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4564896.html > Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
d you try? > > > > I pull, build and deploy activemq daily snapshot to my local repo, but: > > 5.6-SNAPSHOT > > ...will do the trick. > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
in context: http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4565102.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
leanup and close this.conJms and any queues and topics etc... } Any EJB that wants to send a message must then inject the 'SomeClass' instance: @EJB private SomeClass sc; this.sc.sendMessage("Hello Tom, Dick and Harry"); -- View this message in context: http://openejb.97

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
jb\lib\activemq-protobuf-1.1.jar > openejb\lib\activemq-ra-5.6-SNAPSHOT.jar > openejb\lib\kahadb-5.6-SNAPSHOT.jar > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4564896.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4564896.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
Hi, i think activemq-ra should be updated too. I don't know if there is API changes between both version but i guess you'll see it soon ;). - Romain 2012/4/17 Bjorn Danielsson > Update > > I can now reproduce the error in a small test program. > All I did was increase the messaging from 2 to

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Bjorn Danielsson
Update I can now reproduce the error in a small test program. All I did was increase the messaging from 2 to 4 messages and fiddle a bit with the JPA code. The fiddling required seems to be different depending on whether I use OpenJPA or EclipseLink. I am beginning to suspect that I might be bitt

Re: How do I *send* JMS messages from an MDB?

2012-04-16 Thread Bjorn Danielsson
Hi, Thanks for your reassuring reply! I have now written a simple test for this, and of course now the test works. So mea culpa, and now I only have to figure out in what way my application code differs from my 100-line test. I'll post back here again when I find the reason, in case anyone else ge

Re: How do I *send* JMS messages from an MDB?

2012-04-16 Thread Romain Manni-Bucau
Hi, It should work, can you reproduce it in a uniy test? Le 16 avr. 2012 16:48, "Bjorn Danielsson" a écrit : > I have problems sending JMS messages from my MDB. This MDB > listens on a queue and then calls an EJB that updates persistent > storage. The EJB then sends out a notification to a JMS t

How do I *send* JMS messages from an MDB?

2012-04-16 Thread Bjorn Danielsson
I have problems sending JMS messages from my MDB. This MDB listens on a queue and then calls an EJB that updates persistent storage. The EJB then sends out a notification to a JMS topic. All this used to work in GlassFish, but on TomEE-plus I always get this error that stops the notification from