Windows or UNIX Java OS agent jobs on 21.0.10 (or above) or 24.X fails with an error message:
Error 'General error occurred in function 'libcpprnt/src/Channel.cpp#sys::Channel::write:72'', reason: 10057 - A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. >libcpprnt/src/Channel.cpp#sys::Channel::write:72<
ATTENTION - UC4:JOBMESSENGER failed
JOB ended with RETCODE 0
JOBMSG ended with RETCODE 1
JOB will abort with RETCODE from JOBMSG step
This can happen when using the "LOCAL" parameter while running the messenger manually as well.
Release 21.0.10 or above and 24.x
Component: Java OS Agent jobs
Defect
Workaround:
- set the bindaddr= parameter to the ip address and start the agent.
- Create a simple 'dir' job - the job will fail
- Now comment out ;bindaddr= parameter - the job works
Fix versions:
Component(s): Java OS Agent Windows and UNIX
Fixed in:
21.0.12 HF2
21.0.13 - planned release by February of 2025
24.2.0 HF1
24.3.0