[
http://jira.jboss.com/jira/browse/JBAS-4861?page=comments#action_12382654 ]
lepe commented on JBAS-4861:
----------------------------
Sorry, bad idea of cloning the issue, thought I would have a chance an modify the
description etc... :)
What I would like is to have the same stuff added for Darwin, that is to preferIPv4Stack.
regards,
/L
Redpill AB
CLONE -bin/run.sh should force IPv4 on Darwin systems
-----------------------------------------------------
Key: JBAS-4861
URL:
http://jira.jboss.com/jira/browse/JBAS-4861
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: System service
Reporter: lepe
Assigned To: Dimitris Andreadis
Fix For: JBossAS-4.2.0.CR2, JBossAS-5.0.0.Beta3
There is an issue in the Linux kernel that causes ipv6 to not work correctly with JDK 1.5
and lower. As a result, jbossas does not start by default on Linux unless ipv4 is forced.
To that end, run.sh needs updating.
Something like:
if [ "`uname`" = "Linux" ]; then
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
fi
fi
So that Linux systems use ipv4
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira