Connecting to LDAP

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Your code shows that you have created two instances of initial context (DirContext). Change the one in the process method to something else like, Context dctx2 = (Context) dctx.lookup("").
BIDSDEV
Premium Member
Premium Member
Posts: 12
Joined: Tue Nov 27, 2012 3:33 am
Location: India

Post by BIDSDEV »

Hi All,

It looks the actual problem is with the URL i am using in the code , with the same code after replacing the URL with its IP address problem is resolved and i can connect as many times as required

Thank you so much for the suggestions

Regards
Aj
Post Reply