Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB calls across app. servers

Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I attempt to lookup a remote (on a different application server) EJB within a servlet, I am able to successfully locate and create() the EJB. If I attempt to lookup a remote EJB from within an EJB, it fails***. If I attempt to lookup the same EJB remotely, but within the same application server, it succeeds.
The failure occurs with a specific installation of WebSphere - that is, it succeeds when I deploy the EJB on another machine altogether. This seems to indicate a problem with the particular remote WebSphere installation, or a network issue with that particular machine.

***The failure is in the call to create() the EJB:

Any suggestions regarding how to have this remote EJB call succeed from within an EJB container are most appreciated.
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!