[jboss-jira] [JBoss JIRA] Created: (JBAS-4861) CLONE -bin/run.sh should force IPv4 on Darwin systems

lepe (JIRA) jira-events at lists.jboss.org
Tue Oct 16 03:13:03 EDT 2007


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

        



More information about the jboss-jira mailing list