Just built 4.0 from CVS. Yesterday I did the same, and it worked fine.
Today, running startup.sh gives:

[jeff@kermit bin]$ pwd
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin
[jeff@kermit bin]$ ./startup.sh 
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:     ./../bin/bootstrap.jar:/usr/local/jdk/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME:     /usr/local/jdk
[jeff@kermit bin]$ 
==> ../logs/catalina.out <==
Stopping service Tomcat-Apache

==> ../logs/localhost_log.2001-09-14.txt <==
2001-09-14 11:40:19 StandardHost[localhost]: Removing web application at context path 

==> ../logs/catalina.out <==
java.io.FileNotFoundException: 
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/conf/server.xml (No such file or 
directory)
..
Catalina.start: java.lang.Exception: Can't open config file: 
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/./../conf/server.xml due to: 
java.io.FileNotFoundException: 
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/conf/server.xml (No such file or 
directory)
java.lang.Exception: Can't open config file: 
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/./../conf/server.xml due to: 
java.io.FileNotFoundException: 
/home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/conf/server.xml (No such file or 
directory)


I don't have my CATALINA_HOME or CATALINA_BASE variables set.
If I set CATALINA_HOME to "..", it works.
If I set it to "./.." it fails.

Odd. If someone can confirm this, I'll report it as a (rather critical) bug.

--Jeff

Reply via email to