Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Thread dump in application log after server start

SA-18721

Summary



Whenever user tries to restart the WebLogic server it creates a thread dump.

Error Messages



Java thread dump in logs.

Steps to Reproduce



This occurs during server startup.

Root Cause



A defect or configuration issue in the operating environment.
The root cause of the hung thread is due to the Pega PDN RSS feed gadget which invokes a rest connector to pull the data from pdn.pega.com and display in the home page. See offending Threads stack highlighted below: 
 
"xxxx.yyyy.org" Id=12 in RUNNABLE (running in native)
BlockedCount : 1291, BlockedTime : -1, WaitedCount : 1357, WaitedTime : -1
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
      - locked [email protected]
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at com.pega.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
    at com.pega.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    at com.pega.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    at com.pega.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    at com.pega.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
    at com.pega.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:825)
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:759)
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.step5_circum0(ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.java:1185)
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.perform(ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.java:137)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
    at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:1002)
    at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.perform(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:172)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
    at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.step9_circum0(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:1512)
    at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.perform(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:226)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
    at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runRule(DeclarativePageDirectoryImpl.java:994)
    at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runLoadActivity(DeclarativePageDirectoryImpl.java:452)
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.loadDataPage(ReadOnlyDataPageHandler.java:218)
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:399)
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:920)
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.getDirectPage(AbstractPageDirectory.java:713)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDirectPage(ThreadPageDir.java:469)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:427)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:419)
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getPage(PRThreadImpl.java:534)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2169)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2113)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.resolveEmbeddedPages(PropertyReferenceImpl.java:1794)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1369)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1349)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1333)
    at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.get(PropertyReferenceImpl.java:1169)
    at com.pega.pegarules.session.internal.mgmt.Executable.getProperty(Executable.java:2299)
    at com.pegarules.generated.html_section.ra_stream_pxpdnfeed_a556be51504a6b841373233a482ba20f.gridBeginLayout_2(ra_stream_pxpdnfeed_a556be51504a6b841373233a482ba20f.java:324)
 


Resolution



Make the following change to the operating environment: 
 
1.       Change the DSS value of “AllowAccessToExternalSystem” to false, as below.
2.       Save the above DSS rule.
3.       Delete “PegaRULES_Extract_Marker.txt” file located under the PegaTemp directory.
4.       Restart the server or JVM.
5.       See if the above helps to resolve the above requestor thread hang.
 

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us