Click to See Complete Forum and Search --> : my command tomcat start does not work :( on newer version of tomcat


northfield
August 29th, 2002, 03:24 PM
I am having some problem with starting tomcat.
I have version 3.3.1 at home and this seems to work.

I need to also use tomcat at another location, where the version is 4.0.3
At home to start tomcat I use the command:
tomcat start
or
startup
and both seems to work.
But at this other location, I get the error


$ tomcat start
bash: tomcat: command not found

Here is all programs and files located when I go to the directoy of the bin folder at: /home/tomcat/jakarta-tomcat-4.0.3/bin

$ls
bootstrap.jar digest.bat jspc.sh startup.bat
catalina.bat digest.sh setclasspath.bat startup.sh
catalina.sh jasper.bat setclasspath.sh tomcat.exe
catalina.sh~ jasper.sh shutdown.bat tool-wrapper.bat
cpappend.bat jspc.bat shutdown.sh tool-wrapper.sh

Why does my commands tomcat start and startup not working???

tlindema
August 29th, 2002, 05:30 PM
try "./catalina.sh start" in bin directory and everything should work fine (In Windows).

tlindema
August 29th, 2002, 05:31 PM
Sorry I mean in Linux ... :)

northfield
September 1st, 2002, 12:11 PM
>try "./catalina.sh start" in bin directory and everything should work fine (In Windows).

Do you think I need to do this?
At home I have to do this (well tomcat start command) since I shut Tomcat down after I finished using it. But at other location isn't it more likley that the web server will always be up, so I shouldn't need to physically start it??

The reason I ask, is that I have found some manuals on tomcat written by one of SA of the place and he only mentions the requirement of "Tomcat web application context" area.

I could be wrong, but no one else is working with tomcat to help me, and also the SA who wrote the html page has left.