You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Pheby <ch...@tfe-group.com> on 2002/03/06 18:34:37 UTC
Apache & Tomcat as Service on Win2k
I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run
as services together on either Win2k or WinXP.
In short:
javaservice.exe fails with unusual error after initially working.
jk_nt_service works. however, at boot time have to manually stop and restart
apache to make the integration work.
How can I ensure Apache starts running later?
Thanks,
Chris.
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: Apache & Tomcat as Service on Win2k
Posted by Chris Pheby <ch...@tfe-group.com>.
In answer to my own question, javaservice.exe/tomcat.exe seems to work with
the new beta and JDK 1.4 - I wonder why the 4.03 version didn't...
Also, setting the dependencies works as expected now as well...
Thanks everyone,
Chris
-----Original Message-----
From: tomcat-user-return-13167-chris=tfe-group.com@jakarta.apache.org
[mailto:tomcat-user-return-13167-chris=tfe-group.com@jakarta.apache.org]
On Behalf Of Chris Pheby
Sent: 08 March 2002 09:01
To: Tomcat Users List; andrzej@chaeron.com
Subject: RE: Apache & Tomcat as Service on Win2k
Thanks Andrzej, but I tried setting up a dependency as you suggested.
Rather than edit the registry I used Service+ from
http://www.activeplus.com/.
This proved unsuccessful. Does anyone have experience of sucess with
JavaService in Tomcat 4.0.4 beta 1 - I think the problem may be that the old
jk_nt_service wrapper reports completion before Tomcat is fully loaded...?
Chris.
-----Original Message-----
From: tomcat-user-return-13098-chris=tfe-group.com@jakarta.apache.org
[mailto:tomcat-user-return-13098-chris=tfe-group.com@jakarta.apache.org]
On Behalf Of Andrzej Jan Taramina
Sent: 07 March 2002 13:58
To: Chris Pheby
Cc: tomcat Users List
Subject: Re: Apache & Tomcat as Service on Win2k
> I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run
> as services together on either Win2k or WinXP.
> How can I ensure Apache starts running later?
You will have to go into the Win Registry and find the key
HKLM/System/CurrentControlSet/Services. Then locate the Apache service
entry.....and change it so that it has a dependency on the Tomcat service.
To figure out how to format a dependency entry, just mimic another service
that has a dependency. Basically you add a key DependOnService (check out
the RasMan service if you have RAS installed).
I believe this will take care of the order in which the services are started
for
you at boot time.
Caveat: Edit the Windows Registry at your OWN RISK. I will not be
responsible for any damage you might do to your windows system by mucking
about incorrectly.
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: Apache & Tomcat as Service on Win2k
Posted by Chris Pheby <ch...@tfe-group.com>.
Thanks Andrzej, but I tried setting up a dependency as you suggested.
Rather than edit the registry I used Service+ from
http://www.activeplus.com/.
This proved unsuccessful. Does anyone have experience of sucess with
JavaService in Tomcat 4.0.4 beta 1 - I think the problem may be that the old
jk_nt_service wrapper reports completion before Tomcat is fully loaded...?
Chris.
-----Original Message-----
From: tomcat-user-return-13098-chris=tfe-group.com@jakarta.apache.org
[mailto:tomcat-user-return-13098-chris=tfe-group.com@jakarta.apache.org]
On Behalf Of Andrzej Jan Taramina
Sent: 07 March 2002 13:58
To: Chris Pheby
Cc: tomcat Users List
Subject: Re: Apache & Tomcat as Service on Win2k
> I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run
> as services together on either Win2k or WinXP.
> How can I ensure Apache starts running later?
You will have to go into the Win Registry and find the key
HKLM/System/CurrentControlSet/Services. Then locate the Apache service
entry.....and change it so that it has a dependency on the Tomcat service.
To figure out how to format a dependency entry, just mimic another service
that has a dependency. Basically you add a key DependOnService (check out
the RasMan service if you have RAS installed).
I believe this will take care of the order in which the services are started
for
you at boot time.
Caveat: Edit the Windows Registry at your OWN RISK. I will not be
responsible for any damage you might do to your windows system by mucking
about incorrectly.
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Apache & Tomcat as Service on Win2k
Posted by Andrzej Jan Taramina <an...@chaeron.com>.
> I am having severe difficulties getting Apache (1.3) + Tomcat 4.0.3 to run
> as services together on either Win2k or WinXP.
> How can I ensure Apache starts running later?
You will have to go into the Win Registry and find the key
HKLM/System/CurrentControlSet/Services. Then locate the Apache service
entry.....and change it so that it has a dependency on the Tomcat service.
To figure out how to format a dependency entry, just mimic another service
that has a dependency. Basically you add a key DependOnService (check out
the RasMan service if you have RAS installed).
I believe this will take care of the order in which the services are started for
you at boot time.
Caveat: Edit the Windows Registry at your OWN RISK. I will not be
responsible for any damage you might do to your windows system by mucking
about incorrectly.
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>