This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Glassfish 3 and Remote EJB Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Glassfish 3 and Remote EJB Access" Watch "Glassfish 3 and Remote EJB Access" New topic
Author

Glassfish 3 and Remote EJB Access

Brendan Speer
Greenhorn

Joined: Sep 18, 2008
Posts: 2
I'm having some trouble with trying to get access to Remote EJBs deployed in an EAR to a Glassfish 3 server.

The EBJs seem to deploy correctly, because when I deploy it says this:




I use the following code to try and read the EJB:



When I run the code inside of Eclipse, it gives me the following error:



I have tried both on the remote server and on a server local to the dev environment. I am including the gf-client.jar and the Client EJB Jar in my project, and I've read the Glassfish EJB faq several times to go through different scenarios. This seems like a pretty trivial example, but I can't seem to get it to work. I don't think it's even contactign the glassfish server, because if I change the -Dorg.omg.CORBA.ORBInitialHost property in the VM options, I get the same error. I must be missing some crucial step.


== Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Glassfish 3 and Remote EJB Access