I am getting below error when tried to call a service from a remote domain. If I try for other services of the remote domain, it works fine. Only for this one service, it is throwing below error.
ERROR: msgsnd err:(LIBTUX_CAT:669: ERROR: Message operation failed because of the invalid message queue identifier)errno=22,qid=3003151,buf=1075999312,bytes=297,flag=2048
LIBGW_CAT:1030: ERROR: Reply message not sent due to gateway error 402006
Is there anything that needs to be changed in the code or its an issue with patch that we are working on ?
Current Platform :
OS - HP-UX B.11.23 U 9000/800
Tuxedo - BEA Tuxedo, Version 9.1, 32-bit, Patch Level 147
We have faced this issue before in our environment as well.
We have observed that this happens when a request is received by a server after a request that was (/got) terminated immaturely.
Which in-turn might have been caused either by the client program quitting inappropriately, or by the server received a signal, which put the process's queue in an unstable state.
This later thing can happen when the server does not handle inappropriate request termination properly, e.g might be holding on some resources which it needs to release
or is trying to forward/handle a corrupt message because the premature termination of the client process.
You may be do a echo bbc|tmadmin to clean up stale/unstable shared resources and restart the tuxedo server.
The documentation of the message (LIBTUX_CAT:669) suggest that you should focus your investigation on the queue in question (id=3003151?)
Hope this helps.
Thanks and Regards,
Is this problem repeatable? In general it means that Tuxedo tried to use a System V IPC queue that no longer exists. This can happen as others say if a server or client dies unexpectedly.
Oracle Tuxedo Chief Architect