This content has been marked as final.
Show 2 replies
-
1. Re: Migrating SystemPropertiesService to JBoss AS 7
jaysensharma Nov 27, 2014 6:44 AM (in response to valsaraj007)"SystemPropertiesService" is not available in JBossAS7. So yes, You can define the system properties using the <system-properties> tag or by using the "-P" option while starting your standalone instances:
./standalone.sh -P /PATH/TO/YoutPropertiesFile.properties
In domain mode you can define it at the server as well as at the server-group level. You can add "boot-time" attribute there which indicates whether or not this property will be set at boot-time.
[domain@localhost:9999 /] /server-group=main-server-group/system-property=aaa:add(value="bbb",boot-time=true) OR [domain@localhost:9999 /] /host=master/server-config=server-one/system-property=ccc:add(value="ddd",boot-time=true)
-
2. Re: Migrating SystemPropertiesService to JBoss AS 7
valsaraj007 Nov 27, 2014 7:27 AM (in response to jaysensharma)Thanks