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

Error occurs during Segment start by the System agent

SA-53056

Summary



Error occurs during Segment start by the System agent. The segment can be only started manually.


Error Messages



[ PegaRULES-Batch-2] [ STANDARD] [ ] [ <YourAPP>:01.01.01] (port_Definition_Segment.Action) ERROR - Failure in processing segment: <Seg name> - The following error was encountered whilst refreshing the child segment <Seg name>: SQL error while populating segment: There was a problem getting a list: code: -4499 SQLState: 08001 Message: [jcc][t4][2030][11211][4.19.49] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill() - socketInputStream.read (-1). Message: Connection timed out (Read failed). ERRORCODE=-4499, SQLSTATE=08001
DatabaseException caused by prior exception: com.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][4.19.49] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill() - socketInputStream.read (-1). Message: Connection timed out (Read failed). ERRORCODE=-4499, SQLSTATE=08001
| SQL Code: -4499 | SQL State: 08001



Steps to Reproduce

  1. Create a segment and configure it for a scheduled run
  2. Run the system


Root Cause



A defect or configuration issue in the operating environment. Enabling scheduling on Segment creates a queue item of the System-Queue-ScheduledTask class. Since the database error occurred when running the Segment, this item status was set to Broken-Process. Hence, further runs did not initiate as the queue item was set to Broken-Process.


Resolution

Perform the following local-change:

Re-queue the broken item manually after resolving the error that resulted in the failure.

Alternatively, regenerate a new Scheduled Task queue item by performing a Check-out of the Segment rule. Update the scheduled date to a future date and Check-in the segment.


Suggest Edit

Published March 24, 2018 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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