Hi,
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,
Stefan
Try deploying your application as an exploded directory. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment. Then you WEB-INF directory will not be removed (it also will not be under tmp)