File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Unable to start tomcat from a script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to start tomcat from a script " Watch "Unable to start tomcat from a script " New topic

Unable to start tomcat from a script

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

Hi all ,

i am trying to develop a webservice example using Axis2 . and i want to run my web service client on tomcat server , for this i have written a script file whilch can start the tomcat server . However when i am trying to run it my server is not starting . can anyone help me with this

This is example code from OReilly Java Web services Chapter 3.

My script for starting the server is

This is a ch3_tomcat.bat file

call ch3

where ch3 is another bat file given as follows:-

call ..\setenv_jaws.bat

rem Add the sample classes
set CLASSPATH=%CLASSPATH%;%WORK%\examples\ch3

rem Set the Tomcat home
set TOMCAT_HOME=%WORK%\Tomcat\apache-tomcat-5.5.33

an anyone help me with this

Thanks and Regards,

Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

If you execute the start script from inside a Dos Prompt - which errors do you get ??

Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: Unable to start tomcat from a script
It's not a secret anymore!