Article - CS353447

ESI release is blocked, "Enterprise Systems Transaction Log" does not generate "Release Activity" entry in Windchill PDMLink/ Enterprise Systems Integration (ESI)

Modified: 20-Feb-2023   


Applies To

  • Windchill PDMLink 12.0
  • Windchill Enterprise Systems Integration 10.1 to 12.0

Description

  • ESI release is blocked, and no Release Activity/ESI Transaction entry is generated in  Enterprise Systems Transaction Log page
  • A large number of ESI workflow processes stay at the Post_Release synchronization node
  • A large number of SessionThrea-xxx are blocked, which is a custom thread
  • The number of background method contexts exceeds the threshold, and ESI publishing is blocked by the following threads:
"SessionThread-68769" Id=1658026 prio=5 BLOCKED on lock=java.lang.Object@7e72883c 
    lock owned by "SessionThread-68770" Id=1658103 Blocked (cnt): 2222302; Waited (cnt): 0 CPU nanos: 155037528116; User nanos: 147490000000; Bytes allocated: 22037048104 
    Method context: 3ceq7nds7;ktfobubf;11122;pxh8gf;70561443; DB session: 868 % of 1 CPU used by context: 0.14879821817931216 (155027990347/104186724978239); Bytes allocated by context: 22036082936 
at com.ptc.core.meta.type.mgmt.server.impl.AbstractTypeDefinitionCacheManager.aquireLock(AbstractTypeDefinitionCacheManager.java:1243) 
at com.ptc.core.meta.type.mgmt.server.impl.AbstractTypeDefinitionCacheManager.getNode(AbstractTypeDefinitionCacheManager.java:533) 
at com.ptc.core.meta.type.mgmt.server.impl.AbstractTypeDefinitionCache.getCurrentTypeIdentifier(AbstractTypeDefinitionCache.java:501) 
at com.ptc.core.meta.type.mgmt.server.impl.AbstractTypeDefinitionCache.getTypeIdentifierFromPersistedType(AbstractTypeDefinitionCache.java:391) 
at com.ptc.core.meta.server.impl.TypeIdentifierUtilityImplementation.getTypeIdentifierFromPersistedType(TypeIdentifierUtilityImplementation.java:511) 
at com.ptc.core.meta.server.impl.TypeIdentifierUtilityImplementation.getTypeIdentifierFromPersistedType(TypeIdentifierUtilityImplementation.java:447) 
at com.ptc.core.meta.server.impl.TypeIdentifierUtilityImplementation.getTypeIdentifier(TypeIdentifierUtilityImplementation.java:147) 
at com.ptc.core.meta.server.TypeIdentifierUtility.getTypeIdentifier(TypeIdentifierUtility.java:190) 
at com.ptc.core.meta.type.mgmt.server.impl.TypedUtilityImplementation.getTypeIdentifier(TypedUtilityImplementation.java:425) 
at wt.type.TypedUtility.getTypeIdentifier(TypedUtility.java:220) 
at com.ptc.core.meta.type.mgmt.server.impl.service.StandardTypedUtilityService.getTypeIdentifier(StandardTypedUtilityService.java:158) 
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:498) 
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) 
at com.sun.proxy.$Proxy59.getTypeIdentifier(Unknown Source) 
at com.ptc.windchill.esi.rnd.BasicESIRenderer.setObjectTypeDefsFromObj(BasicESIRenderer.java:1754) 
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.addPartToElement(ESIWTPartRenderer.java:866) 
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.buildGroups(ESIWTPartRenderer.java:534) 
at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1048) 
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.getPart(ESIWTPartRenderer.java:698) 
at com.xxx.plm.pg.integration.esi.renderer.xxxxESIWTPartRenderer.getPart(xxxESIWTPartRenderer.java:301) 
at com.xxx.plm.pg.integration.esi.renderer.xxxxESIWTChangeOrder2Renderer.processAdditionalTargets(xxxESIWTChangeOrder2Renderer.java:1372) 
at com.xxx.plm.pg.integration.esi.renderer.xxxxESIWTChangeOrder2Renderer.getECN(xxxESIWTChangeOrder2Renderer.java:1250) 
at com.ptc.windchill.esi.svc.StandardESIService.getECN(StandardESIService.java:2363) 
at com.ptc.windchill.esi.txn.ESIResponseGenerator.getECN(ESIResponseGenerator.java:733) 
at com.ptc.windchill.esi.txn.ESIResponseGenerator.generateResponse(ESIResponseGenerator.java:479) 
at com.xxx.plm.pg.integration.esi.xxxxESIResponseGenerator.generateResponse(xxxESIResponseGenerator.java:158) 
at com.ptc.windchill.esi.tgt.delegate.DefaultESITargetProcessor.doOperation(DefaultESITargetProcessor.java:204) 
at com.ptc.windchill.esi.txn.ESIResponseGenerator.run(ESIResponseGenerator.java:1259) 
at com.xxx.plm.pg.integration.esi.xxxxESIResponseGenerator.run(xxxESIResponseGenerator.java:1000) 
at wt.session.SessionThread.run(SessionThread.java:225)
.......
.......
"SessionThread-18559" Id=104155 prio=5 TIMED_WAITING
      Blocked (cnt): 1; Waited (cnt): 3599
      CPU nanos: 183024457; User nanos: 130000000; Bytes allocated: 2036592
      Method context: -148r9th07i;kj17rhid;15575;529a2c;2179419
      % of 1 CPU used by context: 4.2562513780935486E-4 (182627845/42908143522717); Bytes allocated by context: 2029208
  at java.lang.Thread.sleep(Native Method)
  at com.xxx.plm.pg.integration.esi.xxxESIResponseGenerator.waitUntillThreadPoolFree(xxxESIResponseGenerator.java:866)
    - locked java.lang.Class@4d80d043
  at com.xxx.plm.pg.integration.esi.xxxESIResponseGenerator.run(xxxESIResponseGenerator.java:989)
  at wt.session.SessionThread.run(SessionThread.java:225)

 

This is a printer-friendly version of Article 353447 and may be out of date. For the latest version click CS353447