----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
I had asked a similar question before but got no good response.
Am trying again, hopefully someone will help me out :)
I want to write an admin servlet that lets me:
- see the current number of sessions active in jserv
- forcibly evict some sessions if I need to
- restart the server
- schedule the server to restart when the num of sessions drops to 0
I can do most of these tasks through some kludges, but I
was thinking there must be a better way to do it.
I was thinking that maybe I should write my own object that extends
jserv, and run that instead of jserv. This gives me access to
a bunch of protected jserv methods that allow me to restart etc.
But I don't think it gives me access to jserv internals like session
management etc.
What can I do to "peek" inside a running jserv and send it restart
signals etc?
Am I totally on the wrong path here? Hasn't anybody needed to
do these kinds of things?
Any help would be welcome.
thanks,
naeem
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]