Ok ... here is some more findings...
It works only the firsttime if I have more than 1 message queues! If I have only 1 message queue ... it works, the way it used to, with that error message!
DirectConsumer:Caught Exception delivering messagecom.sun.messaging.jmq.io.Packet cannot be cast to com.sun.messaging.jms.ra.DirectPacket
Mail was sent successfully.
DirectConsumer:Caught Exception delivering messagecom.sun.messaging.jmq.io.Packet cannot be cast to com.sun.messaging.jms.ra.DirectPacket
Mail was sent successfully.
PS: In this scenario, I am sending out an email ... as you can see even though i get that exception, the email goes out.
So, how do I get past this issue now, where I do want to have multiple message queues? I am on an enterprise grade project with specs calling for several message queues, each associted with a specific MDB. Any help apprecited.
Thanks
[Message sent by forum member 'rambomogambo' (rambomogambo)]
http://forums.java.net/jive/thread.jspa?messageID=278703