×
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.
This is a classpath error. I've never called a Java program from RPG so I can't offer a solution but I know this issue has been discussed before so you should be able to find a solution in the archives.
Matt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Swann
Sent: Thursday, April 02, 2009 7:48 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Java execution problem on iSeries
Hello everyone,
Maybe someone can assist me in understanding what is causing the following error.
Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 04/01/09 Time sent . . . . . . : 15:41:38
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure VNDMAR03 in program BDIDSPGM/VNDMAR03
received Java exception "java.lang.NoClassDefFoundError:
MonthlyAdherenceReport" when calling method "main" with signature
"([Ljava.lang.String;)V" in class "MonthlyAdherenceReport".
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
type and parameter types match. You can determine the signatures for all the
methods in class XYZ using command QSH CMD('javap -s XYZ').
This error is coming from a java application that is being called from within a RPGLE program. Also this java program has not be compile since 2007. I am attaching a document that contains the additional information.
Thank you for any help.
As an Amazon Associate we earn from qualifying purchases.
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.