This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Websphere and the fly likes EJB calls across app. servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB calls across app. servers" Watch "EJB calls across app. servers" New topic
Author

EJB calls across app. servers

Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
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.


Tony Morris
Java Q&A (FAQ, Trivia)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB calls across app. servers
 
Similar Threads
TRANSACTION_ROLLEDBACK during create() on remote ejb
WAS 5.0 Bug?? (CORBA TRANSACTION_ROLLEDBACK)
Getting Corba Marshall Exception while accessing the WAS remotely form my client .
WAS 5.0 : CORBA TRANSACTION_ROLLEDBACK
Cannot Create Remote Object