|
I run into two classpath problems that I just not able to explain:
Problem 1: When calling a java method from RPG, the java method is being invoked
but somehow it is not able to find the log4j.properties that is within
the classpath: Below is the D spec.
D AccDelegateC PR O ExtProc(*JAVA: D
'com.arch.boss.as400.rpg.AccountDele-
D gate': D *CONSTRUCTOR) D 20I 0 Value I've a CL program that uses RUNJVA to run a java application and it
seems to be able to find the lo4j.properties within the classpath.
My log4j.properties is in
/WAS61/PROFILES/TSTAPPSRV01/installedApps/Boss.ear dir and my CLASSPATH
environment variable is set as
/WAS61/PROFILES/TSTAPPSRV01/installedApps/Boss.ear.
Problem 2: Should I be able to use wildcard for classpath? Sun doc sees to
indicate that I should be able to do this. But the same RPG program
indicated on problem 1 doesn't seems to understand wildcard.
When I set the classpath as /was61/java/endorsed/ibmorb.jar, it works.
When I set the classpath as /was61/java/endorsed/*, it failed.
Thanks
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.