This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ConnectException in Webstart clients

 
Nick De Graeve
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "mail.fps.be" a public server? When I try to ping it I get connection refused, and if I try to open it in a web browser I get redirected to "www.fps.be".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic