• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EO error on saveChanges for deleted object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EO error on saveChanges for deleted object


  • Subject: EO error on saveChanges for deleted object
  • From: email@hidden
  • Date: Fri, 16 Apr 2004 15:32:57 +0200

Hello all,

I got sometimes a strange error when deleting an EOF object. All my Editing Contexts are locked/unlocked but even with this precaution I got the below error ( Oracle error ORA-00060: deadlock detected while waiting for resource).

{
	EOEditingContext ec = new EOEditingContext();
	... lock ec

object = ec.faultForGlobalID(loan.editingContext().globalIDForObject(loan), ec);
object.setLock(null);
ec.deleteObject(lock);
ec.saveChanges();


	... unlock ec
	ec.dispose();
}

7 instances are running on the same server OS X 10.2.8 with WO 5.2.1 and Oracle 8 running on AIX server.

Any idea or suggestion how to avoid this error?

Regards,
Orlando

-------------------------------------

com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed:
<com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "DELETE FROM loan_lock WHERE id = ?" withBindings: 1:163090(id)>:
ORA-00060: deadlock detected while waiting for resource


stack trace:

at com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextI nformationAdded(EODatabaseContext.java:4658)
at com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseConte xt.java:6365)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingCo ntext(EOObjectStoreCoordinator.java:411)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.j ava:3128)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



  • Follow-Ups:
    • Re: EO error on saveChanges for deleted object
      • From: Jonathan Rochkind <email@hidden>
    • Re: EO error on saveChanges for deleted object
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WOMailDelivery with attachment in webobjects 5.2.3 ?
  • Next by Date: Re: EO error on saveChanges for deleted object
  • Previous by thread: Re: WOMailDelivery with attachment in webobjects 5.2.3 ?
  • Next by thread: Re: EO error on saveChanges for deleted object
  • Index(es):
    • Date
    • Thread