I would take port numbers out of those tags in server.xml, AFAIK Tomcat
doesn't care about them at all.  Tomcat is getting it's requests on the
connector port, it is trying to match name, and my guess is the port number
is not included on the request that it sees.

John


> -----Original Message-----
> From: G|nther Mittermayer [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Almost there: Odd error in mod_jk.log
> 
> 
> John,
> 
> If that's what you mean:
> 
>         <Host name="141.19.93.41:8080" >
>            <Context path="/"
> docBase="C:\Programme\Fogang\Vertmittlungsmodul\jakarta-tomcat
> -3.2.1\webapps\ROOT" 
> />
>         </Host>
> 
>         <Host name="141.19.93.41:8081" >
>            <Context path="/"
> docBase="C:\Programme\Fogang\Vertmittlungsmodul\jakarta-tomcat
> -3.2.1\webapps\ROOT2" 
> />
>         </Host>
> 
> 
> then yes, I've done it.  I guess I'll have to struggle a 
> little more with 
> Apache.
> 
> Thanks anyway. :)
> 
> gunther
> 
> 
> 
> 
> >From: "Turner, John" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> >Subject: RE: Almost there: Odd error in mod_jk.log
> >Date: Mon, 16 Dec 2002 11:12:28 -0500
> >
> >
> >Sorry, didn't realize you had the config in your earlier 
> messages.  I came
> >in this morning and there were 300 messages in my 
> tomcat-user box, so I've
> >been typing furiously trying to catch up. :)
> >
> >In the config you just posted, everything should work just 
> fine, though 
> >I've
> >never done it that way.  All of my requests come in on port 
> 80.  The trick
> >isn't the mod_jk config, the trick is getting Apache to separate each
> >request...after that, the appropriate JkMount should take 
> over.  Putting 
> >the
> >port number on the URL should work.
> >
> >If it isn't working, I would look at the absence of the 
> ServerName as the
> >culprit.  Are there Host elements in server.xml that match 
> Apache's virtual
> >hosts?  If Apache is sending something like "1.2.3.4" to 
> Tomcat, Tomcat
> >needs to be able to match that up to a Host in server.xml to 
> understand
> >which Context to serve.
> >
> >John
> >
> > > -----Original Message-----
> > > From: G|nther Mittermayer [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, December 16, 2002 11:05 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Almost there: Odd error in mod_jk.log
> > >
> > >
> > > Thanks again John, but the * were there just for testing
> > > purposes.  When I
> > > migrate to production I'll have only the *.jsp directed.
> > >
> > > Sorry to insist, but I'm not sure I understood what you meant
> > > with the
> > > virtualhost example... by doing the following, am I not doing
> > > the same?
> > >
> > > If not, How would apache know,in your example, which
> > > connector to look for
> > > for each port?
> > >
> > >
> > > <VirtualHost 141.19.93.41:8080>
> > >   ErrorLog logs/virtualhost1.log
> > >   TransferLog logs/VH1access.log
> > >
> > >   JkMount /*.jsp worker_ajp13_1
> > >
> > > </VirtualHost>
> > >
> > > <VirtualHost 141.19.93.41:8081>
> > >   Errorlog logs/virtualhost2.log
> > >   TransferLog logs/VH2access.log
> > >
> > >   JkMount /*.jsp worker_ajp13_2
> > > </VirtualHost>
> > >
> > >
> > > tks,
> > > gunther
> > >
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> 
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to