1 Reply Latest reply on Mar 24, 2004 9:40 PM by starksm64

    How to set jboss.bind.addres  in jboss-service.xml ?

    tysmeister

      Hi,

      I have JBoss 3.2.3 installed, however I have a bit of an issue with the property that appears in the jboss-service.xml file. At first I thought that this could be set using a Java system property argument to the VM (i.e. -Djboss.bind.addres=myhost ). However this does not appear to work as the bind address is being reported as 0.0.0.0.

      I have a work around which is to perform a global search and replace of , and replace it with the 'hostname'. However I would like to be able to set this in a single place.

      The 'JBoss Admin Guide 3.2.x' does not appear to shed any light so I would be grateful if someone could tell me how to do this.

      Thanks and regards,
      Andrew

        • 1. Re: How to set jboss.bind.addres  in jboss-service.xml ?
          starksm64

          The jboss.bind.addres is set from the --host option as described in the 3.2.2 version of the docs:

          [starksm@banshee bin]$ run.sh -h
          ...
          
          usage: run.sh [options]
          
          options:
           -h, --help Show this help message
           -V, --version Show version information
           -- Stop processing options
           -D<name>[=<value>] Set a system property
           -p, --patchdir=<dir> Set the patch directory; Must be absolute
           -n, --netboot=<url> Boot from net with the given url as base
           -c, --configuration=<name> Set the server configuration name
           -j, --jaxp=<type> Set the JAXP impl type (ie. crimson)
           -L, --library=<filename> Add an extra library to the loaders classpath
           -C, --classpath=<url> Add an extra url to the loaders classpath
           -P, --properties=<url> Load system properties from the given url
           -b, --host=<host or ip> Bind address for all JBoss services