[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to add custom properties to xml?
PeterJ
do-not-reply at jboss.com
Thu Feb 21 15:05:11 EST 2008
The *-ds.xml file is used as a template to generate several (3-6, if I recall correctly) MBeans. Once the MBeans are generated, the *-ds.xml file is ignored. Apps get at the data source by looking up the name (jdbc/LEDataSource in your example) in JNDI which yields one of the MBeans.
For web app properties, those are usually best placed into a properties file accessible by the web app (for example, located in WEB-INF/classes), or you could use the properties service - see the properties-service.xml file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131205#4131205
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131205
More information about the jboss-user
mailing list