  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | How does Tomcat 5.0.16 process the "keystoreFile " tag? | How does Tomcat 5.0.16 process the "keystoreFile " tag? 2004-01-09 - By Bill Barker
Back >From a quick look at the code, it seems that Tomcat looks for 'keys/.keystore' relative to the directory that Tomcat was started from.
"Richard S. Huntrods" <huntrods@(protected)> wrote in message news:3FFEEC57.4000003@(protected) > Greetings! > > I was usingthe "keystoreFile" tag successfully with Tomcat 4.1.27. > However the same tag does not work as expected with Tomcat 5.0.16. > Here's the SSL connector code from server.xml: > > <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> > <Connector port="443" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" debug="0" scheme="https" secure="true" > keystoreFile="keys/.keystore" keystorePass="password" > clientAuth="false" sslProtocol="TLS" /> > > The file ".keystore" is stored in a directory "keys" located off > $TOMCAT_ROOT$ - i.e. C:\jakarta-tomcat-5 (See http://cat-5.ora-code.com).0.16\keys\.keystore". > > For Tomcat 4.1.27 this location worked with the keystoreFile tag shown > above. Now with 5.0.16, I get the error "FileNotFoundException". > > If I remove the "keystoreFile" tag, then 5.0.16 looks for the .keystore > file in "C:\Documents and Settings\Richard\.keystore". If I put > .keystore there, 5.0.16 works perfectly. > > So my question is - How does Tomcat 5.0.16 parse the "keystoreFile" tag? > Where is Tomcat 5.0.16 expecting to find a file called "keys/.keystore"? > > Thanks in advance, > > -Richard
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |