File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem running Tomcat

 
Rob Petterson
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would certainly make the ../bin directory the current directory before giving the startup command.
Bill
 
Rob Petterson
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 285
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 285
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob
I meant type in: c:\jakarta-tomcat-4.1.12-src\bin\startup.bat
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic