Set properties file in JBoss AS 7

I set up the properties file in JBoss AS 6 using the 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 installed the JBoss AS 7 server on my machine. How can I deploy or configure these properties of AS 7?

+5
source share
3 answers

System properties can be set in files standalone.xml, host.xmlor domain.xmldepending on whether the stand-alone instance is running or the managed domain element is being configured. Check out the following JBoss community community documentation links:

Reference: JBoss AS 7 Administrator Guide - System Properties

Reference: JBoss AS7 System Properties Article

+8
source

-P={properties file}, . standalone.xml ${your.property}.

. /bin :

standalone.bat -P=mysettings.properties
+4

,

localhost: 8080> Configuration> Environment properties

0
source

All Articles