I'm using Jboss AS 4.0.5 in a linux red hat environment.
I have a web aplication (folder .war) deployed and running and when I need to update the content of the application, let's say a .jsp file, I just 'touch' to the web.xml and the automatic undeploy e deploy run. But then all users lost their sessions, so they need to login again. Is there any configuration I can make, because with jboss AS 3.X that never happened.
Thanks in advance.
Try doing an exploded deployment: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment
Then when you update a jsp, it will will be recompiled and deployed immediately - you do not have to touch web.xml.