Re: Follow-up to my "QP0ZSPWT" question: why does Tomcat (or other Java application) even HAVE a separate job for the JVM?

Jack Woehr via JAVA400-L <[email protected]> Wed, 24 Jul 2024 21:20:35 +0000
Newsgroups gmane.comp.lang.as400.java
Message-ID <MN2PR11MB42388DBDA5E8E14E75C4738188AA2@MN2PR11MB4238.namprd11.prod.outlook.com>
 Why does a Tomcat server have both a Catalina job (like it would on any
other platform) and a QP0ZSPWT job?
Apparently because QP0ZSPWT is the multithreaded QSH job from which Catalina is forked.

Catalina isn't RUNJVAPGM, it's a shell script that launches a Java VM.

You'd see the same thing in Unix if you launched a Java program from a script unless the script did an exec. Otherwise it would fork the JVM.

https://www.ibm.com/support/pages/basics-qshell


-- 
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.