Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebLogic 10.3 : communication between 2 ejb on 2 servers

 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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





 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic