Error message "process_transaction() failed, rc=-176, Message Code(LQ)" in swentobjsv01.log

Error message "process_transaction() failed, rc=-176, Message Code(LQ)" in swentobjsv01.log

book

Article ID: KB0079695

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) 11.6.0

Description

The following error may appear in the iProcess Objects Server (SPO) process swentobjsv01.log:
 
07492|02514|01/07/2019 07:56:30.504|00000020|INFO |Rcvd msg: code(LQ) clntname(10.0.82.78:58585 - 10.0.81.36:5502) clnt(379702248) sock(6700) authed_user(swadmin) target_user(swadmin)
07492|02514|01/07/2019 07:56:30.520|00008000|ERROR|process_transaction() failed, rc=-176, Message Code(LQ)
07492|02514|01/07/2019 07:56:30.520|00000020|INFO |Processed msg: code(LQ) clntname(10.0.82.78:58585 - 10.0.81.36:5502) clnt(379702248) sock(6700) proctime(16) waittime(0)

and with enabling "Write request and response headers to the logfile" (which is a checkbox on the "Disk Logging" tab of SwEntObjSvCfg.exe on Windows or TraceMsg=1 in swentobjsv.cfg on UNIX) it is possible to see that the queue being referenced in the LQ message is $UNDELIV:
 
 06820|005FC|01/08/2019 08:06:53.225|00000020|TRACE|RECV|10.0.82.78:7880 - 10.0.81.36:5502|Len(50)|MsgCode(LQ)
 00000: 00 00 00 21 73 77 61 64  6d 69 6e 0a 73 77 61 64  |...!swadmin.swad|
 00016: 6d 69 6e 0a 4c 51 0a 73  77 61 64 6d 69 6e 00 24  |min.LQ.swadmin.$|
 00032: 55 4e 44 45 4c 49 56 40  73 77 70 72 6f 64 31 00  |UNDELIV@swprod1.|
 00048: 52 00                                             |R.|
06820|005FC|01/08/2019 08:06:53.225|00000020|INFO |Rcvd msg: code(LQ) clntname(10.0.82.78:7880 - 10.0.81.36:5502) clnt(11455464) sock(3216) authed_user(swadmin) target_user(swadmin)
06820|005FC|01/08/2019 08:06:53.225|00008000|TRACE|SEND|10.0.82.78:7880 - 10.0.81.36:5502|Len(20)|MsgCode(LQ)
 00000: 00 00 00 10 00 00 00 21  4f ff ff ff 50 00 00 00  |.......!O...P...|
 00016: 14 4c 51 00                                       |.LQ.|
06820|005FC|01/08/2019 08:06:53.225|00008000|ERROR|process_transaction() failed, rc=-176, Message Code(LQ)

This $UNDELIV queuename is the queue for undelivered workitems on the iProcess Engine (iPE) node.

Issue/Introduction

Problem causing error message "process_transaction() failed, rc=-176, Message Code(LQ)" to appear in the swentobjsv01.log

Environment

All environments

Resolution

The problem that causes this error for the $UNDELIV or undelivered workitems queue is that the queue is a virtual one and only exists if there are workitems in it.  If there are no undelivered workitems since the iProcess Engine was restarted then the queue does not exist and a request to list that queue will return "Queue not found".