Help! -why can't start Tomcat in command prompt
807597May 4 2005 — edited May 4 2005Hi guys,
I installed Tomcat 5 and JDK 5; according to the Tomcat "help" (http://java.sun.com/developer/onlineTraining/JSPIntro/exercises/SetupTomcat/help.html):
Set the environment variable JAVA_HOME, I did this in the command line:
Set JAVA_HOME=C:\program files\java\jdk 1.5.0_03
and I remember during the Tomcat.exe installation, the JVM was already correctly set to C:\Program Files\Java\jre1.5.0_03
Then, according to the "help": Change to the bin directory and start Tomcat using the command-line command startup.
so I entered
...tomcat\bin>startup
I got another command window open and got a lot of info and it seemed to be running well; but afterall, I don't see my Tomcat got started! Even though it did not seem to give me any error messages.
But I can start Tomcat through Start>Programs>Apache Tomcat> Monitor, then start service from the system tray.
After the first time I started Tomcat through that way, when I try "startup" in the command line again, it gives me errors:
"Cann't find the file '-Djava.endorsed.dirs=' (or one of its components). Make sure the path and filename are correct and that all required libraries are available."
But I can still Start Tomcat service through the system tray.
Can anyone tell me what could be wrong?
Thanks in advance !!