1 Reply Latest reply on Nov 13, 2006 10:45 AM by Peter Johnson

    File persistence

    Stefan Borca Newbie


      I'm new with JBoss, sorry if this is a stupid question.
      I've created a web application that I've tested on Apache. This application saves some files in the directory MyApp/WEB-INF/repository/. When I've moved my MyApp.war archive on JBoss I had a problem. If I restart the JBoss the files are lost because the JBoss creates another directory in /tmp to deploy the application after restart.
      Can somebody tell me how can I configure my application to inform JBoss to keep the content of the directory /WEB-INF/repository when restarts?

      Thank you,