Topic
4 replies Latest Post - ‏2011-02-15T08:09:13Z by Imad
ic3
ic3
3 Posts
ACCEPTED ANSWER

Pinned topic Error Connecting to Domino Server

‏2008-08-14T00:38:35Z |
Hi,

We're using domino 8.1 and WPF 6.1 and WAS 6.1.

I've created a brand new workspace, and then a brand new project and then a blank model. I added one builder, "Domino Data Access" builder. When I went to click "Get databases and views" I get the following error

class com.bowstreet.webapp.engine.WebAppRuntimeException: lotus.domino.NotesException
Plug-in Provider: IBM
Plug-in Name: WebSphere Portlet Factory Designer UI
Plug-in ID: com.bowstreet.designer.ui
Version: 6.1.0

NotesException: Could not open Notes session
at lotus.domino.cso.Session.initSession(Unknown Source)
at lotus.domino.cso.Session.<init>(Unknown Source)
at lotus.domino.cso.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.bowstreet.builders.webapp.methods.DominoSessionFactory.makeObject(DominoSessionFactory.java:61)
at com.bowstreet.builders.webapp.methods.DominoSessionPool.getSession(DominoSessionPool.java:129)
at com.bowstreet.builders.webapp.methods.DominoUtil.getNotesSessionInternal(DominoUtil.java:1612)
at com.bowstreet.builders.webapp.methods.DominoUtil.getDatabaseNamesInternal(DominoUtil.java:585)
at com.bowstreet.builders.webapp.ui.DominoViewCoordinator.updateDatabaseList(DominoViewCoordinator.java:266)
at com.bowstreet.builders.webapp.ui.DominoViewCoordinator.processInputChange(DominoViewCoordinator.java:123)
at com.bowstreet.editor.uitools.coordinator.BuilderEditorCoordinatorController.processInputChange(BuilderEditorCoordinatorController.java:451)
at com.bowstreet.designer.builders.CoordinatorRunner$CoordinatorContextInternal.processInputChange(CoordinatorRunner.java:661)
at com.bowstreet.designer.builders.CoordinatorRunner.builderWidgetChanged(CoordinatorRunner.java:278)
at com.bowstreet.designer.builders.widgets.AbstractBuilderWidget.notifyAllListeners(AbstractBuilderWidget.java:224)
at com.bowstreet.designer.builders.widgets.AbstractButtonWidget.widgetSelected(AbstractButtonWidget.java:101)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled Code))
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: org.omg.CORBA.COMM_FAILURE: java.net.SocketException: Connection reset by peer: connect Host: 211.26.244.114 Port: 63148 vmcid: 0x0 minor code: 1 completed: No
at lotus.priv.CORBA.iiop.ConnectionTable.get(Unknown Source)
at lotus.priv.CORBA.iiop.ConnectionTable.get(Unknown Source)
at lotus.priv.CORBA.iiop.Generic.getConnection(Unknown Source)
at lotus.priv.CORBA.iiop.Generic.locate(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invokePreamble(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IObjectServerStub.createSession(Unknown Source)
... 40 more
Caused by: java.net.SocketException: Connection reset by peer: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188)
at java.net.Socket.connect(Socket.java:482)
at java.net.Socket.connect(Socket.java:432)
at java.net.Socket.<init>(Socket.java:339)
at java.net.Socket.<init>(Socket.java:150)
at lotus.priv.CORBA.iiop.Connection.newSocket(Unknown Source)
... 48 more
Updated on 2011-02-15T08:09:13Z at 2011-02-15T08:09:13Z by Imad
  • ic3
    ic3
    3 Posts
    ACCEPTED ANSWER

    Re: Error Connecting to Domino Server

    ‏2008-08-14T00:39:58Z  in response to ic3
    Oops.

    Forgot to add that the Domino server is a local server on the same machine as my WPF.

    Cheers

    Mark
    • GeraldMengisen
      GeraldMengisen
      16 Posts
      ACCEPTED ANSWER

      Re: Error Connecting to Domino Server

      ‏2008-08-19T12:11:37Z  in response to ic3
      Check out this article (scroll to the bottom at "Error Messages"):
      http://www.ibm.com/developerworks/lotus/library/ls-Java_access_2

      For each error message, you get some hints what to look for. In your case, DIIOP might not be loaded in your server.
      • ic3
        ic3
        3 Posts
        ACCEPTED ANSWER

        Re: Error Connecting to Domino Server

        ‏2008-09-18T02:32:51Z  in response to GeraldMengisen
        Oops..

        Forgot to reply. I got it working in the end. Thanks for your help though.

        Cheers

        Mark
        • Imad
          Imad
          1 Post
          ACCEPTED ANSWER

          Re: Error Connecting to Domino Server

          ‏2011-02-15T08:09:13Z  in response to ic3
          HI,

          I'm sitting on the same problem with exactly the same exception.
          What was the solution in this case?

          Thank you in advance
          Imad