Circumstances under which a DirectoryContext connection is closed
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Bentley
Posted On:   Wednesday, April 18, 2001 05:30 AM

We are using JNDI 1.2 with the Java 1.3.0 JDK and Sun's LDAP service provider to access Netscape Directory Server 4.13. We are having problems with the connection from a DirContext to the server. The connection seems to be being closed under circumstances which are not clear; this sometimes happens after a period of inactivity, sometimes immediately. The result is that further calls to the context result in a "javax.naming.CommunicationException: Descriptor not a socket" Can anyone shed light on: a) under what circumstances the connection is being closed and what is closing it? (I'm assuming the service provider ...) b) elegant work-arounds (other than catching this specif   More>>

We are using JNDI 1.2 with the Java 1.3.0 JDK and Sun's LDAP service provider to access Netscape Directory Server 4.13.


We are having problems with the connection from a DirContext to the server. The connection seems to be being closed under circumstances which are not clear; this sometimes happens after a period of inactivity, sometimes immediately. The result is that further calls to the context result in a "javax.naming.CommunicationException: Descriptor not a socket"


Can anyone shed light on:


a) under what circumstances the connection is being closed and what is closing it? (I'm assuming the service provider ...)


b) elegant work-arounds (other than catching this specific exception at all points we access the context and re-establishing the connection).


Thanks in advance,


Richard

   <<Less
About | Sitemap | Contact