This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Glassfish 3 and Remote EJB Access

 
Brendan Speer
Greenhorn
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