Java Mailing List Archive

http://www.junlu.com/

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

Need simple app to test tc5 session failover - please

Dan Carwin

2005-02-18

Replies:

Hello Tomcat users and creators. Thank you all for helping out.

Can anyone point to me a simple app that I can use to test if tomcat 5
session failover is working? I don't think any of the standard tomcat
examples will work. I tried numguess, but my guess count gets reset to 1
each time I fail over.

I'm not a java programmer so I'm not able to write my own test app. I do
know from the docs page that an app has to meet (at least) the following
two requirements:

1. All your session attributes must implement java.io.Serializable
2. Make sure your web.xml has the <distributable/> element

I'm using tomcat 5.0.30 on linux. I have just set up jk-based load
balancing and uncommented the cluster section in the server.xml.

Thanks very much,
dcarwin@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.