-
1. Re: Raising JBoss ports on one particular ip-addess
adrian.brock Apr 7, 2004 5:38 AM (in response to kbk)This feature was added in jboss-3.2.3
you can start jboss with run.sh -s <ip-address>
Before that version you had to go through all the services and configure a<attribute name="BindAddress">ip-address</attribute>
on each service (sometimes it is not called BindAddress).
Regards,
Adrian -
2. Re: Raising JBoss ports on one particular ip-addess
kbk Apr 7, 2004 6:55 AM (in response to kbk)Ok Adrian,
I'll try. You wrote:
(sometimes it is not called BindAddress).
do you know what it might be called if not BindAddress?
/kris -
3. Re: Raising JBoss ports on one particular ip-addess
adrian.brock Apr 7, 2004 7:09 AM (in response to kbk)grep the 3.2.3 configuration for jboss.bind.address and you will find them all
Regards,
Adrian -
4. Re: Raising JBoss ports on one particular ip-addess
luigifonti Apr 8, 2004 11:17 AM (in response to kbk)I have the same problem, so i tried to see where jboss.bind.address is defined, but I only found places where it is used, but none where it is defined.
-
5. Re: Raising JBoss ports on one particular ip-addess
luigifonti Apr 8, 2004 11:40 AM (in response to kbk)Moreover, the -s <ip-address> option is only usable under Linux (run.sh), but under Windows run.bat doesn't like it.
-
6. Re: Raising JBoss ports on one particular ip-addess
adrian.brock Apr 8, 2004 12:24 PM (in response to kbk)It is the same as
run.bat -Djboss.bind.address=<ip-address>
Regards,
Adrian -
7. Re: Raising JBoss ports on one particular ip-addess
npdavis Apr 16, 2004 12:22 PM (in response to kbk)"adrian@jboss.org" wrote:
It is the same asrun.bat -Djboss.bind.address=<ip-address>
Regards,
Adrian[user@acct010 bin]$ ./run.sh --help ================================================================================ JBoss Bootstrap Environment JBOSS_HOME: /usr/java/jboss-3.2.3 JAVA: /usr/java/j2sdk1.4.0_01/bin/java JAVA_OPTS: -server -Dprogram.name=run.sh CLASSPATH: /usr/java/jboss-3.2.3/bin/run.jar:/usr/java/j2sdk1.4.0_01/lib/tools.jar ================================================================================ 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
-
8. Re: Raising JBoss ports on one particular ip-addess
npdavis Apr 16, 2004 12:38 PM (in response to kbk)C:\java\jboss-3.2.3\bin>run.bat --help
produces similar output -
9. Re: Raising JBoss ports on one particular ip-addess
mharnvi Jun 3, 2004 4:14 AM (in response to kbk)I'm on Linux and even without jboss.bind.address set JBoss only binds one IP address. I want it to listen on all interfaces. Here is netstat -at:
tcp 0 0 127.0.0.1:1098 0.0.0.0:* LISTEN 21222/java
tcp 0 0 127.0.0.1:1099 0.0.0.0:* LISTEN 21222/java
Apache on the other hand looks like this:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 27147/httpd
I tried setting jboss.bind.address to "" in run.sh but nothing changed.
Anyone?
/Markus