aspose file tools*
The moose likes Servlets and the fly likes JRun Servlet using UserTransaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JRun Servlet using UserTransaction" Watch "JRun Servlet using UserTransaction" New topic
Author

JRun Servlet using UserTransaction

Joe Maier
Greenhorn

Joined: Nov 16, 2001
Posts: 2
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 using 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();
Please reply when you can!
Thank you.
Joe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JRun Servlet using UserTransaction
 
Similar Threads
database access outside of servlet container
Do you have to have a datasource to allow connection pooling?
how to use jts in weblogic 6.0
(JTA) UserTransaction not working w JRUN 3.1, JRun JTS Driver question
how to use jts in weblogic 6.0