Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Create Remote Object

 
Praveena Venigalla
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam trying to create Home and remote objects of Bean from another bean.
Iam able to create home object but getting problem creating remote object.

I got this error:
CORBA TRANSIENT 0x4942f301 No; nested exception is:
org.omg.CORBA.TRANSIENT:

Trace from server: 1099786992 at host cidc2101.sldc.sbc.com >>
org.omg.CORBA.TRANSIENT: A remote host refused an attempted connect operation.:host=localhost,port=1854 minor code: 4942F301 completed: No
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:457)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(Unknown Source)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:158)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:83)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:174)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1917)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1225)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1158)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1820)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:245)
at org.omg.CosTransactions._CoordinatorStub.hash_transaction(Unknown Source)
at com.ibm.ejs.jts.jts.CoordinatorImpl$Holder.<init>(CoordinatorImpl.java:533)
at com.ibm.ejs.jts.jts.CoordinatorImpl.get(CoordinatorImpl.java:502)
at com.ibm.ejs.jts.jts.ControlSet.received_request(ControlSet.java:1102)
at com.ibm.ejs.jts.jts.ServerInterceptor.receive_request(ServerInterceptor.java:321)
at com.ibm.rmi.pi.InterceptorManager.iterateReceiveRequest(InterceptorManager.java(Compiled Code))
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:604)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:468)
at com.ibm.rmi.iiop.ORB.process(ORB.java:396)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1608)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2164)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
<< END server: 1099786992 at host cidc2101.sldc.sbc.com

vmcid: IBM minor code: 301 completed: No


code is as below:

if(homeObj == null) {System.out.println("v1: in validateuser method");homeCreate();
}
try {
System.out.println("v2: ");
SecureIT remote = homeObj.create();
System.out.println("h1: no problem creating remote object");
SecureITResponseBean rb = remote.validateUser(sbcuid, application, password);
}

Any help is greatly appreciated.

Thanks
veena
 
honey
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If u are doing on EJB platform and if not yet ur problem solved then I mailed a 11 pages of ur subject to ur ID, which was suggested by my friend. He araised some doubts like whether using EJB or else some other platform and also on bean class. The matter has been taken from the text book and scanned and mailed u. Please check that and also 2 of my more friends living little longer will mail me about this problem, if not yet solved.
 
Zao
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have very similar error. Can you provide a link where the 11 pages of info about how to fix the problem can be found? Any help would be greatly appreciate it. Thanks a lot! and I look forward to hearing from you.

Zao


trace as follows:

org.omg.CORBA.TRANSIENT: Connection refused: connect:host=localhost,port=1563 minor code: 4942F301 completed: No
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:352)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(Unknown Source)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:158)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:85)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:173)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1923)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1230)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1164)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1826)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:245)
at org.omg.CosTransactions._CoordinatorStub.hash_transaction(Unknown Source)
at com.ibm.ejs.jts.jts.CoordinatorImpl$Holder.<init>(CoordinatorImpl.java:526)
at com.ibm.ejs.jts.jts.CoordinatorImpl.get(CoordinatorImpl.java:495)
at com.ibm.ejs.jts.jts.ControlSet.received_request(ControlSet.java:1102)
at com.ibm.ejs.jts.jts.ServerInterceptor.receive_request(ServerInterceptor.java:320)
at com.ibm.rmi.pi.InterceptorManager.iterateReceiveRequest(InterceptorManager.java:739)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:602)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:468)
at com.ibm.rmi.iiop.ORB.process(ORB.java:393)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1587)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2197)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
<< END server: 1198777258 at host powerpuff.raleigh.ibm.com

vmcid: IBM minor code: 301 completed: No
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:79)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:43)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.iiop.ReplyMessage._getSystemException(ReplyMessage.java:224)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.iiop.ReplyMessage.getSystemException(ReplyMessage.java:173)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:172)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.corba.ClientDelegate.intercept(ClientDelegate.java:908)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:433)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1116)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:705)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1146)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:485)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R at com.ibm.websphere.wmm.objects._MemberServiceHome_Stub.create(_MemberServiceHome_Stub.java:207)
[7/25/04 15:52:00:664 EDT] 7d4fc2f0 SystemErr R ... 41 more
 
Praveena Venigalla
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Zao,
If u can provide me ur email address i will mail u the 11 pages.
The content in 11 pages is regarding the <ejb-ref>.and how to use that.
I am unable to figure what exactly should be done for solving the CorbaTransient Error problem.
If u are sucessful in solving that problem please let me know..If iam able to solve it i will post the reply.

Thanks in advance.
praveena
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic