[wplug] Apache (either 1.3.27 or 2.0 ) & Tomcat 4.1.18

Bill bhalpin at collaborativefusion.com
Fri Feb 14 09:28:47 EST 2003


1)  He is using mod_jk, not mod_jk2. Very different configurations.
2)  Are you aware that there known bugs with running mod_jk2 on *nices?

I wouldnt suggest using mod_jk2

-b
 
On Fri, 2003-02-14 at 03:21, Edward Walter wrote:
> Here's what I did to get this working... dunno if it's right, but it works ;)
> 
> in /etc/tomcat4/jk2.properites: uncomment the following:
> 
> handler.list=apr,request,channelJni
> channelJni.disabled=0
> apr.jniModeSo=/usr/lib/httpd/modules/mod_jk2.so
> apr.jniModeSo=inprocess
> 
> in /etc/httpd/conf/workers2.properties:
> 
> I removed disable=1 from the [vm:] [worker.jni:onStartup]
> [worker.jni:onShutdown] sections
> 
> 
> in /etc/httpd/conf/httpd.conf:
> 
> I added
> LoadModule jk2_module modules/mod_jk2.so
> 
> Also, I had to manually move the mod_jk.so and jkjni.so files into
> /usr/lib/httpd/modules/
> 
> Also, the env I'm running on is Redhat 8, Apache 2.0.40 (rpm'ed by
> redhat), Tomcat 4.1.18 (rpm'ed by the jakarta folks), and mod_jk2-ap20
> (built and modified from the srpms in the tomcat-connectors package from
> the jakarta project)  The thing that gave me the most trouble was fixing
> the tomcat-connectors spec file to look for httpd packages instead of
> apache2 packages.  Hope this helped.
> 
> Ed
> 
> 
> 
> > Hi all,
> >
> > I have been trying for the past couple of days to get Tomcat 4.1.18 to
> > work  with either Apache 1.3.27 or 2.0. I have no problem getting Tomcat
> > working and  Apache working separately but I can not get Apache to use
> > Tomcat. So here is  what I have done so far:
> > Build Apache with modules
> > Install Java SDK 1.4.1
> > Build Tomcat
> > Build Tomcat connector module -> mod_jk.so
> > Modify server.xml, workers.properties as stated described in Tomcat
> > documentation
> > Modify httpd.conf as stated in Tomcat documentation
> > start Tomcat, verified that it works by itself http://localhost:8080 It
> > does!
> > start Apache
> > verify it is up
> > http://localhost
> > Get my default index page, OK
> > So test if Apache can serve the .jsp pages
> > Go to http://localhost/examples (this should load the same thing as
> > http://localhost:8080) GET NOTHING!!!!!!!!!
> >
> > Any suggestions, tips, comments, or general thoughts??
> > Thanks
> > Mike
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> 
> 
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug





More information about the wplug mailing list