tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samlin <sanjay.m...@utvnet.com>
Subject Re: Problem with mod_jk installation
Date Fri, 09 Jan 2009 07:31:07 GMT

When followed the same procedure for tomcat 6.0.16 with identitical entries
in required files, i could see Apache forwarding requests to Tomcat. i.e.
http://192.168.1.1:8080/sample-site/jsp/home.jsp AND
http://192.168.1.1/sample-site/jsp/home.jsp displays me the expected site
page.

I followed exactly the same procedure woth Tomcat 5.5.27 but URL without
port 8080 reports page not found.


Rainer Jung-3 wrote:
> 
> On 05.01.2009 13:09, samlin wrote:
>> Hi
>>
>> I am using
>> CentOS release 5.2 (Final)
>> jdk1.5.0_16
>> httpd-2.2.3-11.el5_2.centos.4
>> tomcat-5.5.27
>>
>> I tried compiling mod_jk.so
>> I used tomcat-connectors-1.2.27-src.tar.gz
>> resultant mod_jk.so was copied to /etc/httpd/modules/ directory
>>
>> -----workers.properties
>> worker.list=worker1
>> worker.worker1.type=ajp13
>> worker.worker1.host=server2.utvi.com
>> worker.worker1.port=8009
>> -----mod_jk.conf
>> LoadModule    jk_module  modules/mod_jk.so
> 
> If /etc/httpd is not your ServerRoot, you need to use the full path to 
> the file in LoadModule.
> 
>> JkWorkersFile /etc/httpd/conf/workers.properties
>> JkShmFile     /var/log/httpd/mod_jk.shm
>> JkLogFile     /var/log/httpd/mod_jk.log
>> JkLogLevel    info
>> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>> JkMount /testapp worker1
>> JkMount /testapp/*.jsp worker1
>> JkMount /testapp/* worker1
> 
> If your request will be served by a VirtualHost, you need to put the 
> JkMount into the VirtualHost.
> 
> You didn't tell us, what does not work (e.g. what is your test case, 
> which behaviour do you exoect and which behaviour do you get instead).
> 
> Regards,
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-mod_jk-installation-tp19639347p21367451.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message