Article - CS229649

Could not create a transaction for ThingworxPersistenceProvider error in ThingWorx versions 6.5.6, 6.6.2, 7.0.0 and lower

Modified: 07-Nov-2017   


Applies To

  • ThingWorx Platform 6.5 N/A to 7.0 F000

Description

  • Could not create a transaction for ThingworxPersistenceProvider Error in ThingWorx application logs
  • Similar errors can be found in the logs:
    • ForsetiClient[id=1112,tx=Transaction[eventId=546726,thread=481:'TWEventProcessor-210',status=STATUS_ACTIVE,resourceCount=0]] can't acquire ExclusiveLock
      {owner=ForsetiClient[id=566,tx=Transaction[eventId=543354,thread=308:'TWEventProcessor-37',status=STATUS_ACTIVE,resourceCount=0]]} on NODE(891876), because holders of that lock are waiting for ForsetiClient[id=1112,tx=Transaction eventId=546726,thread=481:'TWEventProcessor-210',status=STATUS_ACTIVE,resourceCount=0]]
    • [message: Execution error in service script [PreEventThing PreTestThing:AnyDataChange] : Wrapped java.lang.RuntimeException: java.lang.Exception: Unable to query value stream entry in [vs6] ForsetiClient[id=1440,tx=Transaction[eventId=581532,thread=282:'TWEventProcessor-11',status=STATUS_ACTIVE,resourceCount=0]] can't acquire ExclusiveLock
      {owner=ForsetiClient[id=1399,tx=Transaction[eventId=580894,thread=384:'TWEventProcessor-113',status=STATUS_ACTIVE,resourceCount=0]]} on NODE(891876), because holders of that lock are waiting for ForsetiClient[id=1440,tx=Transaction[eventId=581532,thread=282:'TWEventProcessor-11',status=STATUS_ACTIVE,resourceCount=0]]
    • Error Executing Event Handler for event PreTestThing:AnyDataChange : Execution error in service script [PreEventThing PreTestThing:AnyDataChange] : Wrapped java.lang.RuntimeException: java.lang.Exception: Unable to query value stream entry in [vs6] ForsetiClient[id=1440,tx=Transaction[eventId=581532,thread=282:'TWEventProcessor-11',status=STATUS_ACTIVE,resourceCount=0]] can't acquire ExclusiveLock
      {owner=ForsetiClient[id=1399,tx=Transaction[eventId=580894,thread=384:'TWEventProcessor-113',status=STATUS_ACTIVE,resourceCount=0]]} on NODE(891876), because holders of that lock are waiting for ForsetiClient[id=1440,tx=Transaction[eventId=581532,thread=282:'TWEventProcessor-11',status=STATUS_ACTIVE,resourceCount=0]]
    • Application returned "Failed to return license click check" error
This is a printer-friendly version of Article 229649 and may be out of date. For the latest version click CS229649