[jboss-jira] [JBoss JIRA] Commented: (JBAS-3750) log of JMS LinkedException when handling provider failure
Weston Price (JIRA)
jira-events at jboss.com
Fri Oct 6 10:19:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3750?page=comments#action_12344775 ]
Weston Price commented on JBAS-3750:
------------------------------------
This should probably be done for most of the JMSExceptions in the ASF stuff, not just on a provider failure.
> 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