I am using apache webserver 2.2.4 and apache-tomcat 5.5.23 on Solaries 5.10. I have installed both of them successfully. Both the server are running standalone. Apache configures at 61696 port and tomcat at 61697 port. I am using JK connector (tomcat-connectors-1.2.22) to connect them.
My Configuration details are,
1. I have added the following line in apache config file [apache_home/conf/httpd.conf]
2. I have also added the following lines in Tomcat config file [tomcat_home/conf/server.xml)
# BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 # change this line to match apache ServerName and Host name in server.xml worker.ajp13.host=p10dvl worker.ajp13.type=ajp13 # END workers.properties
Now when i start the tomcat and apache subsequently,
the file has been created by tomcat server [ <Tomcat_home>/conf/auto/mod_jk.conf]
i am also getting the following log message from tomcat log file [catalina.out ]
line 1: INFO: Starting Coyote HTTP/1.1 on http-61697 line 2:Apr 24, 2007 9:50:31 AM org.apache.jk.common.ChannelSocket init line 3:INFO: JK: ajp13 listening on /0.0.0.0:8009 line 4:Apr 24, 2007 9:50:31 AM org.apache.jk.server.JkMain start line 5:INFO: Jk running ID=0 time=0/125 config=null line 6:Apr 24, 2007 9:50:31 AM org.apache.catalina.storeconfig.StoreLoader load line 7:INFO: Find registry server-registry.xml at classpath resource line 8:Apr 24, 2007 9:50:32 AM org.apache.catalina.startup.Catalina start line 9:INFO: Server startup in 7769 ms
Specially i am pointing to line 3 [listening on /0.0.0.0:8009 ] and line 5 [config=null] of the log message.
Please let me know if i have configured the apache with tomcat corectly. If not please let me know what else i have to do.