-
1. Re: How to create a new profile outside theJboss-as/server d
jaikiran Nov 22, 2009 8:31 AM (in response to jdabbi)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...?
-
2. Re: How to create a new profile outside theJboss-as/server d
jdabbi Nov 22, 2009 10:26 AM (in response to jdabbi)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 tree.
Thanks for your help in advance. -
3. Re: How to create a new profile outside theJboss-as/server d
peterj Nov 22, 2009 1:22 PM (in response to jdabbi)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 -Djboss.server.base.url=file:///opt/myconfig/
That should be the only two you have to set.
For a list of most of the properties: http://www.jboss.org/community/wiki/JBossProperties
Or use the jmx-console and the SystemProperites mbean to see everything.