Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Glassfish 3 and Remote EJB Access  RSS feed

Brendan Speer
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!