[jboss-jira] [JBoss JIRA] Commented: (JBAS-4332) bin/run.sh should force IPv4 on Linux systems

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Apr 13 13:34:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4332?page=comments#action_12359278 ] 
            
Dimitris Andreadis commented on JBAS-4332:
------------------------------------------

Commited on Branch_4_2, will wait to check it works properly before commiting to other brances.

> bin/run.sh should force IPv4 on Linux systems
> ---------------------------------------------
>
>                 Key: JBAS-4332
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4332
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: System service
>            Reporter: Dimitris Andreadis
>         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