Ricky Leung a �crit :

> yeah, I did miss it, hope I am not restarting it.

Well, well.

I did missed it too. But...

Unfortunately i'm still stuck.

Just to say, i'm only needin' the Tomcay-Apache part of the conf, and all seems
well in my config, exept the host declaration in This Engine...

What a big deal is it !

Jean-Luc B :0(


>
>
> -----Original Message-----
> From: John Wadkin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 12:46 PM
> To: 'Tomcat Users List'
> Subject: RE: Manager options...
>
> Oh boy :) You must have missed the "great debate" thread on engines, hosts
> and name. It was debated as to whether an engine needs a host. I set the
> defaulthost attribute and specified a host. Is this necessary? The doc's
> aren't clear. The default server.xml has a confusing comment about setting
> localhost. The name att. of engine is used for logging (according to the
> docs) and is simply logical. I see no reason why it -should- match the name
> attr. of the host tag or the Servername directive, although it can't do any
> harm. I set the defaulthost att. of the engine to match the servername
> directive in httpd.conf. If you look at server.xml and
> server-noexamples.xml.config you'll see that the <!-- Replace "localhost"
> with what your Apache "ServerName" is set to --> comment makes much more
> sense in noexamples.xml.config!
> No body (developer) came back with a definitive answer...
>
> Thanks,
>
> John
>
> -----Original Message-----
> From: Ricky Leung [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2002 17:26
> To: Tomcat Users List
> Subject: RE: Manager options...
>
> I think name="Apache" in Engine has to be the same as what ServerName is
> defined in http.conf in apache.
>
> -----Original Message-----
> From: John Wadkin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 12:13 PM
> To: 'Tomcat Users List'
> Subject: RE: Manager options...
>
> Attached my server.xml - there a couple of contexts including manager. All
> are declared within the <host> tag. I've just used manager now to restart a
> context - worked fine. It's definitely using the Warp connector!
> I can't think of anything else other than the web.xml for manager - is it
> there and complete?
>
> Thanks,
>
> John
>
> -----Original Message-----
> From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2002 17:03
> To: Tomcat Users List
> Subject: Re: Manager options...
>
> John Wadkin a icrit :
>
> > The only differences I can see are:
> >
> > You use Manger and /managerstuff whereas I use manager and /manager -
> could
> > this have something to do with it? Not sure!
> > You use localhost I use the actual server name - again, not sure if this
> has
> > anything to do with it...
> > You don't have a <host> in your TomCat-Apache service. There's some debate
> > as to whether this is necessary but I have one and the manager app
> works...
> >
> > Bit of puzzle really. I had no problems - just added the necessary lines
> in
> > httpd.conf and server.xml and the manager app worked!
> >
> > Thanks,
> >
> > John
> >
> > -----Original Message-----
> > From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
> > Sent: 20 February 2002 16:26
> > To: Tomcat Users List
> > Subject: Re: Manager options...
> >
> > Thank yu for the answer, john.
> >
> > I verified again and again, but...
> >
> > John Wadkin a icrit :
> >
> > > Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.
> >
> > I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso
> >
> > >
> > >
> > > httpd.conf:
> > >
> > > WebAppConnection warpConnection warp servername:8008
> > > WebAppDeploy manager warpConnection /manager
> >
> > Mine is
> >
> > WebAppConnection WarpConnector0             warp    localhost:8008
> > WebAppDeploy     Manager            WarpConnector0  /managerstuff/
> >
> > > server.xml
> > >
> > > <!-- Tomcat Manager Context -->
> > >         <Context path="/manager" docBase="manager"
> > >          debug="0" privileged="true"/>
> >
> > For me it is ( full description of the Tomcat Apache part )
> > <!-- Define an Apache-Connector Service -->
> >   <Service name="Tomcat-Apache">
> >
> >     <Connector
> className="org.apache.catalina.connector.warp.WarpConnector"
> >                port="8008" minProcessors="5" maxProcessors="75"
> >                enableLookups="true" acceptCount="10" debug="0"/>
> >
> >     <!-- Replace "localhost" with what your Apache "ServerName" is set to
> > -->
> >     <Engine className="org.apache.catalina.connector.warp.WarpEngine"
> >             name="Apache" appBase="webapps" defaulthost="localhost" >
> >
> >       <DefaultContext reloadable="true" debug="20"/>
> >
> >       <!-- Tomcat Manager Context -->
> >       <Context path="/manager" docBase="manager"
> >                debug="0" privileged="true"/>
> >
> >       <!--
> >       <Context path="/neocam" docBase="Neocam" debug="0"
> >                reloadable="true" crossContext="false"/>
> >       -->
> >
> >       <!-- Global logger unless overridden at lower levels -->
> >       <Logger className="org.apache.catalina.logger.FileLogger"
> >               prefix="apache_log." suffix=".txt" timestamp="true"/>
> >
> >       <!-- Because this Realm is here, an instance will be shared globally
> > -->
> >
> >       <Realm className="org.apache.catalina.realm.MemoryRealm" />
> >
> >     </Engine>
> >
> >   </Service>
> >
> > >
> > >
> > > One point - the context is in the <host> I defined under the <Service
> > > name="Tomcat-Apache">
> >
> > Hum i don't have any host defined as i don't need virtual host for the
> > moment.
> >
> > >
> > >
> > > Thanks,
> > >
> > > John
> > >
> > >
> >
> > And it still doesn't work.
> >
> > I'm really stuck !
> >
> > Jean-Luc :0(
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> OK.
>
> It does work under Apache/Warp connector ?
>
> Great.
>
> Could yu indicate me how yu declared yur Host in Engine for the
> Tomcat-Apache
> Engine, please ?
>
> Jean-Luc B :0(
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to