[jboss-jira] [JBoss JIRA] Created: (JBAS-3750) log of JMS LinkedException when handling provider failure

Luc Texier (JIRA) jira-events at jboss.com
Fri Oct 6 10:10:41 EDT 2006


log of JMS LinkedException when handling provider failure
---------------------------------------------------------

                 Key: JBAS-3750
                 URL: http://jira.jboss.com/jira/browse/JBAS-3750
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Luc Texier
         Assigned To: Luc Texier
            Priority: Minor
             Fix For: JBossAS-4.0.5.GA


 
the JMSException's linked exception data is quite useful to log when debugging issues related to integration with forein jms provider.

here a possible version of the required change in org.jboss.ejb.plugins.jms.JMSContainerInvoker:handleFailure()


public void handleFailure(Throwable t)
{
log.warn("JMS provider failure detected: ", t);
failure = t;


// Helpful to debug issues when WSMQ is the jms provider
if(t instanceof JMSException) {

Exception le = ((JMSException)t).getLinkedException();
if (le != null) {
log.trace("Linked exception: "+le);
log.trace("Linked exception: cause: "+le.getCause() );
}
} 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list