In that vain, we have been getting these messages since the dawn of
time.  We are using Oracle, a commercial database.  JBoss3.0.4.  Windows
2000.

What should we look for in our configuration files.  Is it a switch we
need to turn on?  We use BMP with CMT.

12:00:31,343 WARN
[LocalTxConnectionManager$LocalConnectionEventListener] prepare called
on a local tx. You are not getting the semantics you expect!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Adrian Brock's info on xa datasource for
prepare()

Hypersonic does not support XA. You need to use one of the
commercial databases or Firebird.

Rgds,

Dan.

-- 
Danny Yates
 


-----Original Message-----
From: Philipp W. Kutter [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2003 14:55
To: [EMAIL PROTECTED]
Cc: Philipp W. Kutter
Subject: [JBoss-user] Adrian Brock's info on xa datasource for prepare()


On 7/6/03 Magehs Prabhu asked about a warning:

 WARN  [TxConnectionManager$LocalXAResource] Prepare called 
  on a local tx. Use of localtransactions on a jta transaction with 
  more than one branch may result in inconsistent data in some cases 
  of failure.
   
And Adrian Brock answerd:

 >It is telling you your local-tx-datasource doesn't have a prepare(),
 >the commit() could fail leaving your data in an inconsistent state.

And later explained that one needs a xa datasource for prepare()


I am playing with an example derived from the Gangster example of the 
JBoss 3.2.1. documentation.
Thus I never did set up a datasource, I am just using the built in 
Hypersonic one.

I get the very same warning.


How can I avoid this warning? How can I get "a xa datasource for 
prepare()" for the built in
datasource?

If anyone who knows could help me would be great!

I understand that adding "a xa datasource for prepare()" should be 
simple for someone settting up datasources,
but I wanted to take advantage of the fact that a datasource is built in

and I do not need to set one up.

Best Regards,
Philipp Kutter



From: Adrian Brock <[EMAIL PROTECTED]>
Re: WARN [...] what they mean...  
2003-07-06 16:10

 On Sun, 2003-07-06 at 16:40, Magesh Prabhu wrote:
 
 > I could'nt understand this Adrian, I'm using Oracle 8.1.6 database
with
the following
datasource configuration:
 > 
 > <datasources>
 >   <local-tx-datasource>
 >     <jndi-name>OracleDS</jndi-name>
 >
<connection-url>jdbc:oracle:thin:@193.16.18.126:1521:clipper</connection
-url
>
 >     <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
 >     <user-name>test</user-name>
 >     <password>test</password>
 >    
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.Orac
leEx
ceptionSorter</exception-sorter-class-name>
 >   </local-tx-datasource>
 > </datasources>
 > 
 > Could you please give more explanation on your comment.. Should my
jdbc
driver support
this prepare() method....  My transaction is all Container managed and I
run
on Commit
Option 'B'
 > 
 
 You need the xa datasource for prepare()
 




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_____________________________________________________________________ 
Notice to recipient: 
The information in this internet e-mail and any attachments is
confidential
and may be privileged. It is intended solely for the addressee. If you
are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure,
copying,
distribution or any action taken or omitted to be taken in reliance on
it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in
this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter
issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of
America
Futures Incorporated are regulated by the Financial Services Authority.
_____________________________________________________________________ 




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to