|
Thanks Dave for the info. Knowing there can be problems using both my classloader and system classloader, I added jt400ntv.jar to classpath in my CL program. Bruce ----- Original Message ----- From: "Dave Wall" <dawall@us.ibm.com> To: <java400-l@midrange.com> Sent: Thursday, June 06, 2002 8:49 AM Subject: Re: Java Program calling RPG failure (but AS400SecurityException Error) > > Sorry, should have added a little more info. > > Did you verify jt400Ntv.jar is on your v4r5 box? It does not come with > v4r5, it shows up when PTFs are applied. You need PTFs 5769ss1 sf62426 and > 5769jv1 sf62531 to get the jar on your machine. > > If jt400ntv.jar is on the box then can you run a very simple testcase > putting jt400.jar, jt400ntv.jar and the app in the classpath via the same > mechanism. Multiple classpaths worry me. Especially with Java 1.2 and > later because there are now multiple class loaders. If jt400.jar is loaded > via the user loader and jt400ntv.jar is loaded via the extension or system > loader, there can be problems. > > David Wall > Toolbox for Java > iSeries ODBC Driver for Linux > > > > > "Bruce Jin" > <JIN007M@hotmail. To: <java400-l@midrange.com> > com> cc: > Sent by: Subject: Re: Java Program calling RPG failure (but AS400SecurityException > java400-l-admin@m Error) > idrange.com > > > 06/06/2002 12:19 > PM > Please respond to > java400-l > > > > > > I am on V4R5 with Java 1.2 and I get "AS400SecurityException password not > set" error. I added > '.:/qibm/proddata/java400/jt400ntv.jar' to env var CLASSPATH using > WRKENVVAR LEVEL(*SYS) . This does not fix the problem. I call the java > class in a CL with its own classpath > What is wrong? > Thanks. > Bruce > > > > If on v5r1 or later use Toolbox classes from > > /qibm/proddata/os400/jt400/lib/jt400Native.jar > > > > If on v4r5 or ealier use jt400.jar plus > > /qibm/proddata/java400/jt400ntv.jar > > > > David Wall > > Toolbox for Java > > iSeries ODBC Driver for Linux > > > > >
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.