[jboss-user] [Beginner's Corner] - Deploy webapp in external dir (AS 5.1.0)
do-not-reply at jboss.com
Tue Sep 8 23:58:56 EDT 2009
I'd like to try and deploy some of my apps to directories which aren't until the JBOSS_HOME, but I'm not really sure how to do it, and/or if it is possible to do what I want.
I found this wiki page: http://www.jboss.org/community/wiki/HowtodeploymyapplicationinanexternaldirectoryinJBoss-5
however when I try it, I get some errors on startup.
Using this approach, the relevant section of my profile.xml looks like this:
<!-- Custom deploy folders -->
Both c:/app1 and c:/app2 are empty folders (I have also tried placing a .war file in each).
However JBoss won't start with this configuration. I think it's expecting more stuff in those folders yes? eg.
HOwever this isn't what I want. What I really want to do is just have 2 apps each in a separate folder.
Similar to what you can do by adding this to a standalone tomcat's conf/server.xml:
<Host name="app1.local" appBase="webapps"
| unpackWARs="true" autoDeploy="true"
| xmlValidation="false" xmlNamespaceAware="false">
| <Context path="" docBase="c:/app1"/>
Is it possible to do this on JBoss 5.1.0, and if so, how?
Thanks in advance,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254070#4254070
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254070
More information about the jboss-user