Hi Charles,

Thank you for responding... I think I may have cut from the wrong part of the 
log file. I checked my server.xml file and I restarted Apache.  This is the 
result:

Aug 18, 2011 4:26:02 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start 
failed: java.io.FileNotFoundException: C:\Program Files\Apache Software 
Foundation\Tomcat 6.0\cert\keystore.jks (The system cannot find the path 
specified)
 at org.apache.catalina.connector.Connector.start(Connector.java:1094)
 at org.apache.catalina.core.StandardService.start(StandardService.java:534)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Aug 18, 2011 4:26:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1167 ms


And this is the connector definition in the server.xml:

    <Connector port="80" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="443" />

    <!-- SSL Connector on Port 443 -->

    <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               keystoreFile="/cert/keystore.jks" keystorePass="changeit"
               clientAuth="false" sslProtocol="TLS" />

Sure it enough, what the log is reading is exactly where the keystore is.

Its almost as if it can't read it?  Or doesn't know how to read it?  I thought 
that .jks was a supported format?



"One City Summer Fun ... Something for Everyone"
Mayor Gray's comprehensive summer program with fun activities, events and 
services for residents of all ages
For more information visit www.onecitysummer.dc.gov  or call 311
________________________________________
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Sent: Thursday, August 18, 2011 3:00 PM
To: Tomcat Users List
Subject: RE: Tomcat 6 getting error when trying to specify keystore

> From: Diep, David (OCTO-Contractor) [mailto:david.d...@dc.gov]
> Subject: RE: Tomcat 6 getting error when trying to specify keystore

> I get the following in my logs during startup:

> java.io.FileNotFoundException:
> C:\Program Files\Apache Software Foundation\Tomcat 6.0\cert\keystore.jks
> (The system cannot find the path specified)

> This is my server.xml...
> <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
>   maxThreads="150" scheme="https" secure="true"
>   keystoreFile="/cert/keystore.jks" keystorePass="xxxxx"
>   clientAuth="false" sslProtocol="TLS" />

There's an inconsistency here: your server.xml snippet shows an absolute path, 
but the error message indicates one without a leading slash was specified in 
the <Connector>.

1) Where is your keystore file actually located?

2) Are you sure the server.xml that you're modifying is the one Tomcat is 
using?  (If you're running Tomcat under an IDE, the IDE may well be ignoring 
your configuration and using one of its own.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to