• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing glassfish EJB through external client

 
Henrik Axelsson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've been trying to access a simple bean that I set up in glassfish using an external client. I followed the instructions here: https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB

However when the client tries to connect I get the following error:




When I use TCP view, and look at all the open ports on my machine, 3700 doesn't seem to be there. But going by the article I linked this is supposed to be the default port used. I had a look through my glassfish directories and found domain.xml that contains the line:



so it appears that it should be opening the correct port.

I created an 'Enterprise Application Client' in Netbeans, and if I try to access the bean through that it works fine. I just can't get it to work from a stand alone client which is what I really need to do. I am running glassfish 2u2 and controlling it through Netbeans 6.5.

I am a pretty much a beginner when it comes to glassfish and EJB so I may be missing something simple.

Thanks
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henrik,

I'm not sure what might be going on, off hand. Perhaps it is best to pursue this with the GlassFish folks on their forums?

Best regards,
Reza
 
Henrik Axelsson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Reza, I'll try my luck over there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic