Thanks! 
 
Does anyone have comments on the mod_jk error? I am still struggle to figure out the 
cause of the problem because now I have to reboot the tomcat several times a day.....
 
 


Vi <[EMAIL PROTECTED]> wrote:About your another question. mod_jk2 was made for apache2 
in mind, nut 
can work under apache 1.3.
I recomend you to stay with mod_jk, if you are going to keep using 
apache 1.3.

Galam 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#25262;e looking for faster.
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to