RE: Failing a JK Worker thread

2005-03-16 Thread Varley, Roger
> > 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 >

Re: Failing a JK Worker thread

2005-03-15 Thread Dan Thiffault
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. I couldn't find any sign of code

RE: Failing a JK Worker thread

2005-03-15 Thread Guernsey, Byron \(GE Consumer & Industrial\)
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

Re: Failing a JK Worker thread

2005-03-15 Thread Mladen Turk
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. Ho

Re: Failing a JK Worker thread

2005-03-15 Thread Dan Thiffault
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,