<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">May sound basic but if you’re using a VPC, you have to explicily allow traffic between your EC2 instances in your security group.<div class=""><br class=""></div><div class=""><br class=""><div class="">
<div class="">Scott Rossillo</div><div class="">Smartling | Senior Software Engineer</div><div class=""><a href="mailto:srossillo@smartling.com" class="">srossillo@smartling.com</a></div><div class=""><br class=""></div><div class=""><span style="color: rgb(169, 169, 169); font-family: gesta, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; widows: 1; background-color: rgb(255, 255, 255);" class=""></span><div id="watermark" style="box-sizing: border-box; color: rgb(169, 169, 169); font-family: gesta, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; widows: 1; background-color: rgb(255, 255, 255);" class=""><a href="http://www.sigstr.com/" style="box-sizing: border-box; color: rgb(0, 124, 194); text-decoration: none; background-color: transparent; outline: 0px !important;" class=""><img alt="Powered by Sigstr" border="0" src="https://app.sigstr.com/uc/55e5d41c6533390d03580000/watermark" style="box-sizing: border-box; border: 0px; vertical-align: top; max-width: 100%; height: auto; width: inherit; color: rgb(99, 99, 99); font-family: Helvetica; font-size: 11px;" class=""></a></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 18, 2015, at 10:21 AM, Alan Field <<a href="mailto:afield@redhat.com" class="">afield@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class=""><div class="">Hey Charles,<br class=""></div><div class=""><br class=""></div><div class="">Thanks for the logs. I'm not sure what is wrong, but it looks like each server is creating a cluster of 1. I'll try it with my AWS account to see if I can figure out what is wrong.</div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><hr id="zwchr" class=""><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;" class=""><b class="">From: </b>"charles-edouard gagnaire" <<a href="mailto:c.gagnaire@kreactive.com" class="">c.gagnaire@kreactive.com</a>><br class=""><b class="">To: </b>"Alan Field" <<a href="mailto:afield@redhat.com" class="">afield@redhat.com</a>><br class=""><b class="">Cc: </b><a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class=""><b class="">Sent: </b>Friday, December 18, 2015 10:04:53 AM<br class=""><b class="">Subject: </b>Re: [keycloak-user] Problem running keycloak cluster on EC2 with S3_ping<br class=""><div class=""><br class=""></div><div dir="ltr" class=""><div class="">First i want to thank you guys for the quick answers, i was still reading the "Replace use of Infinispan with User Sessions SPI ?" discussion. </div><div class=""><br class=""></div><div class="">Yes of course i can send all the logs. You'll find them below. </div><div class=""><br class=""></div><div class="">The JGroups version is the one shipping with keycloak 1.7, but the problem was the same with Keycloak 1.6.</div><div class="">Looking at the config file, it looks like i'm using : <subsystem xmlns="urn:jboss:domain:jgroups:3.0"></div><div class=""><br class=""></div><div class="">I didn't mention it but i use the archive i found on Keycloak website. The archive is "keycloak-1.7.0.Final.tar.gz". </div><div class="">I just untar and modify the config files, then i launched it using : /opt/keycloak-1.7.0.Final/bin/standalone.sh -c standalone-ha.xml</div><div class=""><br class=""></div><div class="">Thank you again for your help </div><div class=""><br class=""></div><div class="">The logs for server 1 are : </div><div class="">=========================================================================</div><div class=""><br class=""></div><div class=""> JBoss Bootstrap Environment</div><div class=""><br class=""></div><div class=""> JBOSS_HOME: /opt/keycloak-1.7.0.Final</div><div class=""><br class=""></div><div class=""> JAVA: /usr/lib/jvm/jre/bin/java</div><div class=""><br class=""></div><div class=""> JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true</div><div class=""><br class=""></div><div class="">=========================================================================</div><div class=""><br class=""></div><div class="">OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0</div><div class="">14:38:44,910 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final</div><div class="">14:38:45,091 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final</div><div class="">14:38:45,163 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (MSC service thread 1-2) WFLYSRV0049: Keycloak 1.7.0.Final (WildFly Core 1.0.2.Final) starting</div><div class="">14:38:46,358 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 24) WFLYCTL0028: Attribute 'job-repository-type' in the resource at address '/subsystem=batch' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:46,360 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 14) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=PgDskeycloak' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:46,362 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 14) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:46,362 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 14) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=KeycloakDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:46,370 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 21) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:46,572 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)</div><div class="">14:38:46,589 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.3.1.Final</div><div class="">14:38:46,607 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.1.Final</div><div class="">14:38:46,655 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.9.Final</div><div class="">14:38:46,687 INFO [<a href="http://org.wildfly.extension.io/" target="_blank" class="">org.wildfly.extension.io</a>] (ServerService Thread Pool -- 38) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors</div><div class="">14:38:46,685 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.4)</div><div class="">14:38:46,715 INFO [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 43) WFLYCLJG0001: Activating JGroups subsystem.</div><div class="">14:38:46,724 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) WFLYCLINF0001: Activating Infinispan subsystem.</div><div class="">14:38:46,744 INFO [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.5.Final)</div><div class="">14:38:46,746 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = postgresql</div><div class="">14:38:46,767 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)</div><div class="">14:38:46,769 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2</div><div class="">14:38:46,781 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 46) WFLYJSF0007: Activated the following JSF Implementations: [main]</div><div class="">14:38:46,772 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 49) WFLYNAM0001: Activating Naming Subsystem</div><div class="">14:38:46,914 INFO [org.jboss.as.security] (ServerService Thread Pool -- 56) WFLYSEC0002: Activating Security Subsystem</div><div class="">14:38:46,916 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=4.9.2.Final</div><div class="">14:38:46,932 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 57) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.</div><div class="">14:38:46,957 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 59) WFLYWS0002: Activating WebServices Extension</div><div class="">14:38:46,985 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service</div><div class="">14:38:46,992 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]</div><div class="">14:38:47,115 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.2.9.Final starting</div><div class="">14:38:47,119 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 58) WFLYUT0003: Undertow 1.2.9.Final starting</div><div class="">14:38:47,206 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 58) WFLYUT0014: Creating file handler for path /opt/keycloak-1.7.0.Final/welcome-content</div><div class="">14:38:47,229 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.</div><div class="">14:38:47,263 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting</div><div class="">14:38:47,320 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow AJP listener ajp listening on /<a href="http://10.1.7.103:8009/" target="_blank" class="">10.1.7.103:8009</a></div><div class="">14:38:47,324 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on /<a href="http://10.1.7.103:8080/" target="_blank" class="">10.1.7.103:8080</a></div><div class="">14:38:47,339 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 62) MODCLUSTER000001: Initializing mod_cluster version 1.3.1.Final</div><div class="">14:38:47,372 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 62) MODCLUSTER000032: Listening to proxy advertisements on /<a href="http://224.0.1.105:23364/" target="_blank" class="">224.0.1.105:23364</a></div><div class="">14:38:47,478 INFO [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-1) IJ020018: Enabling <validate-on-match> for java:jboss/datasources/PgDskeycloak</div><div class="">14:38:47,513 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]</div><div class="">14:38:47,513 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]</div><div class="">14:38:47,530 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/PgDskeycloak]</div><div class="">14:38:47,673 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")</div><div class="">14:38:47,820 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final</div><div class="">14:38:48,898 INFO [stdout] (MSC service thread 1-2)</div><div class="">14:38:48,898 INFO [stdout] (MSC service thread 1-2) -------------------------------------------------------------------</div><div class="">14:38:48,898 INFO [stdout] (MSC service thread 1-2) GMS: address=ip-10-1-7-103, cluster=ee, physical address=<a href="http://10.1.7.103:7600/" target="_blank" class="">10.1.7.103:7600</a></div><div class="">14:38:48,899 INFO [stdout] (MSC service thread 1-2) -------------------------------------------------------------------</div><div class="">14:38:49,250 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000078: Starting JGroups channel keycloak</div><div class="">14:38:49,265 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000094: Received new cluster view for channel keycloak: [ip-10-1-7-103|0] (1) [ip-10-1-7-103]</div><div class="">14:38:49,273 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000079: Channel keycloak local address is ip-10-1-7-103, physical addresses are [<a href="http://10.1.7.103:7600/" target="_blank" class="">10.1.7.103:7600</a>]</div><div class="">14:38:49,277 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 62) ISPN000128: Infinispan version: Infinispan 'Insanely Bad Elf' 7.2.3.Final</div><div class="">14:38:49,521 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) WFLYCLINF0002: Started users cache from keycloak container</div><div class="">14:38:49,529 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started loginFailures cache from keycloak container</div><div class="">14:38:49,530 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66) WFLYCLINF0002: Started sessions cache from keycloak container</div><div class="">14:38:49,536 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) WFLYCLINF0002: Started realms cache from keycloak container</div><div class="">14:38:50,116 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 66) Load config from /opt/keycloak-1.7.0.Final/standalone/configuration/keycloak-server.json</div><div class="">14:38:50,638 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 66) HHH000204: Processing PersistenceUnitInfo [</div><div class=""> name: keycloak-default</div><div class=""> ...]</div><div class="">14:38:50,690 INFO [org.hibernate.Version] (ServerService Thread Pool -- 66) HHH000412: Hibernate Core {4.3.10.Final}</div><div class="">14:38:50,691 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 66) HHH000206: hibernate.properties not found</div><div class="">14:38:50,693 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 66) HHH000021: Bytecode provider name : javassist</div><div class="">14:38:50,842 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 66) HCANN000001: Hibernate Commons Annotations {4.0.5.Final}</div><div class="">14:38:51,794 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 66) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect</div><div class="">14:38:51,803 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 66) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException</div><div class="">14:38:52,120 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 66) HHH000397: Using ASTQueryTranslatorFactory</div><div class="">14:38:52,156 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 66) HV000001: Hibernate Validator 5.1.3.Final</div><div class="">14:38:53,706 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66) WFLYCLINF0002: Started offlineSessions cache from keycloak container</div><div class="">14:38:53,748 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,750 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding class resource org.keycloak.services.resources.WelcomeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,750 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,750 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding class resource org.keycloak.services.resources.QRCodeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,750 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,751 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,751 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding singleton resource org.keycloak.services.resources.ServerVersionResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,751 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,751 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,752 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 66) Adding provider singleton org.keycloak.services.resources.ModelExceptionMapper from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:38:53,824 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 66) WFLYUT0021: Registered web context: /auth</div><div class="">14:38:53,920 INFO [org.jboss.as.server] (ServerService Thread Pool -- 61) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")</div><div class="">14:38:54,021 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on <a href="http://10.1.7.103:9990/management" target="_blank" class="">http://10.1.7.103:9990/management</a></div><div class="">14:38:54,021 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0051: Admin console listening on <a href="http://10.1.7.103:9990/" target="_blank" class="">http://10.1.7.103:9990</a></div><div class="">14:38:54,022 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0025: Keycloak 1.7.0.Final (WildFly Core 1.0.2.Final) started in 9388ms - Started 349 of 613 services (353 services are lazy, passive or on-demand)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The logs for server 2 are : </div><div class="">=========================================================================</div><div class=""><br class=""></div><div class=""> JBoss Bootstrap Environment</div><div class=""><br class=""></div><div class=""> JBOSS_HOME: /opt/keycloak-1.7.0.Final</div><div class=""><br class=""></div><div class=""> JAVA: /usr/lib/jvm/jre/bin/java</div><div class=""><br class=""></div><div class=""> JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true</div><div class=""><br class=""></div><div class="">=========================================================================</div><div class=""><br class=""></div><div class="">14:38:48,239 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final</div><div class="">14:38:48,723 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final</div><div class="">14:38:48,896 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (MSC service thread 1-2) WFLYSRV0049: Keycloak 1.7.0.Final (WildFly Core 1.0.2.Final) starting</div><div class="">14:38:50,979 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 8) WFLYCTL0028: Attribute 'job-repository-type' in the resource at address '/subsystem=batch' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:50,983 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 11) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=PgDskeycloak' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:50,986 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 11) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:51,010 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 14) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:51,044 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 11) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=KeycloakDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.</div><div class="">14:38:51,452 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)</div><div class="">14:38:51,499 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.3.1.Final</div><div class="">14:38:51,520 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.1.Final</div><div class="">14:38:51,590 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.4)</div><div class="">14:38:51,603 INFO [<a href="http://org.wildfly.extension.io/" target="_blank" class="">org.wildfly.extension.io</a>] (ServerService Thread Pool -- 38) WFLYIO001: Worker 'default' has auto-configured to 2 core threads with 16 task threads based on your 1 available processors</div><div class="">14:38:51,601 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) WFLYCLINF0001: Activating Infinispan subsystem.</div><div class="">14:38:51,634 INFO [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 43) WFLYCLJG0001: Activating JGroups subsystem.</div><div class="">14:38:51,694 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 49) WFLYNAM0001: Activating Naming Subsystem</div><div class="">14:38:51,666 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 46) WFLYJSF0007: Activated the following JSF Implementations: [main]</div><div class="">14:38:51,696 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.5.Final)</div><div class="">14:38:51,932 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 59) WFLYWS0002: Activating WebServices Extension</div><div class="">14:38:51,970 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.9.Final</div><div class="">14:38:51,975 INFO [org.jboss.as.security] (ServerService Thread Pool -- 56) WFLYSEC0002: Activating Security Subsystem</div><div class="">14:38:51,972 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)</div><div class="">14:38:51,971 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 57) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.</div><div class="">14:38:52,140 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 58) WFLYUT0003: Undertow 1.2.9.Final starting</div><div class="">14:38:52,187 INFO [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.2.Final</div><div class="">14:38:52,224 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = postgresql</div><div class="">14:38:52,225 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2</div><div class="">14:38:52,368 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.2.9.Final starting</div><div class="">14:38:52,369 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service</div><div class="">14:38:52,471 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]</div><div class="">14:38:52,710 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 58) WFLYUT0014: Creating file handler for path /opt/keycloak-1.7.0.Final/welcome-content</div><div class="">14:38:52,864 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.</div><div class="">14:38:53,133 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on /<a href="http://10.1.1.245:8080/" target="_blank" class="">10.1.1.245:8080</a></div><div class="">14:38:53,166 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting</div><div class="">14:38:53,192 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow AJP listener ajp listening on /<a href="http://10.1.1.245:8009/" target="_blank" class="">10.1.1.245:8009</a></div><div class="">14:38:53,211 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 62) MODCLUSTER000001: Initializing mod_cluster version 1.3.1.Final</div><div class="">14:38:53,307 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 62) MODCLUSTER000032: Listening to proxy advertisements on /<a href="http://224.0.1.105:23364/" target="_blank" class="">224.0.1.105:23364</a></div><div class="">14:38:53,779 INFO [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-2) IJ020018: Enabling <validate-on-match> for java:jboss/datasources/PgDskeycloak</div><div class="">14:38:53,896 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]</div><div class="">14:38:53,903 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]</div><div class="">14:38:53,909 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/PgDskeycloak]</div><div class="">14:38:54,118 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")</div><div class="">14:38:54,306 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final</div><div class="">14:38:56,138 INFO [stdout] (MSC service thread 1-2)</div><div class="">14:38:56,138 INFO [stdout] (MSC service thread 1-2) -------------------------------------------------------------------</div><div class="">14:38:56,139 INFO [stdout] (MSC service thread 1-2) GMS: address=ip-10-1-1-245, cluster=ee, physical address=<a href="http://10.1.1.245:7600/" target="_blank" class="">10.1.1.245:7600</a></div><div class="">14:38:56,139 INFO [stdout] (MSC service thread 1-2) -------------------------------------------------------------------</div><div class="">14:38:56,606 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000078: Starting JGroups channel keycloak</div><div class="">14:38:56,623 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000094: Received new cluster view for channel keycloak: [ip-10-1-1-245|0] (1) [ip-10-1-1-245]</div><div class="">14:38:56,644 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000079: Channel keycloak local address is ip-10-1-1-245, physical addresses are [<a href="http://10.1.1.245:7600/" target="_blank" class="">10.1.1.245:7600</a>]</div><div class="">14:38:56,651 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 62) ISPN000128: Infinispan version: Infinispan 'Insanely Bad Elf' 7.2.3.Final</div><div class="">14:38:57,044 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) WFLYCLINF0002: Started users cache from keycloak container</div><div class="">14:38:57,050 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started sessions cache from keycloak container</div><div class="">14:38:57,055 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) WFLYCLINF0002: Started realms cache from keycloak container</div><div class="">14:38:57,059 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started loginFailures cache from keycloak container</div><div class="">14:38:58,007 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 64) Load config from /opt/keycloak-1.7.0.Final/standalone/configuration/keycloak-server.json</div><div class="">14:38:58,755 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 64) HHH000204: Processing PersistenceUnitInfo [</div><div class=""> name: keycloak-default</div><div class=""> ...]</div><div class="">14:38:58,812 INFO [org.hibernate.Version] (ServerService Thread Pool -- 64) HHH000412: Hibernate Core {4.3.10.Final}</div><div class="">14:38:58,819 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 64) HHH000206: hibernate.properties not found</div><div class="">14:38:58,824 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 64) HHH000021: Bytecode provider name : javassist</div><div class="">14:38:59,268 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 64) HCANN000001: Hibernate Commons Annotations {4.0.5.Final}</div><div class="">14:39:00,264 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 64) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect</div><div class="">14:39:00,272 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 64) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException</div><div class="">14:39:00,602 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 64) HHH000397: Using ASTQueryTranslatorFactory</div><div class="">14:39:00,634 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 64) HV000001: Hibernate Validator 5.1.3.Final</div><div class="">14:39:04,607 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started offlineSessions cache from keycloak container</div><div class="">14:39:04,665 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,667 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding class resource org.keycloak.services.resources.WelcomeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,667 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding class resource org.keycloak.services.resources.QRCodeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,668 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,668 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,668 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding provider singleton org.keycloak.services.resources.ModelExceptionMapper from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,669 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,669 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,669 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding singleton resource org.keycloak.services.resources.ServerVersionResource from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,669 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (ServerService Thread Pool -- 64) Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.keycloak.services.resources.KeycloakApplication</div><div class="">14:39:04,757 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0021: Registered web context: /auth</div><div class="">14:39:04,844 INFO [org.jboss.as.server] (ServerService Thread Pool -- 61) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")</div><div class="">14:39:05,526 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on <a href="http://10.1.1.245:9990/management" target="_blank" class="">http://10.1.1.245:9990/management</a></div><div class="">14:39:05,527 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0051: Admin console listening on <a href="http://10.1.1.245:9990/" target="_blank" class="">http://10.1.1.245:9990</a></div><div class="">14:39:05,531 INFO [<a href="http://org.jboss.as/" target="_blank" class="">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0025: Keycloak 1.7.0.Final (WildFly Core 1.0.2.Final) started in 17727ms - Started 349 of 613 services (353 services are lazy, passive or on-demand)</div><div class=""><br class=""></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><table width="100%" cellpadding="0" cellspacing="0" style="font-family:'Times New Roman'" class="mceItemTable"><tbody class=""><tr class=""><td colspan="4" height="20" class=""></td></tr><tr class=""><td valign="top" align="left" class=""><table cellpadding="0" cellspacing="0" class="mceItemTable"><tbody class=""><tr class=""><td width="20" class=""></td><td style="font-family:'Exo 2',helvetica,arial,sans-serif" class=""><span data-mce-style="color: #333333;" style="color: #333333;" class=""><span style="line-height:1em;font-size:20px" class="">CHARLES-EDOUARD GAGNAIRE</span></span><br class=""><span data-mce-style="color: #6c6c6c;" style="color: #6c6c6c;" class=""><span style="line-height:1.4em;font-style:italic;font-size:14px" class="">SysAdmin</span></span> <br class=""><span size="2" data-mce-style="font-size: small;" style="font-size: small;" class=""><a href="mailto:c.gagnaire@kreactive.com" style="text-decoration:none;line-height:2em" target="_blank" class=""><span data-mce-style="font-size: 13px; color: #b60018;" style="font-size: 13px; color: #b60018;" class="">c.gagnaire@kreactive.com</span></a><br class=""><span data-mce-style="line-height: 1em; font-size: 14px; color: #333333;" style="line-height: 1em; font-size: 14px; color: #333333;" class="">p. 06.27.80.28.53</span></span><table cellpadding="0" cellspacing="0" class="mceItemTable"><tbody class=""><tr class=""><td height="20" class=""></td></tr><tr class=""><td valign="top" class=""><span face="'Exo 2', helvetica,arial,sans-serif" size="1" data-mce-style="font-family: 'Exo 2', helvetica, arial, sans-serif; font-size: xx-small;" style="font-family: 'Exo 2', helvetica, arial, sans-serif; font-size: xx-small;" class=""><span data-mce-style="font-style: italic; font-size: 11px; color: #333333;" style="font-style: italic; font-size: 11px; color: #333333;" class="">LYON "Le Capitole"</span><br class=""><span data-mce-style="font-style: italic; font-size: 10px; color: #333333;" style="font-style: italic; font-size: 10px; color: #333333;" class="">97, cours Gambetta<br class="">69481 Lyon Cedex 03</span> </span><br class=""><div class=""><br class=""></div><span face="'Exo 2', helvetica,arial,sans-serif" size="1" data-mce-style="font-family: 'Exo 2', helvetica, arial, sans-serif; font-size: xx-small;" style="font-family: 'Exo 2', helvetica, arial, sans-serif; font-size: xx-small;" class=""><span data-mce-style="font-style: italic; font-size: 11px; color: #333333;" style="font-style: italic; font-size: 11px; color: #333333;" class="">PARIS</span><br class=""><span data-mce-style="font-style: italic; font-size: 10px; color: #333333;" style="font-style: italic; font-size: 10px; color: #333333;" class="">16, rue de Turbigo<br class="">75002 Paris</span></span></td></tr></tbody></table></td></tr></tbody></table></td><td align="center" valign="middle" class=""><img src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/place1.gif" class=""></td><td valign="middle" align="right" style="line-height:0.8em;font-family:helvetica,arial,sans-serif" class=""><div style="width:132px;text-align:center" class=""><a href="http://www.kreactive.com/" target="_blank" class=""><img alt="Kreactive" width="132" height="90" border="0" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/kreactive-corporate.png" class=""></a><br class=""><div class=""><br class=""></div><br class=""><a href="https://www.facebook.com/kreactive" target="_blank" class=""><img border="0" alt="Facebook" width="17" height="17" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/icon-facebook-kreactive.gif" class=""></a> <a href="https://twitter.com/kreactive" target="_blank" class=""><img border="0" alt="Twitter" width="17" height="17" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/icon-twitter-kreactive.gif" class=""></a></div></td><td width="15" class=""></td></tr><tr class=""><td colspan="4" height="10" class=""></td></tr><tr class=""><td colspan="4" height="4" bgcolor="#B60018" class=""></td></tr></tbody></table></div></div></div></div></div>
<br class=""><div class="gmail_quote">2015-12-18 15:53 GMT+01:00 Alan Field <span dir="ltr" class=""><<a href="mailto:afield@redhat.com" target="_blank" class="">afield@redhat.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class=""><div class="">Hey Charles,<br class=""></div><div class=""><br class=""></div><div class="">Can you send the full logs and tell me which version of JGroups you are using?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Alan</div><div class=""><br class=""></div><hr class=""><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;" class=""><b class="">From: </b>"charles-edouard gagnaire" <<a href="mailto:c.gagnaire@kreactive.com" target="_blank" class="">c.gagnaire@kreactive.com</a>><br class=""><b class="">To: </b><a href="mailto:keycloak-user@lists.jboss.org" target="_blank" class="">keycloak-user@lists.jboss.org</a><br class=""><b class="">Sent: </b>Friday, December 18, 2015 9:01:12 AM<br class=""><b class="">Subject: </b>[keycloak-user] Problem running keycloak cluster on EC2 with S3_ping<div class=""><div class="h5"><br class=""><div class=""><br class=""></div><div dir="ltr" class=""><div class="">hi, </div><div class=""><br class=""></div><div class="">I'm having trouble configuring a Keycloak cluster running on AWS' EC2. </div><div class="">The database configuration is OK no problem, but i can't manage to get the invalidation cache working correctly. </div><div class="">I configured Infinispan to work with S3_ping plugin (the relevant part of my configuration is below). </div><div class=""><br class=""></div><div class="">When i run both server, the connection with the database is Ok, but the infinispan logs look like this : </div><div class="">On Server 1 : </div><div class="">...</div><div class="">11:00:17,592 INFO [stdout] (MSC service thread 1-1) GMS: address=ip-10-1-7-103, cluster=ee, physical address=<a href="http://10.1.7.103:7600/" target="_blank" class="">10.1.7.103:7600</a></div><div class="">...</div><div class="">11:00:18,057 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000094: Received new cluster view for channel keycloak: [ip-10-1-7-103|0] (1) [ip-10-1-7-103]</div><div class="">...</div><div class=""><br class=""></div><div class="">On Server 2 : </div><div class="">...</div><div class="">11:03:41,159 INFO [stdout] (MSC service thread 1-1) GMS: address=ip-10-1-1-245, cluster=ee, physical address=<a href="http://10.1.1.245:7600/" target="_blank" class="">10.1.1.245:7600</a></div><div class="">...</div><div class="">11:03:41,783 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 62) ISPN000094: Received new cluster view for channel keycloak: [ip-10-1-1-245|0] (1) [ip-10-1-1-245]</div><div class="">...</div><div class=""><br class=""></div><div class="">In my S3 bucket, i have 2 files created :</div><div class="">402ea329-c135-f1e9-2782-02768779e02f.ip-10-1-1-245.list</div><div class="">a584321f-408b-b2ae-e2dd-d19333db96c4.ip-10-1-7-103.list</div><div class=""><br class=""></div><div class="">And the content of the files is like this :</div><div class="">File 1 : </div><div class="">ip-10-1-1-245 <span style="white-space:pre-wrap" class="">        </span>402ea329-c135-f1e9-2782-02768779e02f <span style="white-space:pre-wrap" class="">        </span><a href="http://10.1.1.245:7600/" target="_blank" class="">10.1.1.245:7600</a> <span style="white-space:pre-wrap" class="">        </span>T</div><div class=""><br class=""></div><div class="">File 2 : </div><div class="">ip-10-1-7-103 <span style="white-space:pre-wrap" class="">        </span>a584321f-408b-b2ae-e2dd-d19333db96c4 <span style="white-space:pre-wrap" class="">        </span><a href="http://10.1.7.103:7600/" target="_blank" class="">10.1.7.103:7600</a> <span style="white-space:pre-wrap" class="">        </span>T</div><div class=""><br class=""></div><div class="">When i read the logs, it looks like the infinispan's cache can't contact each other.</div><div class="">I double check my network config, and i tried connecting from one server to the other using nc (like this: nc -vvv 10.1.7.103 7600) and this works fine. </div><div class=""><br class=""></div><div class="">Is there a way to check the infinispan status of the servers?</div><div class="">Do you guys got any clue on how to make this works? </div><div class=""><br class=""></div><div class="">Thank you, </div><div class="">Charles-Edouard</div><div class=""><br class=""></div><div class="">My config looks like this : </div><div class=""><br class=""></div><div class="">- Standalone-ha.xml</div><div class="">...</div><div class=""><datasources></div><div class=""> <driver name="postgresql" module="org.postgresql"></div><div class=""> <datasource-class>org.postgresql.Driver</datasource-class></div><div class=""> <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class></div><div class=""> </driver></div><div class=""> <datasource jndi-name="java:jboss/datasources/PgDskeycloak" pool-name="PgDskeycloak" enabled="true" use-java-context="true"></div><div class=""> <connection-url>jdbc:postgresql://****:5432/keycloak?ApplicationName=keycloak</connection-url></div><div class=""> <driver>postgresql</driver></div><div class=""> <pool></div><div class=""> <min-pool-size>5</min-pool-size></div><div class=""> <initial-pool-size>5</initial-pool-size></div><div class=""> <max-pool-size>100</max-pool-size></div><div class=""> <prefill>true</prefill></div><div class=""> </pool></div><div class=""> <validation></div><div class=""> <valid-connection-checker</div><div class=""> class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker"></valid-connection-checker></div><div class=""> <exception-sorter</div><div class=""> class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter"></exception-sorter></div><div class=""> </validation></div><div class=""> <security></div><div class=""> <user-name>****</user-name></div><div class=""> <password>****</password></div><div class=""> </security></div><div class=""> </datasource></div><div class="">...</div><div class=""> <stacks default="tcp"></div><div class=""> <stack name="udp"></div><div class=""> <transport type="UDP" socket-binding="jgroups-udp"/></div><div class=""> <protocol type="PING"/></div><div class=""> <protocol type="MERGE3"/></div><div class=""> <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/></div><div class=""> <protocol type="FD_ALL"/></div><div class=""> <protocol type="VERIFY_SUSPECT"/></div><div class=""> <protocol type="pbcast.NAKACK2"/></div><div class=""> <protocol type="UNICAST3"/></div><div class=""> <protocol type="pbcast.STABLE"/></div><div class=""> <protocol type="pbcast.GMS"/></div><div class=""> <protocol type="UFC"/></div><div class=""> <protocol type="MFC"/></div><div class=""> <protocol type="FRAG2"/></div><div class=""> <protocol type="RSVP"/></div><div class=""> </stack></div><div class=""> <stack name="tcp"></div><div class=""> <transport type="TCP" socket-binding="jgroups-tcp"/></div><div class=""> <protocol type="S3_PING" ></div><div class=""> <property name="location">****</property></div><div class=""> <property name="access_key">****</property></div><div class=""> <property name="secret_access_key">****</property></div><div class=""> </protocol></div><div class=""> <!-- <protocol type="MPING" socket-binding="jgroups-mping"/> --></div><div class=""> <protocol type="MERGE3"/></div><div class=""> <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/></div><div class=""> <protocol type="FD"/></div><div class=""> <protocol type="VERIFY_SUSPECT"/></div><div class=""> <protocol type="pbcast.NAKACK2"/></div><div class=""> <protocol type="UNICAST3"/></div><div class=""> <protocol type="pbcast.STABLE"/></div><div class=""> <protocol type="pbcast.GMS"/></div><div class=""> <protocol type="MFC"/></div><div class=""> <protocol type="FRAG2"/></div><div class=""> <protocol type="RSVP"/></div><div class=""> </stack></div><div class="">...</div><div class=""> <interfaces></div><div class=""> <interface name="management"></div><div class=""> <nic name="eth0"/></div><div class=""> </interface></div><div class=""> <interface name="public"></div><div class=""> <nic name="eth0"/></div><div class=""> </interface></div><div class=""> <!-- TODO - only show this if the jacorb subsystem is added --></div><div class=""> <interface name="unsecure"></div><div class=""> <!--</div><div class=""> ~ Used for IIOP sockets in the standard configuration.</div><div class=""> ~ To secure JacORB you need to setup SSL</div><div class=""> --></div><div class=""> <nic name="eth0"/></div><div class=""> </interface></div><div class=""> </interfaces></div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class="">        </span></div><div class="">- keycloak-server.json</div><div class="">{</div><div class=""> "providers": [</div><div class=""> "classpath:${jboss.server.config.dir}/providers/*"</div><div class=""> ],</div><div class=""><br class=""></div><div class=""> "admin": {</div><div class=""> "realm": "master"</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "eventsStore": {</div><div class=""> "provider": "jpa",</div><div class=""> "jpa": {</div><div class=""> "exclude-events": [ "REFRESH_TOKEN" ]</div><div class=""> }</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "realm": {</div><div class=""> "provider": "jpa"</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "user": {</div><div class=""> "provider": "jpa"</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "userSessionPersister": {</div><div class=""> "provider": "jpa"</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "timer": {</div><div class=""> "provider": "basic"</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "theme": {</div><div class=""> "default": "keycloak",</div><div class=""> "staticMaxAge": 2592000,</div><div class=""> "cacheTemplates": true,</div><div class=""> "cacheThemes": true,</div><div class=""> "folder": {</div><div class=""> "dir": "${jboss.server.config.dir}/themes"</div><div class=""> }</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "scheduled": {</div><div class=""> "interval": 900</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "connectionsHttpClient": {</div><div class=""> "default": {</div><div class=""> "disable-trust-manager": true</div><div class=""> }</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "connectionsJpa": {</div><div class=""> "default": {</div><div class=""> "dataSource": "java:jboss/datasources/PgDskeycloak",</div><div class=""> "databaseSchema": "update"</div><div class=""> }</div><div class=""> },</div><div class=""><br class=""></div><div class=""> "connectionsInfinispan": {</div><div class=""> "default" : {</div><div class=""> "cacheContainer" : "java:jboss/infinispan/Keycloak"</div><div class=""> }</div><div class=""> }</div><div class="">}</div><div class=""><br class=""></div><div class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><table width="100%" cellpadding="0" cellspacing="0" style="font-family:'Times New Roman'" class="mceItemTable"><tbody class=""><tr class=""><td colspan="4" height="20" class=""></td></tr><tr class=""><td valign="top" align="left" class=""><table cellpadding="0" cellspacing="0" class="mceItemTable"><tbody class=""><tr class=""><td width="20" class=""></td><td style="font-family:'Exo 2',helvetica,arial,sans-serif" class=""><span style="color:#333333" class=""><span style="line-height:1em;font-size:20px" class="">CHARLES-EDOUARD GAGNAIRE</span></span><br class=""><span style="color:#6c6c6c" class=""><span style="line-height:1.4em;font-style:italic;font-size:14px" class="">SysAdmin</span></span> <br class=""><span style="font-size:small" class=""><a href="mailto:c.gagnaire@kreactive.com" style="text-decoration:none;line-height:2em" target="_blank" class=""><span style="font-size:13px;color:#b60018" class="">c.gagnaire@kreactive.com</span></a><br class=""><span style="line-height:1em;font-size:14px;color:#333333" class="">p. 06.27.80.28.53</span></span><table cellpadding="0" cellspacing="0" class="mceItemTable"><tbody class=""><tr class=""><td height="20" class=""></td></tr><tr class=""><td valign="top" class=""><span style="font-family:'Exo 2',helvetica,arial,sans-serif;font-size:xx-small" class=""><span style="font-style:italic;font-size:11px;color:#333333" class="">LYON "Le Capitole"</span><br class=""><span style="font-style:italic;font-size:10px;color:#333333" class="">97, cours Gambetta<br class="">69481 Lyon Cedex 03</span> </span><br class=""><div class=""><br class=""></div><span style="font-family:'Exo 2',helvetica,arial,sans-serif;font-size:xx-small" class=""><span style="font-style:italic;font-size:11px;color:#333333" class="">PARIS</span><br class=""><span style="font-style:italic;font-size:10px;color:#333333" class="">16, rue de Turbigo<br class="">75002 Paris</span></span></td></tr></tbody></table></td></tr></tbody></table></td><td align="center" valign="middle" class=""><img src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/place1.gif" class=""></td><td valign="middle" align="right" style="line-height:0.8em;font-family:helvetica,arial,sans-serif" class=""><div style="width:132px;text-align:center" class=""><a href="http://www.kreactive.com/" target="_blank" class=""><img alt="Kreactive" width="132" height="90" border="0" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/kreactive-corporate.png" class=""></a><br class=""><div class=""><br class=""></div><br class=""><a href="https://www.facebook.com/kreactive" target="_blank" class=""><img border="0" alt="Facebook" width="17" height="17" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/icon-facebook-kreactive.gif" class=""></a> <a href="https://twitter.com/kreactive" target="_blank" class=""><img border="0" alt="Twitter" width="17" height="17" src="http://s3.amazonaws.com/signature_kreactive/kt-signatures/icon-twitter-kreactive.gif" class=""></a></div></td><td width="15" class=""></td></tr><tr class=""><td colspan="4" height="10" class=""></td></tr><tr class=""><td colspan="4" height="4" bgcolor="#B60018" class=""></td></tr></tbody></table></div></div></div></div></div>
</div>
<br class=""></div></div><span class="">_______________________________________________<br class="">keycloak-user mailing list<br class=""><a href="mailto:keycloak-user@lists.jboss.org" target="_blank" class="">keycloak-user@lists.jboss.org</a><br class=""><a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></span></blockquote><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div>
</blockquote><div class=""><br class=""></div></div></div>_______________________________________________<br class="">keycloak-user mailing list<br class=""><a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</div></blockquote></div><br class=""></div></body></html>