I have question about RMI-IIOP. I have two servers running in a domain but they are not clustered. I have Message-EJB on one server and Stateless-session EJB on other. I am trying to connect to session-EJB within onMessage() of message-EJB. But I am running into various issues. I get ClassCastException with t3 protocol and I get following error with iiop protocol :
<Apr 23, 2003 12:27:30 PM EDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ reset() called with foreign ReplicaList ].
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ reset() called with foreign ReplicaList ]
at weblogic.iiop.VendorInfoCluster.reset(VendorInfoCluster.java:388)
at weblogic.rmi.cluster.BasicReplicaHandler.refreshReplicaList(BasicReplicaHandler.java:458)
at weblogic.rmi.cluster.BasicReplicaHandler.failOver(BasicReplicaHandler.java:184)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:246)
at weblogic.corba.cos.naming.NamingContextAny_IIOP_WLStub.resolve_any(Unknown Source)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at netop.ejb.FirstMsgEjb.onMessage(Unknown Source)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:374)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:308)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
at weblogic.jms.client.JMSSession.execute(JMSSession.j
-
EJB to EJB communication failure (2 messages)
- Posted by: Anuj Tyagi
- Posted on: April 23 2003 13:05 EDT
Threaded Messages (2)
- EJB to EJB communication failure by Anuj Tyagi on April 23 2003 13:09 EDT
- EJB to EJB communication failure by Anshuman Purohit on April 24 2003 13:14 EDT
-
EJB to EJB communication failure[ Go to top ]
- Posted by: Anuj Tyagi
- Posted on: April 23 2003 13:09 EDT
- in response to Anuj Tyagi
I forgot to tell that I am using WLS 8.1 and I was able to connect to session-EJB using a java-client. I have problem while connecting to EJB from EJB. -
EJB to EJB communication failure[ Go to top ]
- Posted by: Anshuman Purohit
- Posted on: April 24 2003 13:14 EDT
- in response to Anuj Tyagi
Some code please!!