Hello,
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" class="org.jboss.system.server.profileservice.StaticClusteredProfileFactory"> ... <property name="applicationURIs"> <list elementClass="java.net.URI"> <value>${jboss.server.home.url}deploy</value> <value>${jboss.server.home.url}deploy2</value> </list> </property> ...
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?