• 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
locking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

locking problem


  • Subject: locking problem
  • From: Nathan Dumar <email@hidden>
  • Date: Sat, 18 Dec 2004 17:58:59 -0500

In my app, I'm using MultiECLockManager. I'm locking and unlocking in session awake and asleep. I have no direct actions. On my dev machine, I can ec.dispose() in a component without a problem. On the deployment machine, disposing an EC causes the following error:

java.lang.IllegalStateException: Illegal Lock usage: unlock() called without a lock()

Why the difference?

Since I can't test this on my dev machine, and I can't do "testing" on the deploy machine, can someone tell me if I can fix this by doing an unlock-unregister-dispose in the component? Anything else you can think of that might take care of it?

Thanks for any help,
Nathan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: locking problem
      • From: Ben Trumbull <email@hidden>
  • Prev by Date: Re: EOModelPrototype CastClass Exception
  • Next by Date: Re: locking problem
  • Previous by thread: Re: EOModelPrototype CastClass Exception
  • Next by thread: Re: locking problem
  • Index(es):
    • Date
    • Thread