Hi all,
in my machine setup:
two nodes: 1st node with domain controller (DC) and 2nd node with host
controller.
Here is part of log with ERROR (the whole log is attached):
*...*
*...*
*2016-04-20 09:36:37,566 INFO [org.jboss.ws.common.management] (MSC
service thread 1-1) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF
3.1.4)*
*2016-04-20 09:36:37,798 INFO
[org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1)
ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final*
*2016-04-20 09:36:38,136 INFO [org.jboss.as.server.deployment] (MSC
service thread 1-1) WFLYSRV0027: Starting deployment of
"keycloak-server.war" (runtime-name: "keycloak-server.war")*
*2016-04-20 09:36:41,275 INFO
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2)
WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]*
*2016-04-20 09:36:51,054 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
thread 1-1) ISPN000078: Starting JGroups channel keycloak*
*2016-04-20 09:36:51,258 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
thread 1-1) ISPN000094: Received new cluster view for channel keycloak:
[ci-security:idm-server-ci-security|0] (1)
[ci-security:idm-server-ci-security]*
*2016-04-20 09:36:51,325 INFO
[org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
thread 1-1) ISPN000079: Channel keycloak local address is
ci-security:idm-server-ci-security, physical addresses are
[172.31.32.153:7800 <
http://172.31.32.153:7800>]*
*2016-04-20 09:36:53,731 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 66) WFLYCLINF0002: Started realmVersions
cache from keycloak container*
*2016-04-20 09:36:54,250 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 62) WFLYCLINF0002: Started work cache from
keycloak container*
*2016-04-20 09:36:53,922 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 68) WFLYCLINF0002: Started users cache from
keycloak container*
*2016-04-20 09:36:54,591 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 63) WFLYCLINF0002: Started offlineSessions
cache from keycloak container*
*2016-04-20 09:36:54,791 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 64) WFLYCLINF0002: Started realms cache from
keycloak container*
*2016-04-20 09:36:54,952 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 67) WFLYCLINF0002: Started loginFailures
cache from keycloak container*
*2016-04-20 09:36:54,966 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 65) WFLYCLINF0002: Started sessions cache
from keycloak container*
*2016-04-20 09:37:05,645 ERROR [org.jboss.msc.service.fail] (ServerService
Thread Pool -- 65) MSC000001: Failed to start service
jboss.undertow.deployment.default-server.default-host./auth:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-server.default-host./auth:
java.lang.RuntimeException: RESTEASY003325: Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)*
* at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)*
* at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_45]*
* at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_45]*
* at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_45]*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_45]*
* at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]*
* at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[jboss-threads-2.2.1.Final.jar:2.2.1.Final]*
*Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct
public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)*
* at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)*
* at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)*
* at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)*
* at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)*
* at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)*
* at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)*
* at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)*
* at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)*
* at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)*
* at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)*
* at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)*
* at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)*
* at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)*
* at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)*
* ... 6 more*
*Caused by: java.lang.RuntimeException:
org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-model-api:main*
* at
org.keycloak.provider.wildfly.ModuleProviderLoaderFactory.create(ModuleProviderLoaderFactory.java:44)*
* at
org.keycloak.provider.ProviderManager.<init>(ProviderManager.java:56)*
* at
org.keycloak.services.DefaultKeycloakSessionFactory.init(DefaultKeycloakSessionFactory.java:71)*
* at
org.keycloak.services.resources.KeycloakApplication.createSessionFactory(KeycloakApplication.java:225)*
* at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:77)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) [rt.jar:1.8.0_45]*
* at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[rt.jar:1.8.0_45]*
* at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[rt.jar:1.8.0_45]*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
[rt.jar:1.8.0_45]*
* at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)*
* ... 19 more*
*Caused by: org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-model-api:main*
* at org.jboss.modules.Module.addPaths(Module.java:1092)
[jboss-modules.jar:1.5.1.Final]*
* at org.jboss.modules.Module.link(Module.java:1448)
[jboss-modules.jar:1.5.1.Final]*
* at org.jboss.modules.Module.relinkIfNecessary(Module.java:1476)
[jboss-modules.jar:1.5.1.Final]*
* at
org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225)
[jboss-modules.jar:1.5.1.Final]*
* at
org.keycloak.provider.wildfly.ModuleProviderLoaderFactory.create(ModuleProviderLoaderFactory.java:40)*
* ... 28 more*
*2016-04-20 09:37:05,900 ERROR
[org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment"
=>
"keycloak-server.war")]) - failure description: {"WFLYCTL0080: Failed
services" =>
{"jboss.undertow.deployment.default-server.default-host./auth"
=> "org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-server.default-host./auth:
java.lang.RuntimeException: RESTEASY003325: Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)*
* Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to
construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)*
* Caused by: java.lang.RuntimeException:
org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-model-api:main*
* Caused by: org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-model-api:main"}}*
*2016-04-20 09:37:06,339 INFO [org.jboss.as.server] (ServerService Thread
Pool -- 59) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name :
"keycloak-server.war")*
*2016-04-20 09:37:06,618 INFO [org.jboss.as.controller] (Controller Boot
Thread) WFLYCTL0183: Service status report*
*WFLYCTL0186: Services which failed to start: service
jboss.undertow.deployment.default-server.default-host./auth:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-server.default-host./auth:
java.lang.RuntimeException: RESTEASY003325: Failed to construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)*
*2016-04-20 09:37:07,917 ERROR [org.jboss.as <
http://org.jboss.as>]
(Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly
Core 2.0.10.Final) started (with errors) in 67571ms - Started 481 of 952
services (2 services failed or missing dependencies, 686 services are lazy,
passive or on-demand)*