Hi there. We have an application that includes an RPGLE program calling Java code. This is failing to run on one client's system (out of several hundred clients) due to JVM startup issues. I've checked their environment settings (e.g. JAVA_HOME, installed Java licensed programs and relevant IFS folders) and everything looks okay.
I know that RPGLE will only start one JVM per job, and will reuse a previously opened JVM if it exists, which leads me to wonder whether this client has something else running earlier in the job that has started JVM, and then our program is stuck with attempting to use a JVM that may be corrupt or have been started with incompatible settings. Am I right in supposing that there are Java settings specified in the RPGLE code that could prevent one program from using the JVM started by another program?
If I want to troubleshoot this further, is there any programmatic way of identifying whether JVM is already running and the runtime attributes, or is that all done behind the scenes?
Thanks,
Kevan
I know that RPGLE will only start one JVM per job, and will reuse a previously opened JVM if it exists, which leads me to wonder whether this client has something else running earlier in the job that has started JVM, and then our program is stuck with attempting to use a JVM that may be corrupt or have been started with incompatible settings. Am I right in supposing that there are Java settings specified in the RPGLE code that could prevent one program from using the JVM started by another program?
If I want to troubleshoot this further, is there any programmatic way of identifying whether JVM is already running and the runtime attributes, or is that all done behind the scenes?
Thanks,
Kevan
Comment