File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Unabe to start  tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unabe to start  tomcat" Watch "Unabe to start  tomcat" New topic

Unabe to start tomcat

Pawan Arora
Ranch Hand

Joined: Sep 14, 2008
Posts: 105

could anyone please tell me why I'm not able to start off tomcat version 5.5 on my computer? when I try to run it at command prompt:

C:\Program Files\jakarta-tomcat-5.0.16\Tomcat_Home\bin>startup

I'm getting an error as

'startup' is not recongnized as an internal or external command, operable program or batch file.

what is I'm missing here?

thanks in advance.
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3924

The folder [tomcat_dir]\bin contains an exe file named tomcat5w.exe

You can use it to start/stop the server.

In addition to that, you can use Start-->All Programs-->Apache Tomcat-->Monitor Tomcat
You will see this application in the system tray. Right click on it and select "Start/Stop Server".


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Pawan Arora
Ranch Hand

Joined: Sep 14, 2008
Posts: 105
I still not understand why I not able to run tomcat in command prompt. what's syntactically wrong in above?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Is the extension "bat" set up to indicate an executable file on your machine? I believe that it is by default, but make sure it didn't get changed.
I agree. Here's the link:
subject: Unabe to start tomcat
It's not a secret anymore!