[jboss-user] [Beginners Corner] - Re: working directory

PeterJ do-not-reply at jboss.com
Sun Mar 18 14:20:09 EDT 2007


Look in server/default/conf/jboss-services.xml. The last mbean (URLDeploymentScanner) has an attribute named URLs. You can add a directory there. In addition, all of your exploded directories will have to have the .war and .ear extensions. For example, assume the directories:

c:\wk\prg\jboss\webapp.war\...
c:\wk\prg\jboss\something.ear\...

Then change the URLs attribute as follows:

<attribute name="URLs">
  |    deploy/,file://c:/wk/prg/jboss/
  | </attribute>

(Note: I am not sure about the number of slashes required between file: and c:, it could be 1, 2 or 3)

This causes the deployer to deploy all applications, whether exploded or packaged in files, in the c:/wk/prg/jboss directory. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029125#4029125

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029125



More information about the jboss-user mailing list