I think there's a way out. Instead of specifying the properties in the 
deploy/systemproperties-service.xml file, you can instead have a MBean as 
follows in the JBOSS_HOME/server/< servername>/conf/jboss-service.xml:

<!-- Jaikiran: Copied this SystemPropertiesService MBean from deploy folder  -->
  |    <mbean code="org.jboss.varia.property.SystemPropertiesService" 
  |       name="jboss:type=Service,name=MySystemProperties">
  |        
  |        
  |                  <attribute name="Properties">
  |                          
  |                          serverName=blahblah
  |                          
  |                          
  |                  </attribute>
  |                  
  |   </mbean>

That way, you don't have to worry about the deployment ordering and 
dependencies, since the conf/jboss-service.xml is always loaded during 
bootstrap of the server, before it picks up the deployments.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258345#4258345

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258345
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to