users@glassfish.java.net

[gf-users] Re: JMS host with multiple IP adresses

From: Markus Karg <karg_at_quipsy.de>
Date: Thu, 25 Sep 2014 08:45:12 +0200

I never touched the virtual server facility before so maybe my question sounds dumb, but how is the virtual server facility related to the JMS_default_host? I mean, when a client asks where to send JMS messages to, wouldn't it always be the host names in JMS_default_host?

Von: William [mailto:streetpoet_at_163.com]
Gesendet: Donnerstag, 25. September 2014 08:25
An: users_at_glassfish.java.net
Betreff: [gf-users] Re: JMS host with multiple IP adresses

have you try modify that configuration under
admin console -> configurations -> server-config -> Virtual servers -> server -> Hosts

[cid:image002.png_at_01CFD89B.0A76EBD0]
notice it says, you can use comma-separated list to represent hosts.
Since I don't have device including multiple network cards to help your testing, you can test by yourself.

########################
William
System Architect
streetpoet_at_163.com<mailto:streetpoet_at_163.com>
########################

On Sep 25, 2014, at 2:10 PM, Markus Karg <karg_at_quipsy.de<mailto:karg_at_quipsy.de>> wrote:


The manual does not say so. It only speaks of singular.

Von: William [mailto:streetpoet_at_163.com]
Gesendet: Donnerstag, 25. September 2014 04:18
An: users_at_glassfish.java.net<mailto:users_at_glassfish.java.net>
Betreff: [gf-users] Re: JMS host with multiple IP adresses

Is it possible to add multiple ip address in hosts property of virtual server ? Just a hint.

########################
William
System Architect
streetpoet_at_163.com<mailto:streetpoet_at_163.com>
########################

On Sep 24, 2014, at 4:13 PM, Markus Karg <karg_at_quipsy.de<mailto:karg_at_quipsy.de>> wrote:



I have set up GlassFish 3.x lots of times, but today I got stuck... My current customer's server has several IP adresses. The JMS default host binds to MYHOST:7676, which effectively leads to the fact that it is bound to ONE IP only - but I need to bind it to SEVERAL. If I understand correctly, then 0.0.0.0 should bind to ALL, right? Is there a way to provide only a SET of IPs?





image002.png
(image/png attachment: image002.png)