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)
Are there any idle timeouts to be taken into account or
Any hints would be appreciated.
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 ?