tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21956] New: - org.apache.coyote.tomcat4.CoyoteConnector cannot recognise keystoreType for Solaris only
Date Tue, 29 Jul 2003 08:58:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21956>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21956

org.apache.coyote.tomcat4.CoyoteConnector cannot recognise keystoreType for Solaris only

           Summary: org.apache.coyote.tomcat4.CoyoteConnector cannot
                    recognise keystoreType for Solaris only
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: lowwk@sg.fujitsu.com


I'm running tomcat 4.1.24 on Solaris 8

org.apache.coyote.tomcat4.CoyoteServerSocketFactory seems to be ignoring the 
keystoreType attribute.  I've generate a .keystore file in $CATALINA_HOME.

I'm using the following in my server.xml.

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true"
	       acceptCount="100" debug="0" scheme="https" secure="true"
               useURIValidationHack="false" disableUploadTimeout="true">
 <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
          clientAuth="false" 
          protocol="TLS" 
          keystoreFile="/usr/local/jakarta-tomcat-4.1.24/.keystore"
          keystorePass="tomcat"/>
    </Connector>

And I receive the following error in catalina.out.

INFO: Creating new Registry instance
Jul 25, 2003 4:20:56 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jul 25, 2003 4:21:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jul 25, 2003 4:21:11 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.io.IOException
	at org.apache.tomcat.util.net.jsse.JSSESocketFactory.initProxy
(JSSESocketFactory.java:231)
	at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket
(JSSESocketFactory.java:138)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint
(PoolTcpEndpoint.java:277)
	at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
	at org.apache.coyote.tomcat4.CoyoteConnector.initialize
(CoyoteConnector.java:1117)
	at org.apache.catalina.core.StandardService.initialize
(StandardService.java:579)
	at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:2246)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: LifecycleException:  Protocol handler initialization failed: 
java.io.IOException
LifecycleException:  Protocol handler initialization failed: java.io.IOException
	at org.apache.coyote.tomcat4.CoyoteConnector.initialize
(CoyoteConnector.java:1119)
	at org.apache.catalina.core.StandardService.initialize
(StandardService.java:579)
	at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:2246)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.stop: LifecycleException:  This server has not yet been started
LifecycleException:  This server has not yet been started
	at org.apache.catalina.core.StandardServer.stop
(StandardServer.java:2213)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


If I use default keystoreType = "JKS", it works fine.  If using "JCEKS" on 
Win2k, it works fine.  This seems to occur only on Solaris.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message