Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

startup Tomcat from command prompt

Can anyone help please,

I'm trying to install Tomcat on my computer. I've followed all the steps

1. named extracted file c:\tomcat
2. created an environment variable for the path to my JDK folder
3. copied servlet-api.jar file to c:\tomcat\common\lib
4. edited context.xml and web.xml
5. created a classes folder in c:\tomcat\webapps\ROOT|WEB-INF

my problem is that when I try to start up Tomcat from the command prompt by typing c:\tomcat\bin I get the message

'c:\tomcat\bin' is not recognised as an internal or external command, operable program or batch file

I'm not a computer expert and I've got a feeling I'm doing something stupid but I think possible reasons for my problem might be

my prompt is c:\documents and settings\home> and not just c: When I try to get out of this directory by typing c: -I cant.

My JDK 1.4 was installed as part of JBuilder - is this a problem?

Ive tried setting my connector port to something other than 8080 but still no luck...

Any ideas would help a lot, thanks.
[1142 byte] By [hugh] at [2007-11-11 7:54:50]
# 1 Re: startup Tomcat from command prompt
I try to start up Tomcat from the command prompt by typing c:\tomcat\bin I get the message
'bin' is a folder in the tomcat install directory which contains the startup and shutdown scripts. You should try running
C:\tomcat\bin\startup.bat or whatever the startup script is called.

kind regards,
Noel
noelob at 2007-11-11 22:37:01 >
# 2 Re: startup Tomcat from command prompt
Hi noelob,

Thanks for your help, but I've just sorted it out this morning. I downloaded Tomcat zipfile again but this time I extracted it to c:\Documents and Settings\tomcat instead of c:\tomcat. Now because it is in the same directory as my prompt its working ok.

But thanks for taking the time to reply
hugh at 2007-11-11 22:38:01 >