Leaving aside the long start up time, maybe you could avoid the connection failure by putting into the CL, ahead of your current call, a call to a Java program that does essentially nothing. This should get the JVM initialized.

Sam



On 3/18/2019 12:50 PM, Duncan McManus wrote:
Hi

This is essentially what is happening. It is called once from a simple CL program using the 'Java' command, and runs all day communicating via data queues with RPG programs.

I just don't understand why the AS400 is so slow to startup, when a PC can do it in a fraction of the time.

Thanks
Duncan


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].