Bugs item #684605, was opened at 2003-02-11 14:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=684605&group_id=22866

Category: JBossTX
Group: v3.2
Status: Open
Resolution: None
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: 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