IBM / JTOpen

IBM Toolbox for Java, an IBM i communications library
https://ibm.github.io/JTOpen/
Other
56 stars 26 forks source link

ConnectionEvent doesn't always fire #155

Open SGI495 opened 6 months ago

SGI495 commented 6 months ago

I'm relying on ConnectionListener's ConnectionEvent to start commitment control when an AS400 object connects to the COMMAND service to run a ProgramCall.

This works fine under some circumstances, including when

However, in some scenarios the event does not get fired, including when

Because it takes quite some time for the pool to allocate a new job, I would like to pre-fill the connection pool with some connections that are ready to use, but I'm unable to since the ConnectionEvent is not fired and commitment control is not started.

I'm using version 20.0.6.