Jboss设置Java系统变量常用方法

Jboss设置Java系统变量常用方法

>>在Eclipse Jboss实例配置上


 

>>在Jboss{JBOSS_HOME}\server\mycis\deploy\properties-service.xml.

如下的<attribute name="Properties"> :

  <mbean code="org.jboss.varia.property.SystemPropertiesService" 
	 name="jboss:type=Service,name=SystemProperties">

    <!-- 
       | Load properties from each of the given comma seperated URLs

    <attribute name="URLList">
      http://somehost/some-location.properties,
      ./conf/somelocal.properties
    </attribute>

    -->

    <!-- 
       | Set raw properties file style properties.

    <attribute name="Properties">

      my.project.property=This is the value of my property
      my.project.anotherProperty=This is the value of my other property

    </attribute>
    -->
   
    <attribute name="Properties">
   		app_conf_path=D:\\Server\\jboss-eap-4.3.0.GA_CP06\\server\\mycis\\conf
   		snx_conf=D:\\Server\\jboss-eap-4.3.0.GA_CP06\\server\\mycis\\conf\\snx_conf
   </attribute>

  </mbean>

猜你喜欢

转载自jerval.iteye.com/blog/2058960