On Thu, Sep 13, 2001 at 06:04:51PM -0700, Craig R. McClanahan wrote:
> Hmm, works for me under all of these scenarios:
>
> * CATALINA_HOME is set, run "$CATALINA_HOME/bin/startup.sh" and
> "$CATALINA_HOME/bin/shutdown.sh" from anywhere.
>
> * CATALINA_HOME is not set, run "./startup.sh" and "./shutdown.sh" from
> inside the "bin" directory. CATALINA_HOME is reported as "./..".
>
> * CATALINA_HOME is not set, run "./bin/startup.sh" and "./bin/shutdown.sh"
> from the top-level Tomcat 4 directory. CATALINA_HOMe is reported as
> "./bin/..".
>
> The only thing I can think of is you might tried to run the shutdown when
> you're not in the "bin" directory (or its parent).
> > [jeff@kermit bin]$ ./startup.sh
Hmm.. I've no idea. I'll put in the "weird, unexplainable" basket and
hope it goes away:) Thanks for checking.
--Jeff
> Craig
>
>
>
> On Fri, 14 Sep 2001, Jeff Turner wrote:
>
> > Date: Fri, 14 Sep 2001 10:44:33 +1000
> > From: Jeff Turner <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Odd.. 4.0 not starting
> >
> > 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
> >
> >