[jboss-user] [Installation, Configuration & Deployment] - system properties in datasources

sba do-not-reply at jboss.com
Mon Sep 11 08:53:54 EDT 2006


Hi there

Can I use system properties in datasource configs? Example of DS:
...
<xa-datasource-property name="Password">${datafeed.usr.pwd}</xa-datasource-property>
...

db.properties:
datafeed.usr.pwd=very_secret

I don't seem to be able to. Would be a nice feature, though. Example:
The system administrators can give the developer a login that has only permitions to read configs, except the properties file with the production db passwords that can't be read at all using this special login.

Or another example would be having the same datasource config for a DEV, TEST and PROD environment under revision controll. Only the properties file containing the password would different.

Cheers,
Stephan



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

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



More information about the jboss-user mailing list