2 Replies Latest reply on Jun 23, 2010 2:51 AM by ssroy73

    Tmp Folder creation

    ssroy73

      Hi,

       

      We are using JBoss 4.2.3 in our application.

       

      When I deploy an application in WAR format a tmp directory of WAR is created in  "Jboss\server\default\tmp\deploy" folder. Everytime I restart my application server a different number is generated and concatenated with the WAR file folder. We have a requirement to keep the tmp folder name same i.e., if my WAR file name is "MyApp.war" then tmp folder name should be "tmpMyTmp-exp.war" (which means tmp folder name will not change).

       

      Any suggestion will be greatly appreciated.

       

       

      Thanks & Regards,

       

      Roy

        • 1. Re: Tmp Folder creation
          peterj

          Perhaps exploded deployment will meet your needs: http://community.jboss.org/wiki/ExplodedDeployment

          • 2. Re: Tmp Folder creation
            ssroy73

            Thanks a lot Peter.

             

            Forgot to mention that we are moving JBoss server in clustered environment and as per the link, it says exploded option does not work in farm. So is there any other option to achieve the scenario I have mentioned.

             

             

            The reason to keep this in exploded format is we are evaluating Hyperic HQ to monitor Apache web server and application. Now each time we restart Jboss, a different tmp folder is created and the same is used as service by Hyperic HQ for monitoring. And because of this we are unable to keep all monitiring details under one service only.

             

            I will really appreciate any input on this.

             

            Many Thanks.

             

            Best Regards,

             

            Roy