0 Replies Latest reply on Oct 8, 2011 4:20 PM by Emil Nilimaa

    Deployment without destroying web sessions?

    Emil Nilimaa Newbie

      How do I deploy files to an exploaded .ear file containing and exploaded .war file with my webcontent without destroying the current sessions (which forces users to re-login)?

       

      Right now i simply copy the .ear folder to the server's deployments folder. And touch a file .ear.dodeploy to make it deploy.

       

      But I want to be able to deploy single files during development, and creating the .dodeploy file seems to wipe out existing sessions in the server. This is truely annoying when you have a webapp that requires login and have to change pages frequently during development.

       

      Before (JBoss 5) I've simply copied files into the exploaded war in the delploy folder and it has worked fine...

       

      How do I achieve the same results with JBoss 7?