I have configured the properies file in JBoss AS 6 using properties-service.xml . here is my configuration for JBoss AS 6-->
<mbean code="org.jboss.varia.property.SystemPropertiesService"
name="jboss:type=Service,name=SystemProperties">
<attribute name="URLList">
here is path for properties file.
</attribute>
</mbean>
Now i have installed the JBoss AS 7 server on my machine. How can I deploy or configure these properties AS 7?
System Properties can be set in the standalone.xml
, host.xml
or domain.xml
files depending on whether you are running a standalone instance, or configuring a member of a managed domain. Check out the following JBoss community documentation links:
Link: JBoss AS 7 Admin Guide - System Properties
Link: JBoss AS7 System Properties article
You can also configure properties using the -P={properties file}
syntax, which is very useful. Then in any of the standalone.xml
files, you can use ${your.property}
type syntax.
i.e. in /bin you can run:
standalone.bat -P=mysettings.properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With