[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can descriptor read system variable?

Kalimero do-not-reply at jboss.com
Wed Aug 22 11:30:42 EDT 2007


You can do something like this:

in you service xml file use the variable "myvar"

  | usage: ${VARNAME}
  | 
  | eg:
  |   <mbean code=".." name="${myvar}">  	
  |      ....
  |   </mbean>
  | 

start jvm:


  | -Dmyvar=myvalue
  | 

hope this idea will help you.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076935



More information about the jboss-user mailing list