Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: Re: mod_jk - fail_on_status per LB, not per worker

Subject: Re: mod_jk - fail_on_status per LB, not per worker

2007-10-04       - By Rainer Jung

 Back
I think your decision is a wise one :)

You can help by opening a bugzilla issue (Enhancement) for this topic.

This way we will remember easier, when we start JK3.

Regards,

Rainer

James Masson wrote:
> Hi Rainer,
>
> thanks for the advice - I think we'll stick with the current
> configuration, as people here seem to understand it quite well. I don't
> really like the idea of having to custom tweak things like the time-outs
> on connection pools, for every entry, just because we're trying to make
> mod_jk do something it wasn't designed to do.
>
> Hopefully this enhancement will make it onto your to-do list at some
> point. I'll be patient, if you need any help in testing this, let me know...
>
> regards
>
> James Masson
>
> Rainer Jung wrote:
>> No easy idea. At the moment, fail_on_status is only for workers, and
>> not for workers in mounts.
>>
>> If you want to go the worker way, there are some simple tricks to not
>> make it to complicated:
>>
>> - you can use the reference-attribute, to use worker templates. That
>> way each worker only needs to config lines, that are individual for
>> the worker. Worker templates also work hierarchical, so you can have a
>> very general setup, then some additional things for alle workers
>> belonging to some app etc. and finally the things for individual workers.
>>
>> - If you use multiple workers per Tomcat (e.g. worker=webapp), then to
>> keep stickyness, you don't use the automatic worker name = jvmRoute.
>> Instead you add the route attribute to the workers, giving multiple
>> workers (webapps) the same route. This could again be done in a
>> template via a reference.
>>
>> - make sure, that you use the idle timeout mechanisms of the
>> connection pools, because each webapp-lb will have it's own connection
>> pool to the target Tomcat (and each connection needs a thread inside
>> the target Tomcat). Look at
>>
>> http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
>>
>> - If you use fail_on_status, you want to ensure, you are using version
>> 1.2.25. fail_on_status is relatively new, and we had some fixes in the
>> latest versions. At the moment, there is no known bug about it.
>>
>> - Unfortunately there's a bug with "reference" and debug log level for
>> JK in 1.2.25 (the bug really only shows up with debug log level, but
>> then the web server immediately crashes during startup). The fix is in
>> trunk, but not yet released.
>>
>> It might be nice to think deeper about how to structure the objects
>> around lb/workers on the one side, and mounts on the other side. At
>> the moment we can only manage mounts or lbs or workers, but not an lb
>> or worker in a mount.
>>
>> Regards,
>>
>> Rainer

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.