Looks like the client can't connect to the JBoss JNDI port for some reason.
Have you tried telneting to the port first to ensure that you can connect? If you can, but your client still gets timeouts, you might want to try the following JNDI settings as well:
I'm not sure that they are still applicable. We used them sometime during 2.4.x when we found what I think was a similar problem. It's all a bit vague now. I think we were connecting a HAHT app server to some JBoss EJB components - don't even ask.
Anway, hope it helps.
Oops. Forgot to ask the obvious. Did you set the JNDI properties for the client?
Either in jndi.properties
Properties jndiProps = new Properties();
InitialContext ctx = new InitialContext(jndiProps);
Yes, all these properties was setted as you say.