tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: How to run Tomcat as Service on windows start up.
Date Sat, 28 Apr 2012 11:31:50 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message