Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

problem running Tomcat

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rob
I meant type in: c:\jakarta-tomcat-4.1.12-src\bin\startup.bat
 
please buy my thing and then I'll have more money:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic