A discussion of a JBoss Messaging issue related to EJB3 MDBs (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80525) resulted in a proposed patch to DLQHandler.createSevice to log the exception that is thrown because even though it is linked to a JMSException, it never shows up anywhere in the log files. If this is agreeable, let me know and I will open a JIRA issue and submit the patch.
Proposed patch, new line in red:
protected void createService() throws Exception
{
...
try
{
...
}
catch (Exception e)
{
if (e instanceof JMSException)
throw e;
else
{
log.error("Error creating the dlq connection", e);
JMSException x = new JMSException("Error creating the dlq connection: " + e.getMessage());
x.setLinkedException(e);
throw x;
}
}
...
}As of EJB3 RC9, this code is no longer handled in the EJB3 implementation but in the JMS/JCA adapter. So, I am not sure how much traction you are going to get on backporting this to previous release candidates.