2 Replies Latest reply on Dec 14, 2010 8:28 PM by herbertleung

    deploy to custom directory

    herbertleung

      Hi all,

       

      I would like to know can I config Jboss so that when in hd of a .war (e.g. ABC.war) file, the 'exploded' content will not deploy to /tmp/<system generated folder>/ABC.war , but can deploy to a specific folder, e.g. jboss_home/server/default/deploy/ABC.war ?

       

      Certainly, exploded deployment is not my current solution.

       

      I found some docs saying that can configure profile.xml but it is the hd directory (scanning) i/o 'deploy to' directory ...

      any suggestions ? thanks in advance.

       

      I am using jboss 5.1.0GA

       

      regards,

      Herbert

        • 1. Re: deploy to custom directory
          wdfink

          AFAIK it is not possible or even deep in JBoss internals.

           

          But what is the intention behind the question, normaly you might able to deploy your app exploded to the hdscanner directories.

          • 2. Re: deploy to custom directory
            herbertleung

            Thanks for your advice.

             

            Indeed, our team has to deploy a system  (.war format) to other parties which some of them use tomcat, some of them use jboss, some of them use others. As system has to customise custom properties for each party, another program has been developed to code with this. However, the program has to know the path of deployed war files, that's what we are confusing when jboss is used.  If JBoss has no such configuration, I think we have to report to team manager and suggest to use exploded deployment instead.