... ignore the previous mail. It was just PEBKAC - server distribution
works fine.
Cheers,
Thomas
2017-10-07 1:14 GMT+02:00 Thomas Darimont <thomas.darimont(a)googlemail.com>:
Hello,
I cannot build a working keycloak server distribution from current master
(7774d5c6b8) with:
mvn clean install -Pdistribution -DskipTests
When I try to run the keycloak server-distribution, I see an exception:
WFLYCTL0083: Failed to load module org.keycloak.keycloak-server-subsystem
....
00:01:29,788 INFO [org.jboss.as.controller] (Controller Boot Thread)
OPVDX002: Failed to pretty print validation error: null
00:01:29,789 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:143) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:387)
[wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.controller.AbstractControllerService$1.
run(AbstractControllerService.java:370) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144]
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to
load module org.keycloak.keycloak-server-subsystem
at org.jboss.as.controller.parsing.ExtensionXml.
parseExtensions(ExtensionXml.java:154) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
at
org.jboss.as.server.parsing.StandaloneXml$DefaultExtensionHandler.parseExtensions(StandaloneXit
ml.java:131) [wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at
org.jboss.as.server.parsing.StandaloneXml_5.readServerElement(StandaloneXml_5.java:219)
[wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.server.parsing.StandaloneXml_5.readElement(StandaloneXml_5.java:142)
[wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107)
[wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)
[wildfly-server-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122)
[staxmapper-1.3.0.Final.jar:1.3.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:76)
[staxmapper-1.3.0.Final.jar:1.3.0.Final]
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(
XmlConfigurationPersister.java:126) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
... 3 more
Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException:
WFLYCTL0083: Failed to load module
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[rt.jar:1.8.0_144]
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
[rt.jar:1.8.0_144]
at org.jboss.as.controller.parsing.ExtensionXml.
parseExtensions(ExtensionXml.java:146) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
... 11 more
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to
load module
at org.jboss.as.controller.parsing.ExtensionXml.
loadModule(ExtensionXml.java:195) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:68)
[wildfly-controller-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:126)
[wildfly-controller-3.0.1.Final.jar:3.0.1.Final]
at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:123)
[wildfly-controller-3.0.1.Final.jar:3.0.1.Final]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144]
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[jboss-threads-2.2.1.Final.jar:2.2.1.Final]
Caused by: org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-server-subsystem
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:285)
[jboss-modules.jar:1.6.0.Final]
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:271)
[jboss-modules.jar:1.6.0.Final]
at org.jboss.as.controller.parsing.ExtensionXml.
loadModule(ExtensionXml.java:177) [wildfly-controller-3.0.1.
Final.jar:3.0.1.Final]
... 8 more
00:01:29,791 FATAL [org.jboss.as.server] (Controller Boot Thread)
WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting.
See previous messages for details.
00:01:29,804 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050:
WildFly Core 3.0.1.Final "Kenny" stopped in 8ms
....
Cheers,
Thomas