2 Replies Latest reply on May 12, 2008 4:01 PM by srikanth_vals

    Thru MBean or any code get values in *-ds.xml file

    srikanth_vals

      Hi,
      I would like to get the values in a *-ds.xml file. Is there any MBean which would give me the details of the datasource? Its very Urgent....

      -sri

        • 1. Re: Thru MBean or any code get values in *-ds.xml file
          peterj

          The *-ds.xml file is used to create up to 7 different MBeans, and the various values in the *-ds.xml file are distributed among those MBeans.

          Here are the seven MBeans, where XXX is the data source name:

          jboss.jca:name=XXX,service=DataSourceBinding
          jboss.jca:name=XXX,service=LocalTxCM
          jboss.jca:name=XXX,service=XATxCM
          jboss.jca:name=XXX,service=NoTxCM
          jboss.jca:name=XXX,service=ManagedConnectionFactory
          jboss.jca:name=XXX,service=ManagedConnectionPool
          jboss.jdbc:service=metadata,datasource=XXX

          Note that not all are present for any given data source.

          • 2. Re: Thru MBean or any code get values in *-ds.xml file
            srikanth_vals

            hi,
            could you please send me an example link or point me to unit test in JBoss src?

            -sri