<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>hi stian,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">iam referring to the documentation here&nbsp;<a href="http://keycloak.github.io/docs/userguide/pdf/keycloak-reference-guide-en-US.pdf">http://keycloak.github.io/docs/userguide/pdf/keycloak-reference-guide-en-US.pdf</a></div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">can i know which part is the old config?<br><br>Regards,<div>CK Yap</div></div><div><br>On 16 Oct 2015, at 5:58 PM, Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">You're using the old config format. Please refer to&nbsp;<a href="http://keycloak.github.io/docs/userguide/html/ch08.html#jboss-adapter">http://keycloak.github.io/docs/userguide/html/ch08.html#jboss-adapter</a></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 October 2015 at 11:47, Chen Keong Yap <span dir="ltr">&lt;<a href="mailto:chenkeong.yap@izeno.com" target="_blank">chenkeong.yap@izeno.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"><div>Hi,</div><div><br></div><div>Iam unable to secure war file using jboss subsytem. Can please advise?</div><div><br></div><div><br></div><div>error :</div><div><br></div><div><div>Message: Unexpected element '{urn:jboss:domain:keycloak:1.1}subsystem'</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1199)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:457)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:144)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:106)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)</div><div><span style="white-space:pre-wrap">        </span>... 3 more</div></div><div><br></div><div><br></div>snippet of standalone.xml<br clear="all"><div><br></div><div>&lt;subsystem xmlns="urn:jboss:domain:keycloak-server:1.1"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;web-context&gt;auth&lt;/web-context&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/subsystem&gt;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;subsystem xmlns="urn:jboss:domain:keycloak:1.1"&gt;</div><div><span style="white-space:pre-wrap">                </span> &nbsp; &lt;secure-deployment name="WAR MODULE NAME.war"&gt;</div><div>&nbsp; &nbsp; &lt;realm&gt;demo&lt;/realm&gt;</div><div>&nbsp; &nbsp; &lt;realm-public-key&gt;MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsy3CI+Un3CTFC/yoMzXNb7+Zm2gExw7khOduINB6wVIZpx+BT60DtXqcr0jZgxsO06ITL1/whVwHBx8G0KNG+t3McoYjXtEgkU5q0F+UA97M863Sg/762dC/2os7KiD/WVreXxA4wuueil/PPGj8YS0EUacx28yOhbhIIbva/jEWCtgKS3r/H6OtxZNM0lE0taimKlNT7NfLTBm/XH6IsdF75QD2WKTdzMHrd92zBg7lzHvp+/tZ7JwGhlR/+9N8O2qnPZWKVub7Wgum30trV8slFhWsneraosG2mnmeJLuIkNtev2gYvuNc5i8uZuKUnrdz2CUWEbViEReWm3uWRwIDAQAB&lt;/realm-public-key&gt;</div><div>&nbsp; &nbsp; &lt;auth-server-url&gt;<a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a>&lt;/auth-server-url&gt;</div><div>&nbsp; &nbsp; &lt;bearer-only&gt;true&lt;/bearer-only&gt;</div><div>&nbsp; &nbsp; &lt;ssl-required&gt;EXTERNAL&lt;/ssl-required&gt;</div><div>&nbsp; &nbsp; &lt;resource&gt;<a href="http://localhost:8080/jasperserver-pro/" target="_blank">http://localhost:8080/jasperserver-pro/</a>&lt;/resource&gt;</div><div>&lt;/secure-deployment&gt;</div><div>&lt;/subsystem&gt;&nbsp;</div><div>&nbsp; &nbsp; &lt;/profile&gt;</div><div><div dir="ltr"></div></div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">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/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</div></blockquote></body></html>