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.
This is a pure windows process, i think you'll have better answers using
Microsoft forums.

Best regards,
Jacques

2012/4/28 Kiran Badi <ki...@poonam.org>

> Hi,
>
> I have installed and added tomcat 7.0.11 to netbeans 7.01 and now I want
> it to run as windows service so that whenever I start windows, it should
> start up and run.
>
> Currently whenever I close netbeans it shut down tomcat along with it.
>
> PS : I cannot download and install the fresh copy since being a 7 months
> old developer I do not want to take the risk of breaking my existing
> setup.Time is my constraint.
>
> Can we create some startup bat file for windows 7 32 bit home premium and
> somehow push it on start up program list ?
>
> - Kiran
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org>
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to