Help! 4062 Could Not Open Notes Session

Hi … I need urgent help … I am trying to create a sesion through java apis using the following code .

String ior = NotesFactory.getIOR(DOMINOSERVER_DIIOP);

Session s = NotesFactory.createSessionWithIOR(ior, username, password);

I am getting the ior in a proper way …

DIIOP is also up and running …

Specified the location of NCSO.jar in JavaUserClasses in notes.ini

The only thing that I am getting in the Lotus Server Console is connected and then disconnected. In java i am getting the exception code as 4062. Do not have a clue what is happenning …

Can someone please help me with this …

Thanks in advance …

Saurabh