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.