2 Replies Latest reply on Jul 30, 2002 6:52 AM by anil105

    Using transactional & non-trans datasources

    anil105

      Hi,

      M working on porting my application on weblogic to jboss 3.0.1RC1.
      I would like to know whether I can use transactional & non-transactional datasources at the same time without any ill effects?
      I tried this but I keep on getting the following...
      --------------------------------------------------------
      17:26:25,740 WARN LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!

      --------------------------------------------------------

      Any help is appreciated.
      Anil

        • 1. Re: Using transactional & non-trans datasources
          davidjencks

          What kind of ill effects are you talking about? If you write data to two or more resource managers within a single transaction, you need xa drivers in order to assure consistency in the presence of failure conditions. JBoss lets you use as many non-xa "local tx" resource managers as you wish within a "transaction" but warns you if there is more than one. You should not be seeing this if there is only one transactional datasource with many non transactional datasources. You would see it with one xa datasource and one local tx datasource.

          • 2. Re: Using transactional & non-trans datasources
            anil105

            Hi David,
            I got what ur saying.Thanks.
            Anil