[jboss-user] [Messaging, JMS & JBossMQ] - Re: No pong received warning

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 8 11:43:19 EST 2008


"dgusoft" wrote : 
  | The FAQ only says :
  | 

It says more than that. It doesn't log the shown warning for MDBs or 
the jms resource adapter, you get a different warning from their installed
exception listeners.

If it says there is no ExceptionListener installed then that is the case.

There is no WARNing if there is an exception listener installed (unless
the exception listener is recursing).


  |       synchronized (elLock)
  |       {
  |          ExceptionListener el = exceptionListener;
  |          if (el != null && elThread == null)
  |          {
  |             try
  |             {
  |                Runnable run = new ExceptionListenerRunnable(el, excep);
  |                elThread = new Thread(getThreadGroup(), run, "ExceptionListener " + this);
  |                elThread.setDaemon(false);
  |                elThread.start();
  |             }
  |             catch (Throwable t1)
  |             {
  |                log.warn("Connection failure: ", excep);
  |                log.warn("Unable to start exception listener thread: ", t1);
  |             }
  |          }
  |          else if (elThread != null)
  |             log.warn("Connection failure, already in the exception listener", excep);
  |          else
  |             log.warn("Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect", excep);
  |       }
  | 

anonymous wrote : 
  | Any hints?
  | 
  | Thanks in advance

Read the bottom of of the FAQ on how to locate where the broken connection
is opened.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127893#4127893

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127893



More information about the jboss-user mailing list