Support Article

Hung thread on Pega Application Framework JAR Import

SA-36916

Summary



The user can not import Application Bundle (HCIF_722_for_Pega_72.jar) on top of Pega 7.2.2 . The import process hangs for over 40 mins reporting LongRunning Requestor WARNING and Thread dumps are getting generated.


Error Messages



2017-02-08 15:04:40,906 [-threads-1146830423)] [ STANDARD] [ ] [ PegaRULES:07.10] (l.context.ManagementDaemonImpl) WARN - Long running request detected for requestor H02674793679A00577006250066DCE5D6 on java thread http-/0.0.0.0:8080-51 for approximately 1883 seconds -- requesting thread dump.
2017-02-08 15:04:41,916 [-threads-1146830423)] [ STANDARD] [ ] [ PegaRULES:07.10] (.timers.EnvironmentDiagnostics) INFO - --- Thread Dump Starts ---
Full Java thread dump with locks info

"http-/0.0.0.0:8080-51" Id=344 in RUNNABLE (running in native)
BlockedCount : 2, BlockedTime : -1, WaitedCount : 5, WaitedTime : -1
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at oracle.net.ns.Packet.receive(Packet.java:311)
at oracle.net.ns.DataPacket.receive(DataPacket.java:105)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:305)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:249)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:171)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:89)
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:123)
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:79)
at oracle.jdbc.driver.T4CMAREngineStream.unmarshalUB1(T4CMAREngineStream.java:429)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:397)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:30)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:762)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:925)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1111)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1309)
- locked oracle.jdbc.driver.T4CConnection@62f7aaec
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:422)
at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
at com.pega.pegarules.data.internal.access.oracle.SQLGeneratorOracle.getCompoundKeyInfo(SQLGeneratorOracle.java:308)
at com.pega.pegarules.data.internal.access.oracle.SQLGeneratorOracle.getIndexInfo(SQLGeneratorOracle.java:266)
at com.pega.pegarules.data.internal.access.SQLGenerator.generateTableXMLForClass(SQLGenerator.java:2568)
at com.pega.pegarules.data.internal.access.DatabaseSchemaGeneratorImpl.generateTableXMLForTable(DatabaseSchemaGeneratorImpl.java:193)
at com.pega.pegarules.data.internal.access.DatabaseImpl.generateTableXMLForTable(DatabaseImpl.java:7201)
at com.pega.pegarules.data.internal.access.DatabaseImpl.generateTableXMLForTable(DatabaseImpl.java:7174)
at com.pega.pegarules.data.internal.ddlcomp.SchemaChangeUtilityDataModelImpl.generateTableXMLForTable(SchemaChangeUtilityDataModelImpl.java:98)
at com.pega.pegarules.data.internal.ddlcomp.ObjectMetadataExtractor.extractObjectMetadata(ObjectMetadataExtractor.java:210)
at com.pega.pegarules.data.internal.ddlcomp.ImportDDLGenerator.generateDDL(ImportDDLGenerator.java:141)
at com.pega.pegarules.data.internal.ddlcomp.SchemaChangeUtilityImpl.generateDDL(SchemaChangeUtilityImpl.java:159)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:705)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:730)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:602)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:597)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:569)
at com.pega.pegarules.deploy.internal.util.SchemaImporterTool.getDDL(SchemaImporterTool.java:549)
at com.pegarules.generated.pxHasSchemaChanges_071025_0l388gTDHBioTXe_UFyGew.pxHasSchemaChanges07_10_25(pxHasSchemaChanges_071025_0l388gTDHBioTXe_UFyGew.java:172)
at com.pegarules.generated.pxHasSchemaChanges_071025_0l388gTDHBioTXe_UFyGew.invoke(pxHasSchemaChanges_071025_0l388gTDHBioTXe_UFyGew.java:82)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9105)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:258)
at com.pegarules.generated.pega_importexport_pximportexport.pxHasSchemaChanges(pega_importexport_pximportexport.java:354)
at com.pegarules.generated.pxHasSchemaChanges_071017_Rm023mqcn95hL8_DJe7q6g.pxHasSchemaChanges07_10_17(pxHasSchemaChanges_071017_Rm023mqcn95hL8_DJe7q6g.java:100)
at com.pegarules.generated.pxHasSchemaChanges_071017_Rm023mqcn95hL8_DJe7q6g.invoke(pxHasSchemaChanges_071017_Rm023mqcn95hL8_DJe7q6g.java:82)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:2923)
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:11151)
at com.pegarules.generated.when.ra_when_pxshouldapplyschema_14a572375c862138b031aed53732b2c3.evaluate(ra_when_pxshouldapplyschema_14a572375c862138b031aed53732b2c3.java:51)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4272)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4176)
at com.pegarules.generated.flow.ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.EvaluateConnector(ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.java:7628)
at com.pegarules.generated.flow.ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.GetNavigationPath_circum0(ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.java:6596)
at com.pegarules.generated.flow.ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.perform(ra_action_pximportappbundle_b7abd4f1f6b74786b769ab8aa90a40e6.java:151)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
....

Locked synchronizers: count = 3
- java.util.concurrent.ThreadPoolExecutor$Worker@4848fd58
- java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync@3e162979
- java.util.concurrent.locks.ReentrantLock$FairSync@20fce6c7


Steps to Reproduce

  1. Start server/JVM.
  2. Import the Application distribution (HCIF_722_for_Pega_72.jar) from Admin portal.


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



Apply HFix-33753

Published April 21, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.