[keycloak-user] [keycloak-overlay-1.9.2.Final] Issue with deployment keycloak-server.war in domain mode

Andrej Prievalsky ado.boj.83 at gmail.com
Wed Apr 20 04:22:22 EDT 2016


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)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160420/a13ce0ce/attachment-0001.html 
-------------- next part --------------
[root at ci-security /opt/wildfly]$ tail -f /opt/wildfly/log/idbt/idm-server-ci-security/idm-server-ci-security.log
2016-04-20 09:35:14,236 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 86) WFLYCLINF0003: Stopped users cache from keycloak container
2016-04-20 09:35:14,237 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 87) WFLYCLINF0003: Stopped offlineSessions cache from keycloak container
2016-04-20 09:35:14,237 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 88) WFLYCLINF0003: Stopped work cache from keycloak container
2016-04-20 09:35:14,238 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) WFLYCLINF0003: Stopped realms cache from keycloak container
2016-04-20 09:35:14,238 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 84) WFLYCLINF0003: Stopped sessions cache from keycloak container
2016-04-20 09:35:14,239 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 82) WFLYCLINF0003: Stopped loginFailures cache from keycloak container
2016-04-20 09:35:14,258 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000080: Disconnecting JGroups channel keycloak
2016-04-20 09:35:14,311 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000082: Stopping the RpcDispatcher for channel keycloak
2016-04-20 09:35:14,734 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment keycloak-server.war (runtime-name: keycloak-server.war) in 1572ms
2016-04-20 09:35:14,870 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) stopped in 1383ms
2016-04-20 09:36:05,668 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
2016-04-20 09:36:08,195 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
2016-04-20 09:36:09,683 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
2016-04-20 09:36:09,711 DEBUG [org.jboss.as.config] (MSC service thread 1-1) Configured system properties:
        [Server:idm-server-ci-security] =
        awt.toolkit = sun.awt.X11.XToolkit
        file.encoding = UTF-8
        file.encoding.pkg = sun.io
        file.separator = /
        java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
        java.awt.headless = true
        java.awt.printerjob = sun.print.PSPrinterJob
        java.class.path = /opt/wildfly/jboss-modules.jar
        java.class.version = 52.0
        java.endorsed.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/endorsed
        java.ext.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
        java.home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre
        java.io.tmpdir = /tmp
        java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
        java.net.preferIPv4Stack = true
        java.runtime.name = OpenJDK Runtime Environment
        java.runtime.version = 1.8.0_45-b13
        java.specification.name = Java Platform API Specification
        java.specification.vendor = Oracle Corporation
        java.specification.version = 1.8
        java.util.logging.manager = org.jboss.logmanager.LogManager
        java.vendor = Oracle Corporation
        java.vendor.url = http://java.oracle.com/
        java.vendor.url.bug = http://bugreport.sun.com/bugreport/
        java.version = 1.8.0_45
        java.vm.info = mixed mode
        java.vm.name = OpenJDK 64-Bit Server VM
        java.vm.specification.name = Java Virtual Machine Specification
        java.vm.specification.vendor = Oracle Corporation
        java.vm.specification.version = 1.8
        java.vm.vendor = Oracle Corporation
        java.vm.version = 25.45-b02
        javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
        javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
        javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
        javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
        javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
        javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
        javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
        javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
        javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
        javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
        jboss.ajp.port = 8009
        jboss.domain.base.dir = /opt/wildfly/domain
        jboss.domain.config.dir = /opt/wildfly/domain/configuration
        jboss.domain.master.port = 9999
        jboss.home.dir = /opt/wildfly
        jboss.host.name = ci-security
        jboss.http.port = 8080
        jboss.https.port = 8443
        jboss.management.http.port = 9990
        jboss.management.native.port = 9999
        jboss.modules.dir = /opt/wildfly/modules
        jboss.modules.system.pkgs = org.jboss.byteman
        jboss.node.name = ci-security:idm-server-ci-security
        jboss.qualified.host.name = ci-security
        jboss.server.base.dir = /opt/wildfly/domain/servers/idm-server-ci-security
        jboss.server.config.dir = /opt/wildfly/domain/servers/idm-server-ci-security/configuration
        jboss.server.data.dir = /opt/wildfly/domain/servers/idm-server-ci-security/data
        jboss.server.deploy.dir = /opt/wildfly/domain/servers/idm-server-ci-security/data/content
        jboss.server.log.dir = /opt/wildfly/domain/servers/idm-server-ci-security/log
        jboss.server.name = idm-server-ci-security
        jboss.server.persist.config = true
        jboss.server.temp.dir = /opt/wildfly/domain/servers/idm-server-ci-security/tmp
        jboss.txn-recovery-environment.port = 4712
        jboss.txn-status-manager.port = 4713
        line.separator =

        logging.configuration = file:/opt/wildfly/domain/servers/idm-server-ci-security/data/logging.properties
        module.path = /opt/wildfly/modules
        org.jboss.resolver.warning = true
        org.xml.sax.driver = __redirected.__XMLReaderFactory
        os.arch = amd64
        os.name = Linux
        os.version = 3.8.13-68.3.2.el7uek.x86_64
        path.separator = :
        sun.arch.data.model = 64
        sun.boot.class.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/classes
        sun.boot.library.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64/jre/lib/amd64
       sun.cpu.endian = little
        sun.cpu.isalist =
        sun.io.unicode.encoding = UnicodeLittle
        sun.java.command = /opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.server
        sun.java.launcher = SUN_STANDARD
        sun.jnu.encoding = UTF-8
        sun.management.compiler = HotSpot 64-Bit Tiered Compilers
        sun.os.patch.level = unknown
        user.country = US
        user.dir = /opt/wildfly-10.0.0.Final
        user.home = /home/sab
        user.language = en
        user.name = sab
        user.timezone = Europe/Bratislava
