This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Two phase commit problem

 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I am facing a problem with Websphere and Oracle 9.2.0.6 Database when I use two phase commit capability.

My application functionality is spanned more than one database, I am able to make XA connection with websphere,but whenever I use any method which invokes two database I get an internal XA Error.

I have changed the Driver with update one. After lot googling I found that we need to execute initxa.sql and initjvm.sql In order to use Oracle with Websphere.I did same but no result.
Also I found at one place that there is problem with oracle version as well,so I updated it to 9.2.0.6 while earlier It was Oracle 9.2.0.2. but still I am facing same problem.

When I debugged my application I found that exception is thrown from finally block of EJB skeleton



sometimes I get this exception when I change datasource confiurations


Still I haven't found any clue. any direction is appreciated.

Shailesh
[ July 15, 2005: Message edited by: Shailesh Chandra ]
 
Shailesh Chandra
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to add every thing was working with same configuration until OS of Database crashed.

We reinstalled OS(Windows 2000 Server) then then We installed Oracle and start getting these problems.

Shailesh
    Bookmark Topic Watch Topic
  • New Topic