[jboss-user] [Installation, Configuration & Deployment] - Reading Runtime Property Files from EAR

jantzen do-not-reply at jboss.com
Wed Jul 4 16:19:19 EDT 2007


Hello,

I'm trying to introduce runtime properties to my EAR-based application.  Ideally I would read in a default properties file, and then an an overrides properties file into a java.util.Properties object to be queried by my application at runtime.

Is there a standard way of doing this?  The closet thing I've seen is the properties-service.xml mbean, but that looks like it is meant for VM specific properties, not application-specific properties.

I've also tried loading the file as a module in my application.xml file but I get an "incomplete deployment" error on startup, even when specifying the alt-dd element.

Any suggestions? Thanks,
jantzen

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

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



More information about the jboss-user mailing list