1 Reply Latest reply on Sep 30, 2002 10:28 AM by davidjencks

    Access datasource config (usr/pass)

    nkaiser

      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.

        • 1. Re: Access datasource config (usr/pass)
          davidjencks

          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?