LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   how to connect apache2.0.52 and tomcat5.5.12 (https://www.linuxquestions.org/questions/linux-enterprise-47/how-to-connect-apache2-0-52-and-tomcat5-5-12-a-409522/)

manjulbhatt 01-30-2006 01:28 AM

how to connect apache2.0.52 and tomcat5.5.12
 
how do i connect apache http server version 2.0.52 with tomcat/5.5.12 on redhat9 with connector mod_jk(jakarta-tomcat-connector-1.2.15).
In my system both apache(port 80) and tomcat(port 8080) are running.

RHELL 02-04-2006 01:52 AM

http://tomcat.apache.org/connectors-...wto/quick.html
OR http://tomcat.apache.org/connectors-...to/apache.html
Compile mod_jk, with apxs. Shouldn't have to mess with server.xml, copy the basic workers.properties file. Let mod_jk.conf do all the work.
Just add the LoadModule stuff to httpd.conf, and put the JkMount, JkAlias(or JkAutoAlias if you're lazy) stuff in a file called mod_jk.conf and put it in conf.d, should be included by default into httpd.conf. "apachectl configtest" will tell you if your syntax is wrong in either mod_jk.conf or httpd.conf.
OR, use the second link and let them auto configure. You can always change your mind, and it writes workers.properties for you.
It's a lot simpler than it looks. The debug will dial you in once you get the vocabulary.


All times are GMT -5. The time now is 06:46 PM.