You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ewsinc <ew...@gmail.com> on 2007/05/12 18:30:49 UTC
Tomcat 6 Manager logging
I see in the Manager/status page an error count under the AJP-8009 section of
the page.
How do I go and find out what those errors are?
How does one turn on logging for AJP?
I have logging turned on for mod_jk in Apache... but what about logging for
Tomcat's side of the AJP protocol?
--
View this message in context: http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10447535
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
Re: Tomcat 6 Manager logging
Posted by ewsinc <ew...@gmail.com>.
the latest mod_jk.1.22 doesn't seem to improve things with APR connector, as
indicated by the Tomcat Manager.
So for now, I have kept the libtcnative out of the Tomcat deployment.
ewsinc wrote:
>
> not quite. other errors remain complaining about sockets not open:
> [Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c
> (1178): Socket 16 is not connected any more (errno=-1)
> [Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c
> (1202): Error sending request. Will try another pooled connection
> [Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c
> (1225): All endpoints are disconnected or dead
> [Sat May 12 22:47:34 2007] [info] ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed, recoverable operation attempt=1
>
> Removing the APR libraries (libtcnative*.* that I build from the Tomcat
> 6.0.10 distribution) from my JAVA path
> and then restarting Tomcat allowed the threads sockets to open and stay
> open.
>
> found this recent http://jira.codehaus.org/browse/JETTY-322 post with
> someone seeing related problems and patching mod_jk... I will try getting
> the latest mod_jk and see if they work better with the latest APR libs.
>
>
> ewsinc wrote:
>>
>> found the problem ... it was SELinux disabling access to the
>> jk-runtime-status file...
>> which mod_jk wanted to access at startup of httpd/mod_jk.
>>
>>
>> ewsinc wrote:
>>>
>>> I see in the Manager/status page an error count under the AJP-8009
>>> section of the page.
>>> How do I go and find out what those errors are?
>>> How does one turn on logging for AJP?
>>> I have logging turned on for mod_jk in Apache... but what about logging
>>> for Tomcat's side of the AJP protocol?
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10453097
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
Re: Tomcat 6 Manager logging
Posted by ewsinc <ew...@gmail.com>.
not quite. other errors remain complaining about sockets not open:
[Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c (1178):
Socket 16 is not connected any more (errno=-1)
[Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c (1202):
Error sending request. Will try another pooled connection
[Sat May 12 22:47:34 2007] [info] ajp_send_request::jk_ajp_common.c (1225):
All endpoints are disconnected or dead
[Sat May 12 22:47:34 2007] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1
Removing the APR libraries (libtcnative*.* that I build from the Tomcat
6.0.10 distribution) from my JAVA path
and then restarting Tomcat allowed the threads sockets to open and stay
open.
found this recent http://jira.codehaus.org/browse/JETTY-322 post with
someone seeing related problems and patching mod_jk... I will try getting
the latest mod_jk and see if they work better with the latest APR libs.
ewsinc wrote:
>
> found the problem ... it was SELinux disabling access to the
> jk-runtime-status file...
> which mod_jk wanted to access at startup of httpd/mod_jk.
>
>
> ewsinc wrote:
>>
>> I see in the Manager/status page an error count under the AJP-8009
>> section of the page.
>> How do I go and find out what those errors are?
>> How does one turn on logging for AJP?
>> I have logging turned on for mod_jk in Apache... but what about logging
>> for Tomcat's side of the AJP protocol?
>>
>
>
--
View this message in context: http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10452551
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
Re: Tomcat 6 Manager logging
Posted by ewsinc <ew...@gmail.com>.
found the problem ... it was SELinux disabling access to the
jk-runtime-status file...
which mod_jk wanted to access at startup of httpd/mod_jk.
ewsinc wrote:
>
> I see in the Manager/status page an error count under the AJP-8009 section
> of the page.
> How do I go and find out what those errors are?
> How does one turn on logging for AJP?
> I have logging turned on for mod_jk in Apache... but what about logging
> for Tomcat's side of the AJP protocol?
>
--
View this message in context: http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10450546
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