tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lanes <lanesba...@yahoo.com>
Subject Re: tomcat mod_jk error log
Date Mon, 19 Nov 2007 07:52:33 GMT

Hi Rainer,

my os is Red Hat Linux v7.3 2.96-112.

this my workers.properties =
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java/j2sdk1.4.1_02
ps=/
worker.list=ajp12, ajp13
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
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1 
worker.ajp13.socket_timeout=300
worker.ajp13.reply_timeout=60000 
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr


below is my apache conf file to load mod_jk =
LoadModule    jk_module  modules/mod_jk.so
JkWorkersFile /usr/local/tomcat/conf/workers.properties
JkLogFile     /etc/httpd/logs/mod_jk.log
JkLogLevel    info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
Alias /testPortal /usr/local/tomcat/webapps/testPortal
JkMount /*.jsp ajp13
JkMount /*/servlet/ ajp13


My tomcat version is 4.1.12

Thank you very much.

Regards,
Martin




Rainer Jung-3 wrote:
> 
> Hi,
> 
> we can't identify your problem without knowing your configuration.
> 
> Please give us
> 
> - your operating system
> - your Tomcat connector configuration for the connector you talk to via
> mod_jk
> - your workers.properties
> - your httpd JK-directives
> - your Tomcat-version and mod_jk-version
> 
> You can furthermore improve the chance of finding your problem by
> running your test case when having "JkLogLevel debug" and posting
> the full jk log file in addition.
> 
> I would guess, the problem could have to do with a firewall dropping
> idle connections between Apache and Tomcat? If so, look at the Timeouts
> documentation page of mod_jk.
> 
> Regards,
> 
> Rainer
> 
> 
> Marthen LT schrieb:
>> hi all,
>> 
>> i have a live production server running tomcat & apache under linux.
>> but recently my cpu usage is being consumed by the mod_jk log file.
>> it keep logging and saying below warning/error messages:
>> 
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (819)]: ERROR: can't
>> receive the response message from tomcat, network problems or tomcat
>> is down. err=-1
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (717)]: Error
>> ajp13:cping: awaited reply cpong, not received
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (1026)]: Error sending
>> request try another pooled connection
>> 
>> what is happening?
>> i try to restart my tomcat also didn't give me a solution.
>> 
>> any help will be appreciated.
>> thank you.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> 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/tomcat-mod_jk-error-log-tf4825734.html#a13829109
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message