Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: problem connecting Apache2 and Tomcat 5 via mod_jk2

Bill Barker

2004-01-09

Replies:

<parrot-mode>
ApacheConfig is for mod_jk. It doesn't work with mod_jk2 (and never will
:). The closest thing for mod_jk2 is WebXml2Jk.
</parrot-mode>

"Mike Batting" <mike@(protected)
news:01ef01c3d6e5$3dc60bb0$700201c0@(protected)...
> I followed suggestion from an email on this list and got the latest
> tomcat-jk2.jar so that
> timcat had the needed org.apache.jk.config.ApacheConfig implementation.
>
> The problem I am having now is thet mod_jk.conf file that is auto
generated
> by tomcat
> does not seem to be correct. I have read in many places that the module
it
> tries to
> load jk_module needs to be renamed to jk2_module. However this cannot be
> done
> in the same file since it is regenerated each time tomcat starts.
>
> Should I not add this line to the httpd.conf file in apache:
> Include /usr/local/tomcat/conf/auto/mod_jk.conf
>
> also... if i do switch the LoadModule command to jk2_module,
> it then bombs on the JkMount command.
>
> Is this build of tomcat not creating a useable mod_jk.conf ?
>
> should I ignore this .conf file and simply add all the needed entries to
the
> httpd.conf.
>
> If so, is there a document outlining all the needed entries here in order
> to properly mount different servlet zones so apache can contact tomcat
> when needed ?




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.