| Author |
accessing glassfish EJB through external client
|
Henrik Axelsson
Greenhorn
Joined: Sep 15, 2008
Posts: 7
|
|
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
Joined: Feb 01, 2005
Posts: 559
|
|
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
|
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
|
 |
Henrik Axelsson
Greenhorn
Joined: Sep 15, 2008
Posts: 7
|
|
|
Thanks Reza, I'll try my luck over there.
|
 |
 |
|
|
subject: accessing glassfish EJB through external client
|
|
|