Environment
Novell Tomcat on NetWare 4.0
Novell NetWare 6.5
Novell NetWare 6.5
Situation
Tomcat and the Tomcat admin interface are not loading during the
boot process. The logger screen shows the following error:
LDAP connectivity not found on
ldap://localhost:636
Please load NLDAP and then manually
execute command: sys:/tomcat/4/bin/startup
If your server host certificates
have change recently, executing sys:/system/tckeygen.ncf
may be needed to restore secure LDAP
connectivity
java: Class
com.novell.application.tomcat.util.tccheck.LDAPVerifier exited
successfully
LDAP connectivity not found on
ldap://localhost:636
Please load NLDAP and then manually
execute command: sys:/tomcat/4/bin/startup
-config
sys:/adminsrv/conf/admin_tomcat.xml If your server host certificates
have change recently, executing sys:/system/tckeygen.ncf may be
needed to restore secure LDAP
connectivity
java: Class
com.novell.application.tomcat.util.tccheck.LDAPVerifier exited
successfully
After the server is up completely, manually starting Tomcat at the
server console is successful.Resolution
Edit the autoexec.ncf by typing "ea" at the server console. Ensure
that nldap.nlm is being loaded before Tomcat. If it is, the problem
is that there is not enough time for LDAP to load before Tomcat
attempts to connect to it. This is indicated by the ability to
manually start Tomcat after the server reboot without errors.
In order to allow LDAP to load with sufficient time before Tomcat loads, add delays to the autoexec.ncf file after
and before the lines
# tc4admin begin
For example, adding the delays directly above Tomcat would result in:
Insert as many delays as needed for LDAP to load completely before Tomcat attempts to load. Save the autoexec.ncf file and reboot the server to test the effect of the delays.
In order to allow LDAP to load with sufficient time before Tomcat loads, add delays to the autoexec.ncf file after
LOAD NLDAP.NLM
and before the lines
# tc4admin begin
SEARCH ADD SYS:/tomcat/4/bin
tcadmup.ncf"
For example, adding the delays directly above Tomcat would result in:
?Y #PAUSE FOR 10 SECONDS
?Y #PAUSE FOR 10 SECONDS
# tc4admin begin
SEARCH ADD SYS:/tomcat/4/bin
tcadmup.ncf
Insert as many delays as needed for LDAP to load completely before Tomcat attempts to load. Save the autoexec.ncf file and reboot the server to test the effect of the delays.