× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Pete Helgren wrote:
Can't remember if WRKJVMJOB was PTF'd back to V5R4 but that shows the classpath. You might be able to echo the classpath in the script as well. Are you just running this at the shell command line or running it with a CL command?


I'm launching from a CL program, as described in this blog post from "betterThanZero":
<http://as400samplecode.blogspot.com/2011/06/install-tomcat-on-iseries-as400-tomcat.html>

The CL source in actual use here (as modified from what's in the blog post) is:

PGM ADDENVVAR ENVVAR(JAVA_HOME) + VALUE('/QIBM/PRODDATA/JAVA400/JDK6') MONMSG MSGID(CPF0000) SBMJOB CMD(QSH + CMD('/WINTOUCH/TOMCAT/BIN/STARTUP.SH')) + JOB(CATALINA) JOBD(WINTOUCH/WTSRV) + CPYENVVAR(*YES) ALWMLTTHD(*YES)


And unless WRKJVMJOB can get the classpath of a job after it ended, I can't see how it's going to get the classpath of a job that crashed on takeoff.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.