It's up to you.  I prefer JK right now, but lots of people are using JK2,
and JK2 is where the development team is going.  If you decide to use JK, my
HOWTOs might help:  http://www.johnturner.com, or try the ones at
www.galatea.com/flashguides.  I don't have HOWTOs for JK2 bookmarked, but I
know some are out there.

Regarding virtual hosts, think of it this way:

Apache VirtualHost in httpd.conf = Tomcat Host in server.xml
Apache DocumentRoot in httpd.conf = Tomcat Context in server.xml

So, virtual hosting is pretty straight-forward as far as Tomcat is
concerned...for every Apache VirtualHost, there should be a Tomcat Host in
server.xml (or at least a Host Alias), and for every DocumentRoot, there
should be a corresponding Context, though the actual paths of DocumentRoot
and Context may not be identical based on what you are trying to do.

In a default Tomcat install, there is one virtual host already setup
(localhost) and four Contexts: /examples, /, /admin, and /manager.  That
should be enough to get you going.  If you wanted to add your own, for
example, like http://www.host-a.com/my.jsp, you would setup a Host element
in server.xml with a name of "www.host-a.com" and then you would setup a
ROOT Context ("/").  Lather, rinse, repeat.

I don't have any ideas on your SendMailServlet message.

John

> -----Original Message-----
> From: chris schild [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 27, 2003 3:44 PM
> To: Tomcat Users List
> Subject: Re: JK2 & workers2 vs. jk & workers???
> 
> 
> John,
> Would you recommend staying with the original mod_jk since I 
> am using Win2k
> or is mod_jk2 the way to go?
> 
> I am going to rebuild Tomcat since I have configured & 
> reconfigured it so
> much.  My knowledge level, although still minimal, is much 
> greater than it
> was a month ago...
> 
> btw- I am still have problems with the msg: Apache Tomcat - 
> HTTP Status
> 503 - Servlet SendMailServlet is currently unavailable
> 
> Any ideas on that one?
> 
> Thanks again!
> 
> ----- Original Message -----
> From: "Turner, John" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, January 27, 2003 2:23 PM
> Subject: RE: JK2 & workers2 vs. jk & workers???
> 
> 
> >
> > Not for JK2.
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: list [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, January 27, 2003 3:02 PM
> > > To: Tomcat Users List
> > > Subject: Re: JK2 & workers2 vs. jk & workers???
> > >
> > >
> > > here you find everything you need:
> > >
> > > http://www.galatea.com/flashguides/index
> > >
> > >
> > >
> > > chris schild wrote:
> > >
> > > >Does anyone know of the location of some docs?  And/Or 
> have a sample
> > > >configuration including virtual hosts.
> > > >I am using:
> > > >Apache 2.0.43
> > > >Tomcat 4.1.18
> > > >Windows 2000
> > > >
> > > >Thanks much!!!
> > > >
> > > >----- Original Message -----
> > > >From: "chris schild" <[EMAIL PROTECTED]>
> > > >To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > >Sent: Monday, January 27, 2003 1:33 PM
> > > >Subject: JK2 & workers2 vs. jk & workers???
> > > >
> > > >
> > > >I have seen jk.properties & workers.properties BUT what is
> > > the difference
> > > >with jk2 & workers2?Do I need jk & workers also?  I guess
> > > the I am missing
> > > >something here!!! I haven't found anything in the archives
> > > or docs (so far)
> > > >that is helping. I'm assuming it is mod_jk2 instead of
> > > mod_jk?Would someone
> > > >please give me some guidance on setting up Apache 2.0.43 in
> > > >front of Tomcat 4.1.18 with multiple Virtual Hosts?  The
> > > information in the
> > > >documentation is tantalizing but I cannot quite get it to
> > > work.  I just
> > > >looking for a general theory of operation here.
> > > >
> > > >Do I need to create matching <host> entries in server.xml
> > > for each of the
> > > >hosts in workers2.properties or can I configure the root of
> > > certain virtual
> > > >hosts to specific contexts of localhost?
> > > >
> > > >For example can I use workers2.properties to make
> > http://foo.mycompany.com
> > >go to http://localhost/app1 and http://bar.mycomapny.com go to
> > >http://localhost/app2?  This is hinted at by the context 
> and servlet
> > >properties of the uri config element but it is not clear.
> > >
> > >Thank You,
> > >  Victor Lewis
> > >
> > >
> > >
> > >
> > >--
> > >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]>
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > 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]>
> >
> 
> 
> --
> 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