Network Connection Problems on Linux

On Linux machines you may have problems where JBoss fails to connect to a machine, the symptoms being visible in the log with messages like:

java.net.SocketException: Network is unreachable

This may be a symptom of an IPv6 network stack that takes precedence.

To solve this, add to the JBoss startup options in bin/run.conf or bin/run.bat the following:

-Djava.net.preferIPv4Stack=true

Please refer to http://wiki.jboss.org/wiki/IPv6 for information on a related problem that provides other solutions.

Version 1.1 last modified by Florent Guillaume on 08/04/2008 at 15:16

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: Florent Guillaume on 2008/04/08 15:11
© 2008-2010 Nuxeo
1.3.8295