We have an application running as a webapp which requires legacy
systems and network resources which are not fault-tolerant. Luckily
these resources are stateless. So we have replicated these
resources so
that one is available per tomcat instance. When we attempt
to use one
of
I didn't hear back from any one so I looked through the code. I
couldn't find any sign of code that would provide this functionality,
so I added the following before line 605 of jk_ajp_common.c. I
recompiled and it seems to be working as intended so far.
if (d-status=500) {
jk_log(l,
Dan Thiffault wrote:
if (d-status=500) {
jk_log(l, JK_LOG_ERROR,
Tomcat server returned status=%d,d-status);
JK_TRACE_EXIT(l);
return JK_FALSE;
}
I may end up using a case statement and preventing apache from trying
the next worker on bad request or something like that. Hope
What is the situation where you find this useful?
Byron
-Original Message-
From: Dan Thiffault [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 1:41 PM
To: Tomcat Users List
Subject: Re: Failing a JK Worker thread
I didn't hear back from any one so I looked through the code
-Original Message-
From: Dan Thiffault [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 1:41 PM
To: Tomcat Users List
Subject: Re: Failing a JK Worker thread
I didn't hear back from any one so I looked through the code. I couldn't
find any sign of code that would provide this functionality, so I