aspose file tools
The moose likes Oracle/OAS and the fly likes Serilization error : ORA-08177 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "Serilization error : ORA-08177" Watch "Serilization error : ORA-08177" New topic
Author

Serilization error : ORA-08177

Subhash Nambiar
Greenhorn

Joined: Jan 11, 2002
Posts: 26
hi all
We r using
Server : weblogic 5.1 in a clustered environments having two nodes
DB : Oracle 8.1.5 in OPS
Im getting the frequent occurence of this error(ORA-08177) at a piece of code where the code is just executing the select query in a loop (no updates in that whole transaction) , row in the table which select query points to keep on changing as the loop progress.
But since db is shared it may be possible that the table is getting updated by other piece of application.
As far as i know oracle database by default permits optimistic locking and shouldnot give serialization error for a transaction which is just firing a select query though its isolation level set to serializable, as oracle puts no restriction on reading data by a transaction .Is there any possiblity ,except the sql updates ,that this ora-08177 can come.
And one more query if i made this particular transactions isolation level to read_commited is there any possibility of getting the serialization error in this process where no updates r taking place
Any clue will be appreciated.
thanks in advance .
Subhash
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

I am not sure what will fix it exactly, but I found this.
Oracle Product Document Library (C) Oracle Corporation
Manual: Database Error Reference: A90202-02

ORA-08177 can't serialize access for this transaction
Cause: Encountered data changed by an operation that occurred after the start of this serializable transaction.
Action: In read/write transactions, retry the intended operation or transaction.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
jQuery in Action, 2nd edition
 
subject: Serilization error : ORA-08177
 
Threads others viewed
getting ORA-02067: transaction or savepoint rollback required
Scenario where one should use Read committed or Serializable as Isolation level?
Serialization Error : ORA-08177
Serialization Error : ORA-08177
Rolleback Exception in WASv3.5.2 Urgent.....
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com