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

Edward Walter ewalter at walterama.com
Fri Feb 14 03:33:53 EST 2003


I have to say... now that I'm sitting here playing with this... seldom
have I seen this kind of load on a web server.  Even though it works, this
can't be how it's supposed to work.

Ed

> 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






More information about the wplug mailing list