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: 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: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to