Now that I think about it, this is probably a classpath issue.  Nice to have 
when it works, but a royal pain the rest of the time.

From: Miller, Gerald
Sent: Tuesday, June 21, 2016 2:04 PM
To: 'users@tomcat.apache.org' <users@tomcat.apache.org>
Subject: How to force keystoreFile and truststoreFile to be absolute paths

I'm seeing errors from attempts to append uncorrected paths (e.g., C:\out\) and 
corrected ones (e.g., ~/out/) onto some arbitrary path.  Assuming a relative 
path in a case like this makes about as much sense as using relative branching 
in non-relocatable code.  I've wasted hours trying to get rid of errors in 
catalina.2016-06-21.log, and after I got fed up with the ridiculous assumption 
that the directory within Tomcat would also be accessed by the web services 
developed in an entirely separate directory hierarchy, that's when I decided to 
cut out the asinine duplication once and for all and define one central 
absolute path.  So much for that idea.  It's complaining tha 
/home/iaadmin/IA/apache-tomcat-8.0.24/~/out/servicetlsstore.jks isn't found!  
(Yes, I also have to deal with the fact that the equivalence of 
servicetlsstore.jks and ServiceTlsStore.jks in Windows is used so carelessly 
that converting to Ubuntu is a nightmare.

Reply via email to