-
1. Re: Deploy WAR from directory outside of JBoss deploy direct
raja05 May 4, 2004 11:29 PM (in response to birwin)Add an entry to the URLDeploymentScanner's attribute called URLs. Right now it points to deploy , you can add another entry in it, that points to ur external location. But then everything in that directory would also be considered for deployment by jboss.
-
2. Re: Deploy WAR from directory outside of JBoss deploy direct
cjimison May 5, 2004 9:27 AM (in response to birwin)I would like to do something simular to this but I need the directory change to be reflected in the URL for the webserver as well. I would like to deploy several versions of the same .war file. The way I would like to do this is to have the current app.war file in the /deploy (or some other directory) and then all the older versions of the app.war file in a different directory. Then have it so I can access all of these versions on the web like so:
/deploy/app.war maps to http://myserver:port/app
/deploy/versionX.1/app.war maps to http://myserver:port/versionX.1/app
/deploy/versionX.2/app.war maps to http://myserver:port/versionX.2/app
When I try this I get the following error:
java.lang.IllegalArgumentException: addChild Child name '/app.war' is not unique
.......
Thanks in advance for any help -
3. Re: Deploy WAR from directory outside of JBoss deploy direct
socrplyr May 5, 2004 9:53 AM (in response to birwin)Tomcat 4.x and 5.x support deploying a webapp using an XML file stored in either the conf directory or the webapps directory (depending on version) that looks something like:
<Context path="/myApp" docBase="C:/cvs/myApp" debug="0" privileged="true" reloadable="true"> </Context>
Is this possible with JBoss? -
4. Re: Deploy WAR from directory outside of JBoss deploy direct
hergaty Jun 17, 2004 6:04 PM (in response to birwin)Hi, did you found a solution for your problem above?
Greats,
Thomas