I made some progress today. My problem with Transactions was a simple one from a 
Oracle DataSource Standpoint. In WebLogic you do not have to set the 
TransactionManager using the TopLink JTSSynchronizationListener, but in JBoss you do. 
So the following code fixed the problem with exception using the Oracle DataSource: 

javax.transaction.TransactionManager tm = 
(TransactionManager)JNDIHelper.lookup("java:/TransactionManager");
JTSSynchronizationListener.setTransactionManager(tm);


I still cannot get Oracle XA DataSources to work. I am still getting the XAER_RMERR I 
mentioned in my first email. I believe it is that the initxa.sql/initjvm.sql script 
has not been run in the database. But if anyone has other ideas on the Oracle XA 
DataSource that would be great thanks. 
By the way I also found out the problem with  TopLink JNDIConnector and 
InvalidNamingException not a CompoundName.  It is not a compound name, TopLink's 
JNDIConnector returns a CompositeName which JBoss does not handle.  After looking 
through the JBoss 3.0.4 code I noticed that it only seems to support CompoundName.  
Can anyone confirm that? 

Thanks 

Mike H. Sr. 



Mike H. Sr.
                                                              
Michael Huneycutt Sr.
TRC - A perotsystems* Company
Email: [EMAIL PROTECTED] 
Office FL: (813) 891-6084 x47395
Office VA: (804) 934-0977
Cell: (804) 304-7655
URL:   www.trcinc.com
           www.perotsys.com




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

Reply via email to