<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 class="" style="white-space:pre">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1199)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:457)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:144)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:106)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)</div><div><span class="" style="white-space:pre">        </span>... 3 more</div></div><div><br></div><div><br></div>snippet of standalone.xml<br clear="all"><div><br></div><div><subsystem xmlns="urn:jboss:domain:keycloak-server:1.1"></div><div> <web-context>auth</web-context></div><div> </subsystem> </div><div> <subsystem xmlns="urn:jboss:domain:keycloak:1.1"></div><div><span class="" style="white-space:pre">                </span> <secure-deployment name="WAR MODULE NAME.war"></div><div> <realm>demo</realm></div><div> <realm-public-key>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsy3CI+Un3CTFC/yoMzXNb7+Zm2gExw7khOduINB6wVIZpx+BT60DtXqcr0jZgxsO06ITL1/whVwHBx8G0KNG+t3McoYjXtEgkU5q0F+UA97M863Sg/762dC/2os7KiD/WVreXxA4wuueil/PPGj8YS0EUacx28yOhbhIIbva/jEWCtgKS3r/H6OtxZNM0lE0taimKlNT7NfLTBm/XH6IsdF75QD2WKTdzMHrd92zBg7lzHvp+/tZ7JwGhlR/+9N8O2qnPZWKVub7Wgum30trV8slFhWsneraosG2mnmeJLuIkNtev2gYvuNc5i8uZuKUnrdz2CUWEbViEReWm3uWRwIDAQAB</realm-public-key></div><div> <auth-server-url><a href="http://localhost:8080/auth">http://localhost:8080/auth</a></auth-server-url></div><div> <bearer-only>true</bearer-only></div><div> <ssl-required>EXTERNAL</ssl-required></div><div> <resource><a href="http://localhost:8080/jasperserver-pro/">http://localhost:8080/jasperserver-pro/</a></resource></div><div></secure-deployment></div><div></subsystem> </div><div> </profile></div><div class="gmail_signature"><div dir="ltr"></div></div>
</div>