This content has been marked as final.
Show 3 replies
-
1. Re: Jboss AS 5 Deployment how-to
peterj Aug 3, 2009 5:38 PM (in response to ehelfrich)What version of JBoss AS? I hope it is 5.1.0 or the file locations I am about to tell you are not correct.
Look in server/xxx/conf/bootstrap/profile.xml, the BootstrapProfileFactory bean. It has an applicationURIs property. Simply add a new entry for your directory. Example:<bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.repository.StaticProfileFactory"> . . . <property name="applicationURIs"> <list elementClass="java.net.URI"> <value>${jboss.server.home.url}deploy</value> </list> <list elementClass="java.net.URI"> <value>file://path/to/your/directory</value> </list> </property> . . . </bean>
By default, the listed directories are scanned every 5 seconds. You can change that by editing the scanPeriod property for the HDScanner bean declared in server/xxx/deploy/hdscanner-jboss-beans.xml file. -
2. Re: Jboss AS 5 Deployment how-to
ehelfrich Aug 4, 2009 9:19 AM (in response to ehelfrich)Thanks for the quick response. It is 5.1.0 . Are the docs anywhere online? I looked and looked and only then posted.