2 Replies Latest reply on Sep 27, 2013 1:49 PM by Wolf-Dieter Fink

    JBOSS 7.1 issue

    Sachin Aherrao Newbie

      Hello all,

      I am new to JBOSS Application server 7.1.

      I created war for my application and put it in deployments folder.

      Then I started the JBoss 7.1 application server.

      War got extracted at some temporary location.

      Now for my application We have some configurable properties.

      From inside application these properties get modified and get saved in context/web-inf/properties folder.

      This works for me when server is running.

      But if I restart the server then JBOSS 7.1 again redeploys the war at some different temporary location (instead of using previous location).

      Due to this my saved properties get lost.

      Is there any way I can prevent this?

      Any help will be greatly appreciated.

      Thank you in advance.

        • 1. Re: JBOSS 7.1 issue
          Naziya Syed Newbie



          tmp : location for temporary files written by the server


          And on every reboot, a new tmp will be created and the deployed application is unzipped in that folder.


          I think this behaviour must not affect your application's data, you may check out with your application if you can append your properties to previously saved ones...

          • 2. Re: JBOSS 7.1 issue
            Wolf-Dieter Fink Master

            If you use file IO this might have problems as the JavaEE spec does not allow this.


            But maybe you can use some jboss environment variables to store it somewhere in the conf folder , in any case this is specific to the AS version.