Page 2 of 2

Posted: Sat Feb 16, 2013 2:39 am
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("").

Posted: Tue Feb 19, 2013 2:19 am
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