IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Datastore exception: pub.storage:put -- Critical Exception: Cannot aquire the lock.

  • 1.  Datastore exception: pub.storage:put -- Critical Exception: Cannot aquire the lock.

    Posted Thu January 01, 2015 10:16 PM

    Hi all,

    Below error is thrown while trying to retrieve a newly added key from the datastore using pub.storage:get. Note that old key values are fetched without issues. Not sure whether the key got added properly.

    pub.storage:put – Critical Exception: Cannot aquire the lock.

    IS_DATASTORE table needs to be checked for any locks?

    Please provide your suggestions to fix this.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Datastore exception: pub.storage:put -- Critical Exception: Cannot aquire the lock.

    Posted Fri January 02, 2015 01:20 AM

    The “Cannot acquire the lock” error usually means the entry you are trying to lock has already been locked. You can use the pub.storage:listLocks service to view all locks.

    Try an explicit unlock (pub.storage:unlock) if that helps. I guess you are the only user using the data store.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Datastore exception: pub.storage:put -- Critical Exception: Cannot aquire the lock.

    Posted Mon January 05, 2015 01:46 PM

    If using storage, it is a best practice to do an explizit unlock at least after put, update and get as most of these services might omit an implizit unlock.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services