[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to persist data inside tmp folder after SErver restart?

login4sandeep do-not-reply at jboss.com
Fri Aug 29 01:07:04 EDT 2008

   I am using JBOSS server for deployment. I need to store some data inside my application context. So I have created a folder inside context root and added some files into it.When I deployed the app the war is created inside JBOSS deploy directory.When server starts it creates \server\default\tmp folder for every restart event.It copies data inside application context inside tmp folder.
    But when I run my ap and change data inside context, the data gets changes inside tmp folder and not inside war.So when server restarts old data inside war overrides new data inside tmp folder.I need to persist new data in context even if the server restarts.
  Is there any solution for this?(I don't wan't to use DB for this functionality).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173224#4173224

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173224

More information about the jboss-user mailing list