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]



Reply via email to