PRODUCTS AND SERVICES INDUSTRIES SUPPORT PARTNERS COMMUNITIES ABOUT
  Coherence FAQ
  Why do I get error message "Failed to obtain ownership?"
Added by Rob Misek, last edited by Rob Misek on Oct 25, 2007  (view change)

Labels

 

The error "com.tangosol.util.AssertionException: Failed to obtain ownership" indicates that a JVM requested ownership of a session that is active in another JVM and it was not able to acquire a lock on the session after 300 tries (about 5 minutes.) This may occur when using sticky sessions under the following circumstances:

  • The thread that owns the session gets stuck, perhaps in a long database call. Double check to make sure that threads are not occupied for more than 5 minutes
  • The application is making a reentrant call (via a separate HTTP request) that is then routed to another JVM. This may be caused by using the JSTL "import" tag with an absolute URL using
    http://...
    Be sure to use a relative import statement instead.