users@glassfish.java.net

Re: JMS MessageProducer.send() fails with no information

From: <forums_at_java.net>
Date: Wed, 26 Oct 2011 05:07:34 -0500 (CDT)

Hmm.  MessageProducer.send()  wil throw a JMSException to your
application,  whch should be able to catch it and dump its contents
(especially its initCause which will contain the underlying
JMSServiceException). If your application doesm't catch it, and you've got
reflection in the call stack, then the JVM will wrap it in a
InvocationTargetException.

Looking at the code, the underlying error is logged as an ERROR to the
broker log. Have you looked at the broker log? (not the GlassFish erver log)

Nigel

 


--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/857036