<div dir="ltr">Looks like there&#39;s something wrong in your standalone.xml. Did you use the standalone server distro?</div><div class="gmail_extra"><br><div class="gmail_quote">On 30 August 2016 at 09:15, Aman Jaiswal <span dir="ltr">&lt;<a href="mailto:aman.jaiswal@arvindinternet.com" target="_blank">aman.jaiswal@arvindinternet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Stian<div><br></div><div>I am getting an error while starting keycloak-2.1.0.Final server .... error is mentions bellow</div><div>I am all ready added the file layers.conf with content &quot;layers=keycloak&quot;</div><div>  </div><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">==============================<wbr>==============================<wbr>=============</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">  JBoss Bootstrap Environment</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">  JBOSS_HOME: /home/ubuntu/keycloak/<wbr>keycloak-2.1.0.Final</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">  JAVA: java</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">  JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=<wbr>true -Djboss.modules.system.pkgs=<wbr>org.jboss.byteman -Djava.awt.headless=true</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">==============================<wbr>==============================<wbr>=============</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">05:54:22,401 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">05:54:22,654 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">05:54:22,743 INFO  [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread 1-2) WFLYSRV0049: Keycloak 2.1.0.Final (WildFly Core 2.0.10.Final) starting</p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">05:54:23,647 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.<wbr>persistence.<wbr>ConfigurationPersistenceExcept<wbr>ion: WFLYCTL0085: Failed to parse configuration</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">  <span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">at org.jboss.as.controller.<wbr>persistence.<wbr>XmlConfigurationPersister.<wbr>load(<wbr>XmlConfigurationPersister.<wbr>java:131) [wildfly-controller-2.0.10.<wbr>Final.jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.<wbr>ServerService.boot(<wbr>ServerService.java:356) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.controller.<wbr>AbstractControllerService$1.<wbr>run(AbstractControllerService.<wbr>java:299) [wildfly-controller-2.0.10.<wbr>Final.jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_91]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">Caused by: javax.xml.stream.<wbr>XMLStreamException: ParseError at [row,col]:[285,5]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">Message: Unexpected element &#39;{urn:jboss:domain:4.0}<wbr>subsystem&#39;</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.staxmapper.<wbr>XMLMapperImpl.processNested(<wbr>XMLMapperImpl.java:108) [staxmapper-1.2.0.Final.jar:1.<wbr>2.0.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.staxmapper.<wbr>XMLExtendedStreamReaderImpl.<wbr>handleAny(<wbr>XMLExtendedStreamReaderImpl.<wbr>java:69) [staxmapper-1.2.0.Final.jar:1.<wbr>2.0.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.<wbr>parseServerProfile(<wbr>StandaloneXml_4.java:546) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.<wbr>readServerElement(<wbr>StandaloneXml_4.java:242) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.readElement(<wbr>StandaloneXml_4.java:141) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.parsing.<wbr>StandaloneXml.readElement(<wbr>StandaloneXml.java:103) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.server.parsing.<wbr>StandaloneXml.readElement(<wbr>StandaloneXml.java:49) [wildfly-server-2.0.10.Final.<wbr>jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.staxmapper.<wbr>XMLMapperImpl.processNested(<wbr>XMLMapperImpl.java:110) [staxmapper-1.2.0.Final.jar:1.<wbr>2.0.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.staxmapper.<wbr>XMLMapperImpl.parseDocument(<wbr>XMLMapperImpl.java:69) [staxmapper-1.2.0.Final.jar:1.<wbr>2.0.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  at org.jboss.as.controller.<wbr>persistence.<wbr>XmlConfigurationPersister.<wbr>load(<wbr>XmlConfigurationPersister.<wbr>java:123) [wildfly-controller-2.0.10.<wbr>Final.jar:2.0.10.Final]</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">  ... 3 more</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61);min-height:8pt"> </p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)"><span style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(255,0,0)">05:54:23,651 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.</span></p><p style="margin:0px;padding:0px;font-family:Cabin;font-size:13px;line-height:19.5px;border:0px;vertical-align:baseline;color:rgb(61,61,61)">05:54:23,659 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.</p><div><span style="color:rgb(61,61,61);font-family:Cabin;font-size:13px;line-height:19.5px">05:54:23,683 INFO  [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread 1-3) WFLYSRV0050: Keycloak 2.1.0.Final (WildFly Core 2.0.10.Final) stopped in 18ms</span></div><div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 4:29 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</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&#39;d say your DB is going pretty slow then. It takes me ~60 second to boot Keycloak here, which is well within the 300 second limit. Can&#39;t really answer why it&#39;s that slow as it&#39;s most likely your DB not behaving very well.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2016 at 12:53, Aman Jaiswal <span dir="ltr">&lt;<a href="mailto:aman.jaiswal@arvindinternet.com" target="_blank">aman.jaiswal@arvindinternet.c<wbr>om</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi<div>I am talking about the time limit which is  mention in the following error.<br><div><pre>ERROR [org.jboss.as.controller.manag<wbr>ement-operation] (Controller Boot Thread) </pre><pre>WFLYCTL0348: Timeout after [300] seconds waiting for service container stability. </pre><pre>Operation will roll back. Step that first updated the service container was &#39;add&#39; at address &#39;[
    (&quot;core-service&quot; =&gt; &quot;management&quot;),
    (&quot;management-interface&quot; =&gt; &quot;http-interface&quot;)
]&#39;</pre></div></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 4:19 PM, Aman Jaiswal <span dir="ltr">&lt;<a href="mailto:aman.jaiswal@arvindinternet.com" target="_blank">aman.jaiswal@arvindinternet.c<wbr>om</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi<div><br><div>time when keycloak is trying to connect the database which is on the server.</div></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Aug 29, 2016 at 4:16 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What time limit?</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 26 August 2016 at 11:15, Aman Jaiswal <span dir="ltr">&lt;<a href="mailto:aman.jaiswal@arvindinternet.com" target="_blank">aman.jaiswal@arvindinternet.c<wbr>om</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Stian<div><br></div><div><span style="color:rgb(61,61,61);font-family:Cabin;font-size:13px;line-height:19.5px">Hi  I  changed the time limit from 300 to 600 and it&#39;s work but I want to know that why it is not working on 300 sec of default time ?</span><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 2:43 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like maybe you haven&#39;t setup the datasource correctly or there&#39;s some other configuration issue. Maybe try Googling for it?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 23 August 2016 at 12:33, Aman Jaiswal <span dir="ltr">&lt;<a href="mailto:aman.jaiswal@arvindinternet.com" target="_blank">aman.jaiswal@arvindinternet.c<wbr>om</a>&gt;</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">Hi  Team <div><div><br></div><div>I am getting an error while connecting my local keycloak to DB which is on server.</div><div>error is in attached file . please give me solution to resolve this issue..  </div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Aman Jaiswal<br></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Aman Jaiswal<br></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Aman Jaiswal<br></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Aman Jaiswal<br></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Aman Jaiswal<br></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>