-
1. Re: JBoss AS 5 -D versus --properties and 'jboss.platform.mbeanserver'
alesj Dec 1, 2011 4:03 AM (in response to alanwevans)I think there is a way to tell the AS to load properties from a file, but how exactly you do that sliped my mind atm ...
-
2. Re: JBoss AS 5 -D versus --properties and 'jboss.platform.mbeanserver'
peterj Dec 1, 2011 10:31 AM (in response to alesj)Look at the server/xxx/deploy/properties-service.xml file. It contains some comments that tell you how to load properties from a file (you have to reference the file using a URL such as file:///xxx/xxx/xxx.properties)
-
3. Re: JBoss AS 5 -D versus --properties and 'jboss.platform.mbeanserver'
alanwevans Dec 1, 2011 1:24 PM (in response to peterj)I am familiar with the properties-service however it loads AFTER rar files so it cannot be used to set properties that are necessary for RARs to function as expected.
Using --properties sets the properties in the bootstrap process which is really early in JBoss startup.
-Alan
-
4. Re: JBoss AS 5 -D versus --properties and 'jboss.platform.mbeanserver'
jaikiran Dec 6, 2011 7:20 AM (in response to alanwevans)Alan Evans wrote:
I am familiar with the properties-service however it loads AFTER rar files so it cannot be used to set properties that are necessary for RARs to function as expected.