sending request to tomcat failed (unrecoverable) ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux