|
Ventak, You may be running into a poorly written Java app that doesn't print out a stack trace when it gets an error. If that's the case, you'll have to get the Java app changed so this happens. Matt -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of venkatreddy puram Sent: Wednesday, January 18, 2006 1:46 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: Error Calling Java Methods from RPGLE David, Thank you for the response... I tried directing the output to stderr.txt and strout.txt. The files did get created but at the end of job failure there was nothing written to it. Is there enythig else that i should have set up... Here are the environment variables that I have set before running the program... RMVENVVAR ENVVAR(*all) LEVEL(*JOB) CHGCURDIR DIR('/') ADDENVVAR ENVVAR(PATH) + VALUE('/qibm/ProdData/java400/jdk15/bin:/us+ r/bin:') ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES) + VALUE('-Djava.version=1.5!-Dos400.stdout=fi+ le:/home/VReddy/stdout.txt!-Dos400.stderr=f+ ile:/home/VReddy/stderr.txt!') ADDENVVAR ENVVAR(CLASSPATH) + VALUE('qibm/UserData:/qibm/proddata/java400+ /jdk15/bin:/QIBM/ProdData/Java400/jdk15/lib+ /security:/qibm/UserData/java400/systest:/q+ ibm/UserData/java400/uat:/qibm/UserData/jav+ a400/prod:/qibm/UserData/java400/prod/ext/l+ og4j.jar:/qibm/UserData/java400/prod/ext/xa+ lan.jar:/qibm/UserData/java400/prod/ext/xer+ cesImpl.jar:/qibm/UserData/java400/prod/ext+ /NetComponents.jar:/qibm/UserData/java400/p+ rod/ext/optional.jar:/qibm/UserData/java400+ /prod/ext/xml-apis.jar:/QIBM/ProdData/Java4+ 00/jdk15/lib/ext') Thank You Venkat Reddy
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.