Re: [jgroups-users] Eclipselink cache coordination with JGroups in Docker in AWS

Questions/problems related to using JGroups <[email protected]> Thu, 9 Feb 2017 09:33:49 +0100
Newsgroups gmane.comp.java.javagroups.general
Message-ID <[email protected]>
I'm running tests on AWS as we speak. When running simple EC2 machine 
and starting docker with network=host, and then binding to eth0, 
everything works.

I'm looking into network=bridge now...

I don't think any operating will let you bind to an address or a NIC 
that's not available on the local host. However, I'll experiment with 
external_addr to see if there's a workaround.

On 09/02/17 09:29, Questions/problems related to using JGroups wrote:
> Hi, I tried to comment the  // ensureValidBindAddresses(protocols); line in
> Configurator.java I did it for version 3.6 of jgroups since version 4
> doesn't seem to work with EclipseLink (at least not with the version of
> EclipseLink that I'm using). I still get the same error message when trying
> to deploy our application:
>
> Internal Exception: Exception [EclipseLink-22118] (Eclipse Persistence
> Services - 2.6.1.v20150605-31e8258):
> org.eclipse.persistence.exceptions.RemoteCommandManagerException
> Exception Description: Failed to create JGroups connection using config
> file: /usr/local/glassfish4/glassfish/domains/domain1/config/jgroups.xml
> Internal Exception: java.net.BindException: bind_addr /172.31.24.230 is not
> a valid interface: java.net.BindException: Cannot assign requested address
> (Bind failed). Please see server.log for more details.
>
> Kind Regards
>
> Steinar
>
>
>
> --
> View this message in context: http://jgroups.1086181.n5.nabble.com/jgroups-users-Eclipselink-cache-coordination-with-JGroups-in-Docker-in-AWS-tp11257p11277.html
> Sent from the JGroups - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users
>

-- 
Bela Ban, JGroups lead (http://www.jgroups.org)


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot