That message indicates that you are trying to connect to your local system, NOT to a computer over the internet. 127.0.0.1 is localhost. Check jndi.properties.
I know that, but I set the context in the client application like that :
Properties props = new Properties();
Context ctx = new InitialContext(props);
FirstHome home = (FirstHome)ctx.lookup("ejb/First");
So you see i'm not tryin' to connect to my localhost.
Please can you help ? thx
I solved this problem !
i modified jboss.properties and i set the property :
and now works perfectly
Thanks for posting the solution when you found it. :)
It's really annoying to be searching the forums for a solution, but only finding the question with a "oh, I fixed it" message.
If everyone did this there would be much less repeated posting of questions.