Hello Friends,

Hello Friends,

I read an  article about Understanding JTS
(http://www-106.ibm.com/developerworks/java/library/j-jtp0410/?loc=j#7) in
IBM web site. It was really an interesting and eye opening stuff for me with
respect to my understanding about transactions.

So I just wanted to try distributed transaction implementation in my code. I
have got some sample code from Oracle web site and tried with that.
I deployed that code (a JSP page ) on my WebSphere Application Server 4.0,
Its just throwing an error as com.ibm.ejs.cm.JDBC2PhaseRF with no further
information.
This exceptions arises when I try to invoke the OracleXADataSource using the
JNDI look up (I replaced only these two lines from the sample that was given
in oracle site), URL :
http://download-west.oracle.com/otndoc/oracle9i/901_doc/java.901/a90211/xadi
stra.htm. Then I removed these two lines and just followed the code given in
the above URL, But now I am getting XAException with XAError Number : 65535.

I have been trying to figure this out and searched for around two days, I
did not  even get a single reference point either from IBM website or from
any other site.
But IBM site says that JTA can be used for Oracle only in CMP, I am confused
in this part. And also I read in BEA site that WebLogic provides its own
implementation to get the Transaction Manager using
TxHelper.getTransactionManager(), there is no indication about Transaction
Manager in IBM. The sample code given by oracle does not use any Transaction
Manager implementation class. Can you please help us to figure this out or
it will be of great help if you can give me some workable code which
implements Distributed Transaction.

Thank you very much in advance for your help.

Best Regards
Yogaraj



"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to