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



----- Oorspronkelijk bericht -----
Van: Michael Hawes [mailto:mihawes@xxxxxxxxx]
Verzonden: maandag, mei 22, 2006 12:03 PM
Aan: 'Java Programming on and around the iSeries / AS400'
Onderwerp: Running jt400Native on iSeries

I'm trying to start Websphere on iseries using the jt400Native jar. For one 
user profile I get the error shown below (Class not found) when I try to 
preInitialize command connections, however using a different user profile which 
has *ALLOBJ authority the connection works. I started Websphere with verbose 
logging and show part of the log below. I note the message "Finding native 
method library: QSYS QYJSPART". Looking at the jt400 source it has the java 
statement: 
 
System.load("/QSYS.LIB/QYJSPART.SRVPGM");
 
It seems from the log it found the class and loaded the native library. The 
library does have public execute authority so I'm stuck.
Has anyone else had this problem? Any suggestions?
 
Thanks,
Mike

 
====================
Websphere SystemOut.log
====================
[22/05/06 09:20:42:155 UTC] 0000000a access        E   Mon May 22 09:20:42:155 
UTC 2006  Unexpected ClassNotFoundException:
                                 java.lang.ClassNotFoundException: 
com.ibm.as400.access.NLSImplNative
 at java.lang.Throwable.<init>(Throwable.java:217)
 at java.lang.Exception.<init>(Exception.java:59)
 at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:65)
 at 
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:422)
 at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:339)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:263)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:330)
 at java.lang.Class.forName(Class.java:164)
 at com.ibm.as400.access.AS400.loadImpl(AS400.java:1980)
 at com.ibm.as400.access.AS400ImplRemote.loadImpl(AS400ImplRemote.java:1312)
 at 
com.ibm.as400.access.AS400ImplRemote.getCcsidFromServer(AS400ImplRemote.java:779)
 at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:1737)
 at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2555)
 at com.ibm.as400.access.AS400.promptSignon(AS400.java:2126)
 at com.ibm.as400.access.AS400.signon(AS400.java:3407)
 at com.ibm.as400.access.AS400.connectService(AS400.java:853)
 at com.ibm.as400.access.PoolItem.<init>(PoolItem.java:119)
 at 
com.ibm.as400.access.ConnectionList.createNewConnection(ConnectionList.java:130)
 at com.ibm.as400.access.ConnectionList.getConnection(ConnectionList.java:379)
 at 
com.ibm.as400.access.AS400ConnectionPool.getConnection(AS400ConnectionPool.java:702)
 at com.ibm.as400.access.AS400ConnectionPool.fill(AS400ConnectionPool.java:253)
 at com.ibm.as400.access.AS400ConnectionPool.fill(AS400ConnectionPool.java:212)

=============
ClassLoading log
=============
.....
Loading class com.ibm.as400.access.ChangePasswordReq from 
***/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS60SVR/installedApps/LOOPBACK_WAS60SVR/Development.ear/jt400Native-5.1.1.jar***
Loading class com.ibm.as400.access.NativeVersion from 
***/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS60SVR/installedApps/LOOPBACK_WAS60SVR/Development.ear/jt400Native-5.1.1.jar***
Loading class com.ibm.as400.access.NativeMethods from 
***/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS60SVR/installedApps/LOOPBACK_WAS60SVR/Development.ear/jt400Native-5.1.1.jar***
Finding native method library: QSYS QYJSPART
Finding native method library: QSYS QYJSPSCK
Loading class com.ibm.as400.access.SignonConverter from 
***/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS60SVR/installedApps/LOOPBACK_WAS60SVR/Development.ear/jt400Native-5.1.1.jar***
Loading class com.ibm.as400.access.AS400ImplNative from 
***/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS60SVR/installedApps/LOOPBACK_WAS60SVR/Development.ear/jt400Native-5.1.1.jar***

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.