This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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

Win a copy of Building Microservices this week in the Design forum!
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

Glassfish 3 and Remote EJB Access

Brendan Speer

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Glassfish 3 and Remote EJB Access
It's not a secret anymore!