Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss 7.1 how to deploy ear/war to an external directory

in JBoss 7.1, the default deploy directory is standalone/deployment.

I want to change this default to an external directory. I know in JBoss 5, I can specify this in profile-repository.xml.

How to do this in JBoss 7.1?

Thanks

like image 230
Eric Avatar asked May 08 '12 20:05

Eric


1 Answers

Have a look at the deployment scanner configuration. You can change the path to whatever or you want. Another option would be to use the default one, but add an additional deployment scanner for your other directory.

like image 171
James R. Perkins Avatar answered Sep 29 '22 21:09

James R. Perkins