2016-04-20 09:36:09,715 DEBUG [org.jboss.as.config] (MSC service thread 1-1) VM Arguments: -D[Server:idm-server-ci-security] -Xms64m -Xmx512m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djboss.ajp.port=8009 -Djboss.domain.master.port=9999 -Djboss.home.dir=/opt/wildfly -Djboss.http.port=8080 -Djboss.https.port=8443 -Djboss.management.http.port=9990 -Djboss.management.native.port=9999 -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.txn-recovery-environment.port=4712 -Djboss.txn-status-manager.port=4713 -Djboss.server.log.dir=/opt/wildfly/domain/servers/idm-server-ci-security/log -Djboss.server.temp.dir=/opt/wildfly/domain/servers/idm-server-ci-security/tmp -Djboss.server.data.dir=/opt/wildfly/domain/servers/idm-server-ci-security/data -Dlogging.configuration=file:/opt/wildfly/domain/servers/idm-server-ci-security/data/logging.properties
2016-04-20 09:36:10,669 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.3.4.Final
2016-04-20 09:36:10,808 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.4.Final
2016-04-20 09:36:11,424 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.18.Final
2016-04-20 09:36:26,758 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 16) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2016-04-20 09:36:29,609 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 55) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
2016-04-20 09:36:29,638 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
2016-04-20 09:36:29,749 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 57) WFLYWS0002: Activating WebServices Extension
2016-04-20 09:36:29,608 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 46) WFLYJSF0007: Activated the following JSF Implementations: [main]
2016-04-20 09:36:29,768 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 42) WFLYCLJG0001: Activating JGroups subsystem.
2016-04-20 09:36:29,791 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) WFLYCLINF0001: Activating Infinispan subsystem.
2016-04-20 09:36:29,799 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 48) WFLYNAM0001: Activating Naming Subsystem
2016-04-20 09:36:29,856 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 38) WFLYIO001: Worker 'default' has auto-configured to 2 core threads with 16 task threads based on your 1 available processors
2016-04-20 09:36:29,897 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
2016-04-20 09:36:30,558 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.4.Final
2016-04-20 09:36:30,576 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)
2016-04-20 09:36:30,848 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) WFLYJCA0004: Deploying JDBC-compliant driver class oracle.jdbc.driver.OracleDriver (version 12.1)
2016-04-20 09:36:31,445 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
2016-04-20 09:36:31,512 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
2016-04-20 09:36:31,544 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 56) WFLYUT0003: Undertow 1.3.15.Final starting
2016-04-20 09:36:31,530 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2016-04-20 09:36:32,864 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 56) WFLYUT0014: Creating file handler for path '/opt/wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2016-04-20 09:36:33,237 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.3.15.Final starting
2016-04-20 09:36:33,446 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = oracle
2016-04-20 09:36:34,332 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 16 (per class), which is derived from thread worker pool sizing.
2016-04-20 09:36:34,338 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 4 (per class), which is derived from the number of CPUs on this host.
2016-04-20 09:36:34,901 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
2016-04-20 09:36:34,902 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
2016-04-20 09:36:35,250 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow AJP listener ajp listening on 172.31.32.153:8009
2016-04-20 09:36:35,611 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 172.31.32.153:8280
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]
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] (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)


More information about the keycloak-user mailing list