GitHub user micedre opened a pull request:
https://github.com/apache/tomcat/pull/11
Prevent Removal of Realm when directory is not available at startup
When using JNDIRealm, if the ldap is not available at startup, the Realm is
removed from configuration, which can lead to cryptic errors if there was only
one realm configured. This can happen if tomcat is started before the ldap when
it is patch day.
The idea here is to just log an error (maybe a warning would be better),
and let the realm retry at a latter time.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/micedre/tomcat trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tomcat/pull/11.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11
----
commit 475ba64682170cd203ce09fe00341a4c808b2b6f
Author: Cédric Couralet <[email protected]>
Date: 2014-07-15T13:08:20Z
Prevent the removal of the realm when the directory is not available at
startup.
It could be available later
commit a4a8eb8a56951c22b570a274e7e2b18ff7399d54
Author: Cédric Couralet <[email protected]>
Date: 2014-07-15T13:43:27Z
formatting
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]