10 Replies Latest reply on Apr 22, 2004 10:57 PM by Richard Barrington

    Remote server connection problem

    Richard Barrington Newbie

      Hi,

      I've got an app that was working just fine on the local machine. It's JBoss 3.2.3 + Tomcat 4.1.29 with PostgreSQL 7.4 database for storage. The client app is loaded via WebStart from a JSP, with JNDI settings coming in through properties set in the JNLP file.

      My problem is that when located on a remote server, it doesn't work. :( It appears to be either at authentication time or at EJB creation time (first EJB create == first authentication, I think?) it still tries to talk to local host. I get a ConnectException - a receive timeout connecting to 127.0.0.1. I've told it to talk to 192.168.0.10 (the server) in the java.naming.provider.url property, and indeed the name lookups seem to work, so what am I missing that would cause it to try to connect to localhost?

      Thanks.