Bill --

1. Can you please send the entire stack trace?
2. Is your java program running on the iSeries or on another platform?
3. What statement in your program are you getting the exception on?
4. Can you please share the portion of your program where you're getting
the exception?
5. Can you please include the output from your log?

I'm just trying to understand the context for this exception. It sounds to
me offhand like the EIM is not able to find its EIM domain controller or
that domain controller has not been properly set up but that's just a guess
until I can find out more about what's going on.


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of java5293@xxxxxxxxxxx
Sent: Wednesday, October 07, 2009 7:45 AM
To: java400-l@xxxxxxxxxxxx
Subject: RE: Java EIM Lookup


Thanks for your help. This is the approach I have been trying to take to
authenticating to the EIM for the lookup. I am currently getting what
appears to be an authentication error: failed to connect to initial
context. Root exception class=class
javax.naming.AuthenticationException.Root exception text=GSSAPI.

The step I have taken:

-Use the windows lsa to get a tgt
-Request a service ticket from the kdc (active directory) for the service
that was setup when following the EIM redbook installation instructions.
-Pass this ticket to the eim for authentication

All java documentation I have seen from IBM have a hard coded admin dn and
password for lookups but the documentation states this can be performced
from any authenticated user.

Again, thanks for your help.

This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page