1 Reply Latest reply on Aug 28, 2008 11:46 PM by Matthew Demerath

    How can I read Sever properties?

    Matthew Demerath Newbie

      I have a need to have different properties base on the server.
      i.e QA, preproduction, production A or production B, I can load a local properties file into jboss with this code in the properties-service.xml



      <mbean code="org.jboss.varia.property.SystemPropertiesService" 
            name="jboss:type=Service,name=SystemProperties">
          <attribute name="URLList">
            ./conf/local.properties
          </attribute>
        </mbean>



      I can see them in the JMX view for the SystemPropertiesService. But how can I read them in my application?


      any suggestions.
      Thanks in advance.
      Matthew Demerath