By profiles do you mean, you want to place the deployments outside the JBoss
AS folder structure? Or do you want to complete create a new set of profile
which includes the lib, deployers etc...?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266922#4266922
Jboss comes with a set of ptofiles such as default, all, web, etc. they are in
the jboss-as/servers directory. I would like to create a new profile for each
node of my cluster. however, i would like to place this profile on a separate
drive and directory that is outside the jboss-as directory
Yes, you can do this - just set the appropriate system properties to let the
app server know where to look.
For example, if you copy server/default to /opt/myconfig, then when starting up
the app server, add the following to the JAVA_OPTS:
-Djboss.server.base.dir=/opt/myconfig