This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

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