[jboss-jira] [JBoss JIRA] Commented: (JBAS-7936) Add java.net.preferIPv4Stack=true to run.conf(.bat)

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon May 31 03:36:08 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-7936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12533190#action_12533190 ] 

jaikiran pai commented on JBAS-7936:
------------------------------------

There appears to be a typo in run.conf.bat for M3:

set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true

(Notice the unclosed double quote). 

I haven't yet seen anyone, using Windows OS,  complain about this in the forums. I don't have a Windows system so can't test it either.

Anyway, fixing this typo in future release isn't really necessary since JBAS-7937 is going to remove this setting completely.



> Add java.net.preferIPv4Stack=true to run.conf(.bat)
> ---------------------------------------------------
>
>                 Key: JBAS-7936
>                 URL: https://jira.jboss.org/browse/JBAS-7936
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 6.0.0.M3
>
>
> Needed to allow the "all" config to start on a machine (e.g. the Macbooks some of us use) that supports both IPv6 and IPv4.  The validation performed by JGroups as part of JGRP-1152 will not let the AS start on such a system, as in the absence of any java.net.preferIPvXStack setting it will determine that IPv6 is preferred and will reject the default IPv4 multicast addresses the AS attempts to use.
> Bela's improved on this handling in JGroups HEAD, which will be picked up in the next AS milestone after M3. So for that release this change should be reverted. I'll create a subtask for that.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list