Menu

unable to open remote session to domino serve

2007-06-17
2013-06-03
  • Nobody/Anonymous

    Kind Attn Mr. Kurt Riede

    Dear Sir,

    We are an opensource software start-up based in Bangalore.

    We have enabled CORBA based DIIOP service on the domino server.

    We are unable to open remote session to the domino server.

    We are trying the following code;

    DNotesFactory factory = DNotesFactory.getInstance();
    DSession session = factory.getSession("192.168.1.34","manoj","dreamfire");//line 10
    DDatabase database = session.getDatabase("comp3/dreamfire", "names.nsf");
    System.out.println(database.getTitle());

    192.168.1.34 is the server IP
    'manoj' is the username
    'comp3/dreamfire' is the server name
    'names.nsf' is the database name.

    We get the following error code;
    Exception in thread "main" de.bea.domingo.service.NotesServiceRuntimeException:
    Cannot create session
            at de.bea.domingo.service.NotesServiceFactory.getSession(NotesServiceFactory.java:169)
            at Test.main(Test.java:10)
    Caused by: de.bea.domingo.proxy.NotesProxyRuntimeException: Cannot create session
            at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.java:417)
            at de.bea.domingo.service.NotesServiceFactory.getSession(NotesServiceFactory.java:167)
            ... 1 more
    Caused by: de.bea.domingo.exception.DominoException: [4062] Could not open Notes session
            ... 3 more

    We would be grateful, if you could assist us with this challenge.

    Thanks & best regards,
    John
    john@dreamfire.in

    DreamFire Interactive Solutions
    http://dreamfireinteractive.com

     
    • Kurt Riede

      Kurt Riede - 2007-06-17

      Hello John,

      you might try to the IOR from your server to check if DIIOP is running properly with the following URL:

      http://192.168.1.34/diiop_ior.txt

      You should retrieve a text-file that starts with "IOR" followed by a very long hex number.
      If you are not able to get this file, please check your DIIOP settings.

      From your information I assume that "dreamfire" is the internet-password of the user "manoj".
      Once you are able to connect to the server, you should use the empty string as the server when accessing a database on that server (you can only access databases on that server):

      DDatabase database = session.getDatabase("", "names.nsf");

      Hope this helps.

      Kurt

       
    • Nobody/Anonymous

      Dear Kurt,

      Thank you for your prompt response.

      We had already checked the diiop_ior.txt file.

      We had also tried 'empty string' as the server.

      Do you have any other suggestions?

      Thanks & best regards,
      John

       
    • Nobody/Anonymous

      Pls. chk the server security settings.....& DIIOP port settings in the server document

      Regards,
      Ranjeeta

       
    • dream_fire

      dream_fire - 2007-06-20

      Dear Ranjeeta,

      Thank you for the courtesy extended to me during our telecon.

      The server console says 'connected' and immediately it gets disconnected too.

      In the application it gives the same error message; 'unable to create session'.

      Do you have any other suggestions?

      Thanks & best regards,
      John
      john@dreamfire.in

       

Log in to post a comment.

MongoDB Logo MongoDB