Yes I meant to write startup.bat. Sorry for the typo. How do I force to invoke CATALINA_HOME and JAVA_HOME in startup.bat? Why does the Tomcat window open and then suddenly disappear?
Indar ----- Original Message ----- From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, October 16, 2002 8:30 AM Subject: RE: Installation cook-book or HOW-TO > > Just to be sure, you said you ran startup.sh, but you are using Windows. > You should be running startup.bat. > > In any case, CLASSPATH is irrelevant...Tomcat ignores CLASSPATH and > assembles its own when you run startup.sh/bat. Judging from the error > message, it looks like a path/environment issue, but your CATALINA_HOME and > JAVA_HOME look fine. I would try forcing CATALINA_HOME and JAVA_HOME in > startup.bat, and see if that makes a difference. It's possible the startup > script isn't getting your environment for some reason. > > I also might add that you probably want JAVA_HOME and CATALINA_HOME set at > the system level, not user level, as far as I know. > > John > > > -----Original Message----- > > From: Indar Bhatia [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 15, 2002 10:00 PM > > To: Tomcat Users List > > Subject: Re: Installation cook-book or HOW-TO > > > > > > Micael and John, > > > > Thank you both for your input. I tried to reinstall JDK > > 1.4.0_02 and Tomcat > > 1.4.12. I have attached the current environment variable file > > as a .Txt file > > so that you can see and suggest some changes. I tested JDK by > > compiling a > > .java file successfully before installing Tomcat. After > > installing Tomcat, I > > $CATALINA_HOME/bin/startup.sh. It ran fine. Then I tried > > compiling a simple > > java servlet file as shown below: > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>