Jacques Desodt wrote:
Hi Kiran,

On Windows 7, you can't run batch files as services.
See :
http://stackoverflow.com/questions/8972679/windows-7-bat-file-not-starting-as-a-service

Your first step : compile the .bat file into .exe
Then create the service, and after change the service register values with
regedit.

I think that it is a bit more complicated that that.
A .bat file compiled to a .exe will still not work properly as a Windows 
service.

The standard Tomcat installation for Windows does it right, by providing a correct "service wrapper" for the JVM which runs Tomcat. The OP would probably, in the end, save himself some time by installing a proper Tomcat-as-a-Windows-service from the Tomcat website, and then arrange for Netbeans to talk to that one.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to