integrate tomcat / apache, what is prefork.so vs worker.so?

Hello i am having a lot of trouble finding documents on integrating apache with tomcat. Here is what i have so far:

1) latest version of apache installed: http://www.mywebsite.com works and serves up whatever static html i have(such as index.html)

2) latest version of tomcat installed: http://www.mywebsite.com:8080/test/test.jsp works after i deployed test.war file to tomcat.

3) http://www.mywebsite.com/test/test.jsp does NOT work.

I understand i need to integrate tomcat with apache using something called mod_jk module and configure file changes. Here are my questions

1) to download the mod_jk(?) i went to this page: http://www.apache.org/dist/tomcat/to...nux/jk-1.2.14/

It has two files:
jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so 29-Jul-2005 03:58 538K
jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so 29-Jul-2005 04:01 545K

Which one do i download? what's the difference? do i need both?

2) after i download the file to my linux box, where do i put it? do i need to rename it to something else?

3) what are the configure files i need to change, on the apache side? on the tomcat side?

any other steps to make this work? please list the steps and not just a link.

There are some very helpful and clear guides on the net i found, unfortunately all of them are out of date written 2-3 years back. And they just do not work with the current versions. The document on jakarta's main site is a complete joke, it might as well be written in a foreign language. Doesnt explain anything, no clear steps to follow, just goes on and on with tech terms newbies to tomcat/apache do not understand.

Thank you for your help!

 

 

 

 

Top