1 Reply Latest reply on Aug 29, 2008 3:00 AM by jaikiran pai

    How to persist data inside tmp folder after SErver restart?

    Sandeep Tarade Newbie

      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).