title: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible
body: <p>I am using Lotus Notes API (NCSOW.jar) to connect to a remote Domino server from my java class and then write to the Lotus Notes database. But I am getting a particular error which suggests that it might not be able to connect to it.</p>
  
  <p>This is the line which cause that error. The URL is the Domino server name, and username, password as the domino server credentials.
  Session session = NotesFactory.createSession(props.getProperty("LotusNotes.URL"), props.getProperty("LotusNotes.UID"), props.getProperty("LotusNotes.PWD"));</p>
  
  <p>I am able to connect through this from my local machine with a standalone java program. But from a particular websphere server(v6.1)on our QA machines, this error comes up. We tried to check the ports, firewall and all is good on that side. We are able to connect from that server machine to the remote Domino Server machine properly.</p>
  
  <p>The following is the stacktrace of the error.</p>
  
  <p>org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible:
  Forwarded IOR failed with: ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract:org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No
  Initial IOR failed with: ORB_CONNECT_ERROR (5) - couldn't get Server Subcontract:org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4 vmcid: 0x49421000 minor code: 56 completed: No vmcid: IBM minor code: E07 completed: No</p>
  
  <pre><code>at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1177)
  at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1260)
  at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1349)
  at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1128)
  at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1315)
  at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1861)
  at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1271)
  at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:460)
  at lotus.domino.corba._IObjectServerStub.createSession(_IObjectServerStub.java)
  at lotus.domino.cso.Session.OREFtoSession(Session.java:829)
  at lotus.domino.cso.Session.&lt;init&gt;(Session.java:72)
  at lotus.domino.cso.Session.createSession(Session.java:40)
  at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
  at com.my.apps.useraccessreview.EmpInfoMapper.buildMap(EmpInfoMapper.java:89)
  at com.my.apps.useraccessreview.EmpInfoMapper.getInstance(EmpInfoMapper.java:40)
  at com.my.apps.useraccessreview.InitializeEmpInfoMapper.run(InitializeEmpInfoMapper.java:36)
  at java.lang.Thread.run(Thread.java:571)
  </code></pre>
  
  <p>Does anyone has any suggestions on this.</p>
  
  <p>Thanks
  Mrutyunjay</p>