2014-04-08 13:42 GMT+04:00 akshay jain <uniquejainaks...@gmail.com>:
> Hi,
>
> I downloaded *apache-tomcat-7.0.52-windows-x64.zip* from the apache
> website.
> I am running windows 7 64 bit operating system.
>
> I have setup the file setenv.bat file and apache starts without any problem
> when started using startup.bat script.
>
> To run apache as a windows service I did the following steps:
> 1. Extracted the zip to location C:\tmp
> 2. Opened command line in the said folder and ran command :
>                                  "tomcat7 //IS//"

That just installs procrun (the service wrapper executable), but DOES
NOT configure it.
Procrun with an empty configuration does not know what Java
application it launches and with what settings. (It does not know that
it belongs to Tomcat, etc.)

There is service.bat that both installs and configures it, but note
that you either need to run the command prompt in "as administrator"
mode, or use 7.0.53 or later due to
http://issues.apache.org/bugzilla/show_bug.cgi?id=56143


> 3. Then ran command :
>                                   "sc start tomcat7"
>
> Following was the output :
>
> C:\tmp\apache-tomcat-7.0.52\bin>tomcat7.exe //IS//
>
> C:\tmp\apache-tomcat-7.0.52\bin>sc start tomcat7
>
> (...)
>

Best regards,
Konstantin Kolinko

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

Reply via email to