Re: Java startup performance

Sam_L <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
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 is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.