Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes BEA/Weblogic and the fly likes WebLogic 10.3 : communication between 2 ejb on 2 servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "WebLogic 10.3 : communication between 2 ejb on 2 servers" Watch "WebLogic 10.3 : communication between 2 ejb on 2 servers" New topic
Author

WebLogic 10.3 : communication between 2 ejb on 2 servers

Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
Hi, I have a Oracle WebLogic (10.3) installation with 1 Admin Server and two managed servers.
Each managed server has an enterprise application with one ejb (3.0)

If from server A (EJB A) I try to lookup the EJB B on server B the following line succeeds:

RemoteInterfaceB service = (RemoteInterfaceB)naminfContext.lookup(...);

but if I try to invoke some method on that reference I get a NoSuchMethodException.

Note that:

- My Remote interface is not extending any super interface;
- The reference contains the requested method (I saw it using getClass().getMethods()) so the problem seems to be in the generated proxy.

I have no other information, the scenario is so simple and we are talking about a stupid lookup.

Anybody did fight with this scenario?

Best Regards,
Andrea






Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebLogic 10.3 : communication between 2 ejb on 2 servers