• Post Reply Bookmark Topic Watch Topic
  • New Topic

Big problem with Oracle JDBC driver/glassfish

 
Vinicius Paiva
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I'm trying to google it with no success for quite some time now. I gave up and decided to ask here.

So here's the deal: I have an application that uses a Oracle JDBC driver with a connection pool administered by Glassfish.

When I restart the server in the middle of a transaction, the glassfish closes all connections. But instead of rolling back the current transaction, it commits it!!

I tried, with no sucess, to do what is described here:

http://docs.oracle.com/cd/E18930_01/html/821-2416/giubd.html#gkrbo

Some more information about that fact:

http://docs.oracle.com/cd/B19306_01/java.102/b14355/basic.htm#i1019153


If someone know how to help me I would be very grateful.

Thanks!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!