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
- Create a segment and configure it for a scheduled run
- 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.
Published March 24, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.