wood burning stoves 2.0*
The moose likes JSP and the fly likes problem running Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem running Tomcat" Watch "problem running Tomcat" New topic
Author

problem running Tomcat

Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
Hi there,
I think i've managed to get right download of Tomcat(hopefully).
I saved the file and unzipped it into C:\
jakarta-tomcat-4-1-12-src
Also, my SDK is in c:\ as well
j2sdk1.4.0_02
When I go into dos to run Tomcat, I type in:
c:\jakarta-tomcat-4.1.12\bin\startup.bat
I get 'The system cannot find the path specified'.
I've cofigured my enviroment as follows:
PATH is set to:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j2sdk1.4.0_02\BIN;C:\j2re1.4.0_02\jre\bin
JAVA_HOME is set to:
c:\j2sdk1.4.0_02
CATALINA_HOME is set to:
c:\jakarta-tomcat-4.1.12-src
CLASSPATH is set to:
c:\jakarta-tomcat-4.1.12-src
Where am I going wrong?


Rob Petterson
SCJP
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I would certainly make the ../bin directory the current directory before giving the startup command.
Bill
Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
Sorry Bill, you've lost me there...
in dos I typed: cd c:\
which gave me C:\>
Am I spose to change the dir to something else before trying to run Tomcat?
Mark Howard
Ranch Hand

Joined: Feb 14, 2001
Posts: 285
It doesn't have anything to do with the pathname you've typed in for your startup.bat command?
You typed c:\jakarta-tomcat-4.1.12\bin\startup.bat, but your Tomcat files are stored at c:\jakarta-tomcat-4.1.12-src.
Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
Mark,
i typed inthe following on the C:\>
jakarta-tomcat-4.1.12-src.
and get:
'jakarta-tomcat-4.1.12-src' is not regognized as an internal or external command.
Mark Howard
Ranch Hand

Joined: Feb 14, 2001
Posts: 285
Rob
I meant type in: c:\jakarta-tomcat-4.1.12-src\bin\startup.bat
 
Consider Paul's rocket mass heater.
 
subject: problem running Tomcat