-
1. How to deploy my application in an external directory in JBoss-6
lelleh Feb 2, 2011 10:58 PM (in response to sp.macuser)I tried it, and it works for me
-
2. How to deploy my application in an external directory in JBoss-6
mp911de Feb 3, 2011 1:38 AM (in response to sp.macuser)please see http://community.jboss.org/thread/161938
-
3. How to deploy my application in an external directory in JBoss-6
sp.macuser Feb 4, 2011 4:25 PM (in response to mp911de)Thank you, Leiv/Mark, for the info. Sorry for not getting back right away. Was Struggling with several other issues with my jboss upgrade.
Adding "applicationURI" property to the "BootstrapProfileFactory" bean in "conf/boostrap/profile.xml" did not work for me. The error I get indicates "applicationURIs" property is not supported by "BootstrapProfileFactory" bean.
Mark, from the thread you suggested - it wasn't clear to me which file needs to get updated with the classpath setting for my JBoss 6.0.0 Final build.
I tried changing "UserProfileFactory" bean in "conf/boostrap/profile.xml" and that worked. I am not sure if this will work when I deploy my app as a root user in production. Any input is appreciated.
<bean name="UserProfileFactory"
class="org.jboss.system.server.profileservice.bootstrap.StaticBootstrapProfileFactory">
<property name="confURI">${jboss.server.config.url}</property>
<property name="deployersURI">${jboss.server.home.url}deployers</property>
<property name="applicationURIs">
<list elementClass="java.net.URI">
<value>${jboss.server.home.url}deploy</value>
<!-- Add your own deploy folder -->
<value>file:///deploy/MyApp</value>
</list>
</property>
<property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
</bean>
Thanks
-
4. How to deploy my application in an external directory in JBoss-6
jaikiran Feb 7, 2011 1:55 AM (in response to sp.macuser)sp.macuser wrote:
Adding "applicationURI" property to the "BootstrapProfileFactory" bean in "conf/boostrap/profile.xml" did not work for me. The error I get indicates "applicationURIs" property is not supported by "BootstrapProfileFactory" bean.
Ah! Looks like the bean which was used to configure this in AS5 has now changed in AS6. I'll update that wiki for AS6. Thanks for pointing it out.
sp.macuser wrote:
I tried changing "UserProfileFactory" bean in "conf/boostrap/profile.xml" and that worked.
<bean name="UserProfileFactory"
class="org.jboss.system.server.profileservice.bootstrap.StaticBootstrapProfileFactory">
<property name="confURI">${jboss.server.config.url}</property>
<property name="deployersURI">${jboss.server.home.url}deployers</property>
<property name="applicationURIs">
<list elementClass="java.net.URI">
<value>${jboss.server.home.url}deploy</value>
<!-- Add your own deploy folder -->
<value>file:///deploy/MyApp</value>
</list>
</property>
<property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
</bean>
Thanks
Yes, that's the correct one for JBoss AS6.
-
6. How to deploy my application in an external directory in JBoss-6
sp.macuser Feb 7, 2011 11:58 AM (in response to jaikiran)Thanks for confirming!