Tomcat 5.0.28 on Solaris 9 has been correctly serving Web apps using both http and https. Then, after the Sun computer was shut down and restarted, Tomcat failed to serve https requests. It appears it could not initialize the https connector. It continues to serve http requests normally.
Before the hardware shutdown, I had shut down and restarted Tomcat and it continued to work normally. Breaking after a hardware restart suggests that the problem is in the environment outside Tomcat. Tomcat reports JAVA_HOME, CATALINA_HOME, and CATALINA_BASE correctly. JSSE_HOME should not apply since I have jre 1.4.1. What else influences https/TLS initialization? The docs suggest some common failures, but I haven't found a cause for this failure. I would appreciate pointers to what I need to learn about this. The symptoms: With an http address, Tomcat serves pages normally. For an https address, Netscape 7.0 on Solaris 9 produces the alert The connection was refused when attempting to contact <server> while IE 6.0 on Windows Server 2003 produces the error page This page cannot be displayed Cannot find server or DNS error Diff shows that server.xml has not changed since a time when Tomcat was serving https correctly. The https connector in server.xml: <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" keystorefile="conf/.keystore" keystorePass=<password> port="443" scheme="https" secure="true" sslProtocol="TLS" clientauth="false" keypass=<password> keystore="conf/.keystore" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" protocol="TLS" maxPostSize="0"> </Connector> I suspect some of this is unneccessary, but I think that's a different issue. There's also an http connector, but it's working. In catalina.out: <date> org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HPPT/1.1 on http-8080 <date> org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler instantiation failed: java.lang.NullPointerException at: org.apache.coyote.comcat5.CoyoteConnector.initialize(CoyoteConnector.java:368) at: <the rest of the call stack dump> <date> org.apache.catalina.startup.Catalina load INFO: Initialization processed in 9517 ms <lots of ordinary successful INFO messages> <date> org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HPPT/1.1 on http-8080 <date> org.apache.commons.modeler.Registry registerComponent SEVERE: NULL component Catalina:type=protocolHandler,className=null <date> org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: Protocol handler start failed: java.lang.NullPointerException at: org.apache.coyote.comcat5.CoyoteConnector.start(CoyoteConnector.java:1529) at: <the rest of the call stack dump> <date> org.apache.catalina.startup.Catalina start INFO: Server startup in 16753 ms. The code tells me CoyoteConnector failed to instantiate a protocol class. I haven't convinced myself which class it's trying to use there. Something on the system is occasionally writing backups of server.xml. When that happens, the connector in server.xml has gained a second copy of the attribute "secure". Then I have to edit server.xml so Tomcat will parse the connector. Neither the system administrator nor I have been able to discover what is doing that. I don't know if that affects the main problem. Thanks for insights. -- Glenn Holliday Computer Sciences Corporation [EMAIL PROTECTED] 540-644-6636 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]