Session.getId() throws IllegalStateException

2006-01-31 Thread Blair Cooper
the session as invalid until it has finished notifying the HttpSessionBindingListeners? Thanks, Blair Cooper public void valueUnbound(HttpSessionBindingEvent event) { String sessId = event.getSession().getId(); } java.lang.IllegalStateException: getId: Session already

Do idle servlets get unloaded/reloaded?

2006-01-24 Thread Blair Cooper
I have a servlet running on Tomcat 5.5. If it sits idle for a while and then I hit it, the init() method gets called again. "autoDeploy" is set to false. Is this expected behavior? If this is expected, shouldn't destroy() get called at some point prior to the init()? The problem I'm having