Hello, I am running Tomcat 5.0 from a CDROM. In order for this to work on different platforms I've tweaked the configurations and create a small (100 KB) temp space on the user's hard drive for logs, work, java.io, and tomcat-users.xml. I've precompiled the JSPs and configured Tomcat to run with a JRE (classpath includes bootstrap.jar only).
Whenever I set CATALINA_HOME and CATALINA_BASE to different values, Tomcat 5.0 will not start. As long as they are exactly the same, all works well. I presume I am doing something incorrect. None the less, I have gotten around this by creating several CATALINA_HOME's which differ only in "conf/". In each server.xml I hard code the paths to workDir, logs, etc. My start script locates an acceptable temp location and starts the appropriate CATALINE_HOME. For example if I can write to C:\Temp\mytemp, I set CATALINA_HOME to servers/win_nt_c which contains a conf/server.xml pointing to C:\Temp. On the other hand, if I can write to /tmp/mytemp, I set CATALINA_HOME to servers/unix which contains a conf/server.xml pointing to /tmp/mytemp. I also have another called servers/relative which uses relative paths. This hack actually works quite well, albeit resource wasteful: http://sf.net/projects/vicaya But this seems completely backward. Can anyone offer a better suggestion? Also, I have been using Tomcat 5.0 because I am most familiar with it. Does Tomcat 5.5 support Java 1.4.2 well? Some notes seem to imply that Tomcat 5.5 has been designed for Java 5. Might Tomcat 5.5 offer a better solution? Thanks, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]