-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
None
-
beta2
-
sparc
-
solaris_2.6
While waiting for an event notification, if the connection is closed by the
server (or the client), the listener is notified via its namingExceptionThrown()
method. However, this doesn't happen for UnsolicitedNotificationListeners.
If this were to happen for unsol listeners, then clients can use
this as a general way to monitor the connection for liveness.
Here is the customer's email.
From: Steve Taylor <###@###.###>
To: Rosanna Lee <###@###.###>
Cc: Chris Reed <###@###.###>
Subject: RE: Event Notification Question
Date: Wed, 18 Apr 2001 12:50:06 +0100
Rosanna, you might like to know that this doesn't happen for
UnsolicitedNotificationListeners, only regular
Object/NamespaceChangeListeners.
Steve Taylor ###@###.###
SCO, Vision Park, Cambridge, UK
> -----Original Message-----
> From: A mailing list for discussing Java Naming and Directory Interface
> (JNDI) [mailto:###@###.###On Behalf Of Rosanna Lee
> Sent: 26 March 2001 20:42
> To: ###@###.###
> Subject: Re: Event Notification Question
>
>
> > Date: Mon, 26 Mar 2001 14:21:48 -0500
> > From: Ron Aubin <###@###.###>
> > Subject: Event Notification Question
> > To: ###@###.###
> >
> > While waiting for an event notification, is there some way the
> listener can
> > determine if the directory service, that contains the event
> source context,
> > crashes or goes down?
> >
> > In other words, how does the listener know if the source
> context no longer
> > exists?
> >
>
> The listener's namingExceptionThrown method will be called.
>
> _____________________
> Rosanna Lee
> Java Software, Sun Microsystems, Inc
> ###@###.###
server (or the client), the listener is notified via its namingExceptionThrown()
method. However, this doesn't happen for UnsolicitedNotificationListeners.
If this were to happen for unsol listeners, then clients can use
this as a general way to monitor the connection for liveness.
Here is the customer's email.
From: Steve Taylor <###@###.###>
To: Rosanna Lee <###@###.###>
Cc: Chris Reed <###@###.###>
Subject: RE: Event Notification Question
Date: Wed, 18 Apr 2001 12:50:06 +0100
Rosanna, you might like to know that this doesn't happen for
UnsolicitedNotificationListeners, only regular
Object/NamespaceChangeListeners.
Steve Taylor ###@###.###
SCO, Vision Park, Cambridge, UK
> -----Original Message-----
> From: A mailing list for discussing Java Naming and Directory Interface
> (JNDI) [mailto:###@###.###On Behalf Of Rosanna Lee
> Sent: 26 March 2001 20:42
> To: ###@###.###
> Subject: Re: Event Notification Question
>
>
> > Date: Mon, 26 Mar 2001 14:21:48 -0500
> > From: Ron Aubin <###@###.###>
> > Subject: Event Notification Question
> > To: ###@###.###
> >
> > While waiting for an event notification, is there some way the
> listener can
> > determine if the directory service, that contains the event
> source context,
> > crashes or goes down?
> >
> > In other words, how does the listener know if the source
> context no longer
> > exists?
> >
>
> The listener's namingExceptionThrown method will be called.
>
> _____________________
> Rosanna Lee
> Java Software, Sun Microsystems, Inc
> ###@###.###