Peter,

I have just fixed this bug in the HEAD branch.  Every connection now has a 
thread that pings the server every 1 min.  So, if the server goes down, 
failure should be detected within that amount of time.

This should even apply to the RMI IL (the ExceptionListener handeling was 
really screwed for RMI since RMI is stateless).

Regards,
Hiram

>From: Peter Antman <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [JBoss-dev] JMS ExceptionListener not working any more?!
>Date: Tue, 25 Sep 2001 15:13:43 +0200 (CEST)
>
>Hi,
>we have had complaint in the messaging forum that the
>setExceptionListener (ExceptionListener.onException()). Does not work
>(any more).
>
>Up to and including 2.2.1 we have the following behaviour for the
>exception handling:
>
>If a client was connected and has received at least on message, the
>exception listener would get called if the server went down.
>
>If the client had not received a message, it would hang forever if the
>server went down.
>
>This was not a perfect behaviour (if server for example was restarted
>several time before any messages was sent, the client would be lost) but
>it worked resonable ok. And it was much better that having no support
>for the exception listener at all.
>
>Why is this not working any longer? Was it a strategic decision to
>remove the support for it, or some hierto undiscovered side-effect of
>some other changes?
>
>Any chance we could ge that support back into JBossMQ (and preferably
>also some cind of support for lost connection without any messages
>having to be received first)?
>
>//Peter
>--
>Jobba hos oss: http://www.tim.se/weblab
>------------------------------------------------------------
>Peter Antman            Technology in Media, Box 34105 100 26 Stockholm
>Systems Architect       WWW: http://www.tim.se
>Email: [EMAIL PROTECTED]       WWW: http://www.backsource.org
>Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942
>------------------------------------------------------------
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to