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.
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
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?
Hi, did you found a solution for your problem above?