On Tue, Apr 8, 2014 at 3:35 PM, Christoph P.U. Kukulies
wrote:
> Am 08.04.2014 11:42, schrieb akshay jain:
>
>> Hi,
>>
>> I downloaded *apache-tomcat-7.0.52-windows-x64.zip* from the apache
>>
>> website.
>> I am running windows 7 64 bit operating system.
>>
>
>
> Are you planning to leave it installed under c:\tmp ?
>
No. It was for trial only. I am actually writing an installer for my web
application,
which takes the apache zip and extracts it to the "Programs" folder of
windows.
It also configures a couple of things of apache like port and all.
>
> Did you try to use service.bat install?
>
I am able to install it using " service.bat intall" command and the service
is running fine.
But I want apache to use a particular jre which my installer would be
copying to the system while installing. I found that setting JRE_HOME
variable
in setenv.bat doesn't work if service.bat install is used to install the
service.
>
> What does the System Eventlog say?
>
> --
> Christoph Kukulies
>
>
>
>> 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//"
>> 3. Then ran command :
>>
>>
>
>
> -----
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
--
*Akshay Jain*
B-Tech. Computer (*College of Engineering, Pune*)