1 Reply Latest reply on Oct 1, 2002 6:28 AM by Convers

    Loosing connection to external JNDI

    Georg Schmid Newbie


      I integrated an external LDAP server using
      the online docs from Scott. The configuration turned out
      to be easy (or it's Scotts clear writing...).

      However, if the LDAP server has not been accessed for
      about an hour, the connection to the external server
      seems to be lost and I get io exceptions when searching:

      java.io.IOException: Broken pipe
      at java.net.SocketOutputStream.socketWrite(Native Method)
      at org.jboss.naming.ExternalContext$CachedContext.invoke(ExternalContext.java:435)

      Are there any idle timeouts to be taken into account or
      configured (away)?

      Any hints would be appreciated.


        • 1. Re: Loosing connection to external JNDI
          Convers Newbie


          I'm afraid I have no solution for you but the same problem.

          1) When JBoss starting and ldap server is down my ldap-service crashes and the deployment fails

          2) When ldap is being stopped and restarting while
          Jboss is running, access to externalcontext throws an IOException

          Is there any way to tell the service to refresh the connection ?