Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible using Notes

Mrutyunjay SwainJul 10 2012
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.

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"));

I am able to connect through this from my local machine with a standalone java program. But from a particular websphere server(v7)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.

The following is the stacktrace of the error.

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
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.<init>(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)

Does anyone has any suggestions on this.

Thanks
Mrutyunjay
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2012
Added on Jul 10 2012
0 comments
3,199 views