[keycloak-user] Keycloak subsystem is not in standalone.xml?

Stan Silvert ssilvert at redhat.com
Mon Jul 25 12:14:36 EDT 2016


I don't think you downloaded the demo server.  The demo would have 
everything already set up.

On 7/24/2016 1:23 AM, Martin Min wrote:
> Hello,
>
> I am following the tutorial here:
> https://keycloak.gitbooks.io/getting-started-tutorials/content/v/2.0/topics/secure-jboss-app/subsystem.html
>
> to configure the demo KeyCloak server 2.0 and Wildfly 10 Final.
>
> The tutorial says to search for this section:
>
> |<subsystem  xmlns="urn:jboss:domain:keycloak:1.1"/>|
> However, there is no such  an entry in standalone.xml of Wildfly 10's 
> configuration/standalone.xml.
>
> I manually added this part, then it gives me an error as I start the 
> application server.
>
> Is this because the tutorial is not updated to the Wildfly 10 final 
> release? Thank you.
>
> Error message:
>
> 22:22:33,022 INFO  [org.jboss.as <http://org.jboss.as>] (MSC service 
> thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 
> 2.0.10.Final) starting
> 22:22:33,535 ERROR [org.jboss.as.server] (Controller Boot Thread) 
> WFLYSRV0055: Caught exception during boot: 
> org.jboss.as.controller.persistence.ConfigurationPersistenceException: 
> WFLYCTL0085: Failed to parse configuration
>         at 
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
>         at org.jboss.as.server.ServerService.boot(ServerService.java:356)
>         at 
> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.xml.stream.XMLStreamException: ParseError at 
> [row,col]:[216,2]
> Message: Unexpected element '{urn:jboss:domain:keycloak:1.1}subsystem'
>         at 
> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>         at 
> org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
>         at 
> org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546)
>         at 
> org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242)
>         at 
> org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141)
>         at 
> org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103)
>         at 
> org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)
>         at 
> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
>         at 
> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>         at 
> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
>         ... 3 more
>
> 22:22:33,536 FATAL [org.jboss.as.server] (Controller Boot Thread) 
> WFLYSRV0056: Server boot has failed in an unrecoverable manner; 
> exiting. See previous messages for details.
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160725/056a0ff5/attachment-0001.html 


More information about the keycloak-user mailing list