Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6371

Inconsistency in WS .sh/.bat files between Native and CXF stack, IPv4 not forced

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.2 ER1
    • EAP_EWP 5.1.1 ER1, EAP_EWP 5.1.1 ER2
    • Web Services
    • None
    • Hide
      JBossWS shell script and batch files from the CXF stack (wsconsume, wsprovide, wsrunclient) were inconsistent with their use of the <code>-Djava.net.preferIPv4Stack</code> configuration option. This has been changed and both the Native and CXF stacks are configured with an IPv4 preference.
      Show
      JBossWS shell script and batch files from the CXF stack (wsconsume, wsprovide, wsrunclient) were inconsistent with their use of the <code>-Djava.net.preferIPv4Stack</code> configuration option. This has been changed and both the Native and CXF stacks are configured with an IPv4 preference.
    • Documented as Resolved Issue

    Description

      Hi Alessio.

      There is inconsistency in WS .sh/.bat files in jboss-as/bin between Native and CXF stack.

      All WS Native .sh files in EAP contain JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true", but WS CXF .sh files not.
      All WS Native .bat files in EAP contain set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true, but WS CXF .bat files not.

      Chnages in WS Native .sh/.bat files are done in EAP build process, see [1] and search for IPv4Stack. JBPAPP-2868 is tracking JIRA for this change. Regarding JBPAPP-2868 comments EAP 5.1 does not support IPv6.

      CXF zip is not influenced by EAP tag build process, it's just dependency. Changes need to be done in WS CXF EAP branch [3].

      I suggest to the the same changes in WS Native EAP branch [2] too and than later remove IPv4 string replace target in build-distr.xml from EAP branch [1] - I can do that.

      Alessio, what do you think about it?

      [1] http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_5_1/build/build-distr.xml
      [2] http://anonsvn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-3.1.2/modules/resources/src/main/resources/bin/
      [3] http://anonsvn.jboss.org/repos/jbossws/stack/cxf/branches/jbossws-cxf-3.1.2/modules/resources/src/main/resources/bin/

      Attachments

        Issue Links

          Activity

            People

              rsvoboda@redhat.com Rostislav Svoboda
              rsvoboda@redhat.com Rostislav Svoboda
              Russell Dickenson Russell Dickenson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: