<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">You can try to use "-b 0.0.0.0" instead
of "-b=0.0.0.0"<br>
<br>
Marek<br>
<br>
On 28/01/16 11:25, Revanth Ayalasomayajula wrote:<br>
</div>
<blockquote
cite="mid:CAA1skqVyoA4jTJWTBfJ6tmy7jVJGBxoh7sv-Nk6gjQDtmo+W-A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi I am using keycloak1.5.0 and want to cluster it, I
made the changes necessary changes to standalone-ha.xml. <br>
<br>
</div>
I am running the following command: ./standalone.sh
--server-config=standalone-ha.xml -b=0.0.0.0 <br>
</div>
<div><br>
</div>
<div>I am getting the below error: <br>
<br>
Caused by: java.net.BindException: [UDP] /<a
moz-do-not-send="true" href="http://0.0.0.0">0.0.0.0</a> is
not a valid address on any local network interface<br>
at
org.jgroups.util.Util.checkIfValidAddress(Util.java:3484)<br>
at
org.jgroups.stack.Configurator.ensureValidBindAddresses(Configurator.java:903)<br>
at
org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:118)<br>
at
org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:57)<br>
at
org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:477)<br>
at org.jgroups.JChannel.init(JChannel.java:854)<br>
at org.jgroups.JChannel.<init>(JChannel.java:159)<br>
at
org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:96)<br>
at
org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:93)<br>
at
org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)<br>
... 7 more<br>
<br>
I changed my keycloak.json as per the documentation for
clustering.<br>
</div>
<div><br>
</div>
<div>Could you help me figure out what is the issue??<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 13, 2016 at 12:08 AM, Stian
Thorgersen <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">If you're saying you can only access it using
localhost, then run it with "bin/standalone.sh -b 0.0.0.0"
and it'll be bound to all interfaces.</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 12 January 2016 at 16:26,
Revanth Ayalasomayajula <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:revanth@arvindinternet.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:revanth@arvindinternet.com">revanth@arvindinternet.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I mean, i am not able to access it
using it public ip.<br>
<br>
<br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 12,
2016 at 8:18 PM, Stian Thorgersen <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:sthorger@redhat.com"
target="_blank">sthorger@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">I don't know what you
mean that you can't access from
outside world, but if you're running a
cluster you'll need a load balance in
front. Apache, Nginx or even Undertow
would do that for you.
<div><br>
</div>
<div>You add nodes by just running
more nodes on the same subnet and
they'll discover themselves.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>On 12 January 2016 at 12:37,
Revanth Ayalasomayajula <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:revanth@arvindinternet.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:revanth@arvindinternet.com">revanth@arvindinternet.com</a></a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
</div>
I have a few applications
that are using Keycloak
1.5 and I now want to
cluster it. I had followed
this link (<a
moz-do-not-send="true"
href="https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html"
target="_blank"><a class="moz-txt-link-freetext" href="https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html">https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clustering.html</a></a>)
but i am not able to
access this server from
outside world and I also
wanted to know how I can
add nodes to my cluster.
Could anyone please help
me out in this respect.<br>
<br>
</div>
Thanks.<br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
keycloak-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org"
target="_blank">keycloak-user@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>