The saga continues...As I noted in EGL Cafe, are you trying to get the EGL connection to work, or are you trying to get the testIdentityToken Java code to work when invoked as a native class from EGL?
I have WAS configured for EIM, verified with the testIdentityToken application. I have incorporated portions of the testIdentityToken source into my EGL code. It appears to obtain an IdentityToken correctly, but the actual iSeries connection, "AS400.connectService(AS400.RECORDACCESS)", returns a "com.ibm.as400.access.AS400SecurityException: User ID is not known." error.