I seem to remember there were problems if you tried to run jk1 with virtual hosts and 
also apache https.  Does that sound right?

-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 10:52 AM
To: Tomcat Users List
Subject: Re: Which connector to use JK 1.2 or JK 2


I've used both.. With 4.1 and 5. In fact our staging server uses jk2
and live server jk1.

I would say use 1. Its less bother. Less configuration and I've also
found that jk2 has issues when you want to load balance java content
from static

I've seen loads of examples where the whole webapp is mounted e.g.

JkMount /examples/*

which seems to me plain nonsense

JkMount /servlet/* myworker
JkMount /*.jsp myworker
JkMount /*.do myworker

would seem to fit the bill.

With Jk2 however I had a problem where you needed to mount the webapp
name (context) to get it to play

       <Location "/examples/servlet/*">
               JkUriSet group ajp13:localhost:8009
       </Location>

Which was a pain in the arse and you also had to do similar jiggery
pockery in workers2.properties.

I had it working once when i checked a version out of cvs. But this
seems to change with every release.

Jk seems the stable release i'll be sticking to it, at least for the
time being.

HTH Mark

On 27 May 2004, at 18:10, Reis, Tom wrote:

>       I am confused as to which connector to use for connecting II 6.0
> Tomcat 4.1.30. It appears that either the JK 1.2 or the JK 2 will work
> but I am uncertain. If someone could clarify the difference between
> these connectors and which to use I would greatly appreciate it.
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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


This e-mail and any files transmitted with it are confidential and are intended solely 
for the use of the individual or entity to whom it is addressed.  If you are not the 
intended recipient or the person responsible for delivering the e-mail to the intended 
recipient, be advised that you have received this e-mail in error, and that any use, 
dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.

If you received this e-mail in error, please return the e-mail to the sender and 
delete it from your computer. Although our company attempts to sweep e-mail and 
attachments for viruses, it does not guarantee that either are virus-free and accepts 
no liability for any damage sustained as a result of viruses.

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

Reply via email to