Having a clustered environment complicates things :-)
One solution I am looking at is to leverage existing log4j calls in our code to send messages via a socket appender to a common console gui app.
One advantage is that the main servlet code doesn't have to change to support the console which can therefore be developed and enhanced as a independent side project.
Note also that as of v2.3 there is a new HttpSessionListener interface with methods sessionCreated() and sessionDestroyed() which gives a more direct indication than the bound/unbound methods of the HttpSessionBindingListener interface.
Michael Rutherfurd
"A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <SERVLET-INTEREST@JAVA.SUN.COM> wrote on 17/06/2004 04:19:15 AM:
> Thanks a lot Chris...But will it work in clustered environment where we
> can have 2 or more number of web containers. Is it possible to get the
> count in Clustered Environment?
>
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java ___________________________________________________________________________ To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff SERVLET-INTEREST".Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html