We have a client-server application with JBoss as AS and the clients are Swing downloaded via Webstart. Communication between C & S is RMI and JMS.
On some locations the clients can't connect to the server: a java.rmi.Connectexception is thrown because of a connection timeout.
What could be wrong? We have no idea why it only works on some locations.
Details: -------- JBoss is behind a router and following ports are forwarded: 1098, 1099, 4444, 8080 and 8093. It is started with following switches: -Djava.rmi.server.hostname=mail.fpc.be and -Djava.rmi.server.useLocalHostname=false
The client is started with <property name="java.naming.provider.url" value="jnp://mail.fpc.be:1099"/>, <property name="java.naming.factory.initial" value="org.jnp.interfaces.NamingContextFactory"/> and <property name="java.naming.factory.url.pkgs" value="org.jboss.naming rg.jnp.interfaces"/> The stacktrace is:
[ August 31, 2006: Message edited by: Nick De Graeve ]