You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by thomas2004 <th...@yahoo.de> on 2009/10/30 08:45:36 UTC

[users@httpd] sending request to tomcat failed (unrecoverable) ...

I met a problem:

I use the Apache Httpd Web Server as the web-load-balancing. It works as an
interface between the Client-User and the back-end program deployed on
Jboss.

One of the function of the web-application is generating portfolio-report
and this is a PDF file. The problem is, if the user click "Generate
Report-Light", after a few seconds the user will get the PDF shown in
browser. The PDF is small and has just 3 pages. But as the user click
"Generate Report" (this report is big and has 300 pages and 7 MB), it takes
very long time without end and can not get the PDF shown. I read the
mod_jk.log and find the following error messages:

[code]
[Fri Oct 30 08:22:59 2009] [13902:2537062720] [info]
ajp_service::jk_ajp_common.c (2447): (worker_portfolio_son1) sending request
to tomcat failed (unrecoverable), because of client write error (attempt=1)
[Fri Oct 30 08:23:01 2009] [13902:2537062720] [info] service::jk_lb_worker.c
(1384): service failed, worker worker_portfolio_son1 is in local error state
[Fri Oct 30 08:23:01 2009] [13902:2537062720] [info] service::jk_lb_worker.c
(1403): unrecoverable error 200, request failed. Client failed in the middle
of request, we can't recover to another instance.
[Fri Oct 30 08:23:01 2009] worker_portfolio
citibank-extranet-ru-test.civ-versicherung.de 428.125670
[Fri Oct 30 08:23:01 2009] [13902:2537062720] [info] jk_handler::mod_jk.c
(2608): Aborting connection for worker=worker_portfolio
...
[/code]

If I take out the Http-WebServer, i.g. let the access to Jboss directly,
there is no problem.

I think it could be the problem of timeout-setting in "workers.properties".

Here is my "workers.properties", can someone tell me where should I change?

[code]
worker.list=jkstatus, worker_portfolio

worker.jkstatus.type=status

worker.template.connection_pool_timeout=1000
worker.template.socket_keepalive=True
worker.template.lbfactor=1
worker.template.type=ajp13
worker.template.ping_timeout=10000
worker.template.ping_mode=A
worker.template.retries=2
worker.template.activation=A
worker.template.recovery_options=7

# Definition worker_portfolio and his son
worker.worker_portfolio.balance_workers=worker_portfolio_son1
worker.worker_portfolio.error_escalation_time=0
worker.worker_portfolio.sticky_session=True
worker.worker_portfolio.type=lb

worker.worker_portfolio_son1.reference=worker.template
worker.worker_portfolio_son1.port=8009
worker.worker_portfolio_son1.host=appl-portfolio-test.proactiv.de

[/code]

-- 
View this message in context: http://old.nabble.com/sending-request-to-tomcat-failed-%28unrecoverable%29-...-tp26126101p26126101.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: sending request to tomcat failed (unrecoverable) ...

Posted by thomas2004 <th...@yahoo.de>.
I moved the mod_jk and the workers to another web-server and it works fine. 

Seems the problem does not lie on the mod_jk and workers configuration but
somewhere else.

But where?
-- 
View this message in context: http://old.nabble.com/sending-request-to-tomcat-failed-%28unrecoverable%29-...-tp26126101p26131613.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: sending request to tomcat failed (unrecoverable) ...

Posted by thomas2004 <th...@yahoo.de>.
I've added the reply_timeout as follow:

worker.worker_portfolio_son1.reply_timeout=0

to the workers but I got the same error.
-- 
View this message in context: http://old.nabble.com/sending-request-to-tomcat-failed-%28unrecoverable%29-...-tp26126101p26129436.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: sending request to tomcat failed (unrecoverable) ...

Posted by thomas2004 <th...@yahoo.de>.
Besides, I use httpd 2.0.5
-- 
View this message in context: http://old.nabble.com/sending-request-to-tomcat-failed-%28unrecoverable%29-...-tp26126101p26126296.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org