0 Replies Latest reply: Sep 3, 2010 10:46 AM by Dimitri Alexeev RSS

    DeploymentManager and multiple applicationURIs

    Dimitri Alexeev Newbie



      jboss has a bunch of .sar, .war, and .jar deployment artifacts as well  as a bunch of xml files in the default deploy directory.

      For the more safety and better management, we deploy our products to a separate directory.

      In our profile.xml we have multiple applicationURIs:


      <bean name="BootstrapProfileFactory" 
            <property name="applicationURIs">
               <list elementClass="java.net.URI">


      The re-deployment of products works normally by copying EAR-files into the /deploy2/ folder.


      However, I have no idea how to target the second folder if I want to deploy programmatically, using the DeploymentManager


      Any hints?