I tried this in GF 3.1 but it does not work! 0.0.0.0 results in the fact that a remote client tries to connect to "0.0.0.0" which obviously does not work. Maybe this is a bug in 3.1, I don't know.
Von: Amy Kang [mailto:amy.kang_at_oracle.com]
Gesendet: Freitag, 26. September 2014 09:15
An: users_at_glassfish.java.net
Betreff: [gf-users] Re: JMS host with multiple IP adresses
In GlassFish server, use 0.0.0.0 for all interfaces, see following GlassFish server docs
http://docs.oracle.com/cd/E19226-01/820-7688/gjktp/index.html
http://docs.oracle.com/cd/E19798-01/821-1841/gjsdi/index.html
amy
On 09/25/2014 11:37 PM, Markus Karg wrote:
That sounds great! It would be even cooler if the GF manual would say that somewhere... :)
Von: Amy Kang [mailto:amy.kang_at_oracle.com]
Gesendet: Freitag, 26. September 2014 07:23
An: users_at_glassfish.java.net<mailto:users_at_glassfish.java.net>
Betreff: [gf-users] Re: JMS host with multiple IP adresses
The default-jms-host in jms-service is passed to JMSRA to broker as broker's imq.hostname property which can be "*" (all interfaces on the host) or a specific hostname or IP address
http://docs.oracle.com/cd/E18930_01/html/821-2438/aeont.html#gbnni
amy
On 09/24/2014 01:13 AM, Markus Karg 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?