Hello, 
 
I am desparate to find the solution to the mod_jk problem.  Anyone can help?
 
Thanks!
 


Galam <[EMAIL PROTECTED]> wrote:
Hi,


I have a few questions concerning running Apache 1.3.29 and Tomcat5 in a virtual 
hosting enviroment. The tomcat5 server runs fine, and I can access the sites using the 
browser. The only problem is that I got lots of errors in the mod_jk.log. I've 
attached the logs and my configuration in server.xml and workers.properties. I've been 
googling for a whole day but I still couldn't find an answer... It seems that there is 
no official solution to this problem. If anyone of you have the same experiences and 
have the problems resolved, please share your thougths with us. Thanks!


Another question I want to ask is that there are JK and JK2 connectors, which one 
should I use to connect tomcat5 to Apache1.3.29? The mod_jk.so I used came from 
Tomcat4.0.3, I am not sure whether it is compatible with Tomcat5. The output from 
"catalina.out" log is complaining about the channel sockets, but the channel sockets 
only appears in the JK2 property files, not the JK one. Is it possible that the Apache 
use the wrong JK to talk to Tomcat? 

Any helps will be greately appreciated!

Thanks!






------------------------------ mod_jk log ----------------
[Thu Mar 11 09:44:48 2004] [jk_ajp_common.c (651)]: ajp_connection_tcp_get_message: 
Error - jk_tcp_socket_recvfull failed
[Thu Mar 11 09:44:48 2004] [jk_ajp_common.c (1009)]: Error reading reply
[Thu Mar 11 09:44:48 2004] [jk_ajp_common.c (1146)]: In jk_endpoint_t::service, 
ajp_get_reply failed in send loop 0




---------------- tomcat 5 log ------------

Total number of files loaded = 4335
Mar 11, 2004 8:44:15 AM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Mar 11, 2004 8:44:15 AM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 11, 2004 8:44:20 AM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Mar 11, 2004 8:44:20 AM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 11, 2004 8:44:25 AM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Mar 11, 2004 8:44:25 AM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 11, 2004 8:44:43 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Mar 11, 2004 8:44:48 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Mar 11, 2004 8:45:03 AM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Mar 11, 2004 8:45:03 AM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 11, 2004 8:45:12 AM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Mar 11, 2004 8:45:12 AM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 11, 2004 8:45:25 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
java.lang.NullPointerException




Here are my server.xml and workers.properties
--------------------------------



------------- server.xml (partial) --------





maxProcessors="150" enableLookups="true" redirectPort="8443" acceptCount="100" 
debug="0" connectionTimeout="20000"
useURIValidationHack="false" 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

timestamp="true"/>

prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>





sinclude(`/var/tomcat4/conf/sites.m4') 






-------- workers.properties---------

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1




---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Reply via email to