tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Tomcat 5.0.16 Server Can't Find Keystore
Date Sun, 04 Jan 2004 07:43:31 GMT
Because the VM is being started from C:\WINDOWS\System32 since it is 
running as a service.  If it were started from catalina.bat, then the VM 
would have been started from CATALINA_HOME/bin, so it would have looked 
there for the config directory.  Why it doesn't look from in the location 
of CATALNIA_HOME rather than wherever the VM was started for the keystore 
stuff is beyond me.  I'm not really sure about the keystore stuff since I 
haven't configured SSL for Tomcat as of yet.


At 09:40 AM 1/3/2004 -0600, you wrote:
>Yesterday, in response to a post asking how to run Tomcat as a server, 
>someone pointed out that the *.exe binary, which includes the installer, 
>is now available.  (Hooray!)  So, I downloaded it, and it installed 
>flawlessly.  I had renamed my previous Tomcat 5.0.16 installation so the 
>server version could be installed in parallel.
>I am using HTTPS, and I have enabled the proper connectors in server.xml 
>as I had done before. However, with the Tomcat service started, when I 
>start the application, it fails with the following entry in the stdout.log 
>C:\WINDOWS\system32\config\systemprofile\.keystore (The system cannot find 
>the file specified)
>The error message is valid in that my .keystore is under C:\Document 
>Settings.  That keystore had been generated by the Java keytool utility 
>using the instructions in Tomcat for establishing an SSL connector..  I 
>tried generating another key, thinking maybe this version looked in a 
>different place.  However, the keytool failed claiming that the alias 
>"Tomcat" already existed, implying it was looking C:\Document Settings.
>I have check server.xml and web.xml, but I can't find anything to specify 
>where Tomcat is to look for the .keystore file.
>Anyone have any suggestions as to how to make Tomcat look in C:\Document 
>Settings or how to make keytool generate a .keystore file in 
>C:\WINDOWS\System32\config\systemprofile where it's looking?
>Merrill Cornish
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message