Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

jk2 is ignoring graceful flag

Johann Uhrmann

2004-01-21


Hello,

according to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html
setting graceful to 1 in the channel.socket session should disable the
channel for new sessions.

In my installation, the flag seems to be ignored.

Therefore, I have two questions:

1. If I want a channel to get requests for existing sessions only,
  is the correct setting:

    a) graceful = 1
      disabled = 0

 or

    b) graceful = 1
      disabled = 1

2. If a channel is configured for not accepting any new sessions,
  how can the number of remaining sessions be checked?

  I need this to determine if the tomcat instance can be safely
  switched off without kicking out users.

Thank You,

Johann Uhrmann

--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



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