Hi,
for my project I need to connect to sa second db with the usr/pass used for my jboss datasource. I want to be able to read it form the configuration. Is there a way to do this or will I have to parse the config file?
Thx.
You don't say what jboss version you are using, so I'll assume cvs HEAD.
If you set default user/pw in the ManagedConnectionFactory configuration you can get them through jmx.
Why not set up two datasources with the same security info?