File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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 agree. Here's the link:
subject: Glassfish 3 and Remote EJB Access
Similar Threads
Error while deploying JPA
This bundle has no bean of name error on GlassFish 2.1.1
cant load the admin console in glassfish v3
JACC Policy Provider: Failed Permission Check -- issue suddenly appeared!
Cannot initialize endpoint : error is : Java heap space|#] and server won't start