Bugs item #684605, was opened at 2003-02-11 14:37
Message generated for change (Settings changed) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=684605&group_id=22866

>Category: JBossCX
Group: v3.2
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Marek Drejak (marekdrejak)
Assigned to: David Jencks (d_jencks)
Summary: Two connections in one XA transaction

Initial Comment:
I am testing JBoss 3.2.0RC1 and Oracle 9.0.1.2.0 on 

Windows 2000 using JDK 1.4.0_02.



I have deployed a "thin" OracleXADataSource without 

default username and password, setting 

ManagedConnectionPool's Criteria to ByApplication.



In runtime, during one transaction, I call first 

ds.getConnection("user1",password1") and then 

ds.getConnection("user2",password2"), which gives error 

message "Wrong credentials passed to getConnection!".



Is it not allowed to have two different connections from 

one data source during one XA transaction?

Or is it a bug?



I deployed the data source using oracle-xa-service.xml 

(from docs\examples\jca). I tried also deployment with 

oracle-xa-ds.xml with the same result.



I attach a file with trace from the console.

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

>Comment By: Adrian Brock (ejort)
Date: 2003-09-15 13:44

Message:
Logged In: YES 
user_id=9459

Duplicate of 648442

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

Comment By: Marek Drejak (marekdrejak)
Date: 2003-02-14 15:49

Message:
Logged In: YES 
user_id=709725

Yes, we can define one datasource per database logon. But it 

would be nice to skip this in the future releases.



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

Comment By: David Jencks (d_jencks)
Date: 2003-02-12 18:47

Message:
Logged In: YES 
user_id=60525

I'll have to think about whether this can be supported.  Meanwhile can you use more 
than one datasource, two in your example?

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

Comment By: Marek Drejak (marekdrejak)
Date: 2003-02-11 14:52

Message:
Logged In: YES 
user_id=709725

Here comes the file with trace from the console

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=684605&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to