-
1. Re: Lost of session redeploying a servlet (Servlet.war)
lasterra Jan 9, 2003 7:18 AM (in response to cronos)Hola Cronos,
I have read some time ago that this will be a feature of Jboss but i think it is not implemented yet.
Maybe the experts could tell as somthing about this feature. BTW I think it could be a great one feature.
Un Saludo, Enrique. -
2. Re: Lost of session redeploying a servlet (Servlet.war)
cronos Jan 9, 2003 7:39 AM (in response to cronos)Thanks :)
If this isn't supported it would suppose that 'Hot Deploy' is False, isn't it?
It must have a way to do this.
Please help to solve this problem.
Gracias poo contestar :) crei que estaba solo en el universo. -
3. Re: Lost of session redeploying a servlet (Servlet.war)
luwasoft Mar 31, 2003 1:18 PM (in response to cronos)The JBoss-Tomcat bundle does remember the Session even after a new *.war deployment,
*BUT*:
- Redeploying a war means:
1. undeploying the old,
2. deploying the new war.
- The Session gets serialized at undeploy, restored at deploy, so you have to make sure that all the object you store to your session context are serializable.
- Restoring the session will fail if the class ID's of any of the stored objects changed, means your session is only able to continue is none of the persistant session data objects class definition changed (!).
- Your web application design should be made in a way that anything except persistant session data will be restored on request.