Uploaded image for project: 'Codehaus Cargo'
  1. Codehaus Cargo
  2. CARGO-1111

Unable to set bind address to 0.0.0.0 when starting JBoss 7.1.x

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3
    • Component/s: JBoss
    • Labels:
      None

      Description

      Setting the cargo.hostname property to 0.0.0.0 does not make JBoss listen on all interfaces.

      The work-around is to set jboss.bind.address system variable. This is however containter-specific.

      <plugin>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-maven2-plugin</artifactId>
      <version>1.2.1</version>
      <configuration>
      <configuration>
      <properties>
      <cargo.jvmargs><![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n]]></cargo.jvmargs>
      <cargo.hostname>0.0.0.0</cargo.hostname> <!-- DOES NOT WORK -->
      </properties>
      </configuration>
      <container>
      <containerId>jboss71x</containerId>
      <artifactInstaller>
      <groupId>org.jboss.as</groupId>
      <artifactId>jboss-as-dist</artifactId>
      <version>${jboss.version}</version>
      <type>zip</type>
      </artifactInstaller>
      <systemProperties>
      <jboss.bind.address>0.0.0.0</jboss.bind.address> <!-- IT WORKS -->
      </systemProperties>
      </container>
      <deployer>
      <type>installed</type>
      <deployables>
      <deployable>
      <groupId>${project.groupId}</groupId>
      <artifactId>${project.artifactId}</artifactId>
      <type>war</type>
      <properties>
      <context>${project.artifactId}</context>
      </properties>
      </deployable>
      </deployables>
      </deployer>
      </configuration>
      </plugin>
      

        Gliffy Diagrams

          Activity

          Hide
          savasalitokmen Savas Ali Tokmen added a comment -

          Fixed revision 3330.Please note that the CI being down, you will have to build CARGO 1.2.3-SNAPSHOT yourself to verify the fix. Details on http://cargo.codehaus.org/Building

          Show
          savasalitokmen Savas Ali Tokmen added a comment - Fixed revision 3330.Please note that the CI being down, you will have to build CARGO 1.2.3-SNAPSHOT yourself to verify the fix. Details on http://cargo.codehaus.org/Building

            People

            • Assignee:
              savasalitokmen Savas Ali Tokmen
              Reporter:
              damiannowak Damian Nowak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: