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



On 2021-07-19 4:11 p.m., Pete Helgren wrote:
...
If I just run the program without debugging, I get the classic:

Java Virtual Machine is IBM Technology for Java.  PID(4135)
JVM properties were loaded from a properties file.
Java exception received when calling Java method.
Application error.  RNX0301 unmonitored by .....

The Java exception has this tidbit:

 Cause . . . . . :   RPG procedure ...... received Java
   exception "java.lang.NoClassDefFoundError:
   org.apache.commons.logging.LogFactory" when calling method
...

Is org.apache.commons.logging.LogFactory also the method being dalled directly from RPG? (The method mentioned in the RNX0301 message following "when calling method")

If you were calling some other method, then the NoClassDefFoundError would have been received after the called Java method started. In that case, it might be useful to get an exception trace from Java. If you add this envvar, you'll get an exception trace printed to stderr.
ADDENVVAR QIBM_RPG_EXCP_TRACE value('Y')

Here's the RPG/Java troubleshooter in the RPG Cafe:
https://www.ibm.com/support/pages/node/1117695


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.