Mike,
I haven't heard of anyone having stability issues with JK2 once they got it
configured correctly.  List, correct me if I'm wrong.

The only problem with JK2 2.0.2 that I know of (and one I found the hard
way) is that JkUriSet works globally within the httpd.conf file rather than
relative to the virtual host its in.  So you can't have one url mapping for
one virtual host point to one worker and the same url mapping for another
virtual host point to another worker.

To illustrate what I mean, in the following example, all *.htm requests will
go to tomcat:
<VirtualHost 1 >
    <Location "/*.htm">
        JkUriSet worker ajp13:localhost:8009
    </Location>
</VirtualHost>
<VirtualHost 2 >
    Regular static apache stuff...  (*.htm requests should NOT be passed to
tomcat)
</VirtualHost>


In this example, all *.jsp requests will go to the same port (im not sure if
it uses the first one it finds or the last one):
<VirtualHost 1 >
    <Location "/*.jsp">
        JkUriSet worker ajp13:localhost:8009
    </Location>
</VirtualHost>
<VirtualHost 2 >
    <Location "/*.jsp">
        JkUriSet worker ajp13:localhost:8055
    </Location>
</VirtualHost>

This doesn't affect the stability and isn't a problem for most people since
most people aren't using mass virtual hosting (ip virtual hosting).  At
least it hasn't come up on the list much.

The JkMount directive works correctly in this case (ie. relative to the
VirtualHost).

Question for the list, for those of you who've switched from JK to JK2, did
you see any performance benefits?

hth,
Adrian Lanning


----- Original Message ----- 
From: "Mike Millson" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 19, 2004 3:09 PM
Subject: mod_jk or mod_jk2 for production


> Is the statement in the link below on the Tomcat FAQ page regarding the
> stability of mod_jk vs mod_jk2 still valid? Is mod_jk2 still not stable
> enough for production environments, or is this info out of date?
>
> http://jakarta.apache.org/tomcat/faq/connectors.html#vs
>
> Mike
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to