Win a copy of Spring Boot in Practice this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

(JTA) UserTransaction not working w JRUN 3.1, JRun JTS Driver question

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to create and manage a transaction (multiple updates) and I'm having problems when I commit the transaction - it does not seem to close the connection. I'm testing this code in a servlet. The DataSource seems to be working fine, if I don't use the transaction. The DataSource was created in JRun usign a the Jrun's JMS.
I've done some research and found a place where they suggested that I need to get my JDBC connection for JTA transactions from a JTS driver.
How do I get the appropriate JTS driver for my version of JRun 3.1 Developer Edition?
Here's what I want to do using JRun... (found it at the BEA Web site.)
I would like the JRun equivalent to the weblogic's jts driver.
//Load the JTS driver
Driver myDriver = (Driver) Class.forName("weblogic.jdbc.jts.Driver").newInstance();
    Bookmark Topic Watch Topic
  • New Topic