Hey,
 
I think it would be nice to be able to access system properties within jboss.jcml or any other MBean XML descriptor.   I think this would greatly help the net-boot(--net-install) feature of JBoss 3.0.  For example, Jetty is packaged in a .sar in JBoss 3.0.  In that sar is the MBean XML descriptor that has a hardcoded path to Jetty's configuration file 'jetty.xml'.  Since it is hardcoded this sar file cannot be deployed from a net installation of jboss.  Instead of putting the url "../conf/default/jetty.xml" as the path to jetty's configuration, I think something like "${INSTALL_PATH}/conf/${CONFIG_DIR}/jetty.xml" would make things more flexible.  JBoss would set up the INSTALL_PATH and CONFIG_DIR on startup as System Properties.  Am I making any sense?
 
Bill

Reply via email to