tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce A. Carson" <...@world.std.com>
Subject RE: Tomcat + Apache on NT
Date Mon, 09 Jul 2001 19:43:04 GMT
You can modify your Registry to ensure that Jakarta is started before Apache:

Make sure that the ApacheJak Service starts before Apache by editing the registry:
Run regedt32
    Select Window - "HKEY_LOCAL_MACHINE on Local Machine" from the menu
    Double-click to open the SYSTEM, then the CurrentControlSet keys
    Scroll down and click on the Apache servicename
    Double-click on the "DependOnService" Key and add a line to the Tcpip and Afd that already
appear:
Tcpip
Afd
ApacheJak

NOTE: I called my Jakarta Service "ApacheJak" (so that it would appear in the Services near
Apache), change the line above to
whatever you called your service.

Then from a command prompt you can stop both services with:
NET STOP APACHEJAK

and start both with:
NET START APACHE

Cheers!
	Bruce

> -----Original Message-----
> From: Gary Dale [mailto:gary.dale@mail1.moh.gov.on.ca]
> Sent: Monday, July 09, 2001 3:26 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Tomcat + Apache on NT
>
>
> You only need to start Tomcat ahead of Apache if you have changed
> Tomcat's configuration and are including the .conf-auto in httpd.conf.
>  What I suggest is setting them both to automatically start, then if you
> change anything, shut them down and restart them in the correct (Tomcat
> first) order.
>
>
> Emir Alikadic (ADNOC IS&T) wrote:
>
> >Use mod_jk rather than mod_jserv.
> >
> >Provided that you properly configured the Apache/Tomcat combo (with
> >appropriate entry in the httpd.conf, as described in Tomcat docs), you'll
> >have to start Tomcat first and then start Apache. Manually.
> >
> >
> >-----Original Message-----
> >From: Gregory Guthrie [mailto:gregg@mum.edu]
> >Sent: Saturday, July 07, 2001 7:57 AM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Tomcat + Apache on NT
> >
> >
> >It is not clear (to me) that I have to manually start both Tomcat and
> >Apache servers on  NT (Win2K Pro). I expected Apache to start Tomcat
> >as/if needed, but that fails, but everything works fine for Tomcat
> >standalone, or if it is manually runing, and then Apache just connects
> >to it.
> >
> >Is this correct? Is this documented somewhere? The closest thing I found
> >was in the Tomcat-Apache HowTo setup where it says:
> >  "This step sets various JServ internal parameters, in order:
> >   Instruct JServ not to start the Tomcat process. Automatically
> >starting
> >   Tomcat is not implemented yet. "
> >
> >And then does:
> >    ApJServManual          on
> >
> >Is this correct understanding?
> >
> >Thanks.
> >Guthrie@mum.edu
> >
>
>
>


Mime
View raw message