[keycloak-dev] Getting demo to run
ssilvert at redhat.com
ssilvert at redhat.com
Thu Dec 5 13:13:16 EST 2013
On 12/5/2013 12:55 PM, Stian Thorgersen wrote:
> ATM WildFly isn't supported as we're having some issues with it. Hopefully once a new version of WildFly is released we can get it working.
What are the WildFly issues? Maybe I can help resolve them or at least
find out when the issues will be fixed. If possible, I'd like Keycloak
to stay in sync with WildFly because that is the platform I need to work
on. I'm actually targeting WildFly 9.
In the mean time, I'll try to get it running on EAP 6.
>
> In the mean time, the easiest way to get it to run is to build the dist based on AS7:
>
> # mvn clean install -Prelease-as7
> # dist-as7/target/keycloak-1.0-alpha-1/bin/standalone.sh
>
> Then open up http://localhost:8080/auth-server/admin/index.hml and login with admin/admin
>
> ----- Original Message -----
>> From: ssilvert at redhat.com
>> To: keycloak-dev at lists.jboss.org
>> Sent: Thursday, 5 December, 2013 4:25:24 PM
>> Subject: [keycloak-dev] Getting demo to run
>>
>> I'm trying to get the demo to run on WildFly master. I ran into a
>> compilation problem and submitted this PR so it would compile:
>> https://github.com/keycloak/keycloak/pull/122
>>
>> Now it builds OK, but when I do mvn jboss-as:deploy, I get the errors
>> below on WildFly. Is this what I should be doing to get started?
>> Should I be trying this on EAP 6 instead?
>>
>> 11:22:17,891 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6)
>> MSC000001: Failed to start service
>> jboss.undertow.deployment.default-server.default-host./auth-se
>> rver.UndertowDeploymentInfoService: org.jboss.msc.service.StartException
>> in service
>> jboss.undertow.deployment.default-server.default-host./auth-server.UndertowDeploymentI
>> nfoService: java.lang.ClassNotFoundException:
>> org.keycloak.services.listeners.MongoRunnerListener from [Module
>> "deployment.auth-server.war:main" from Service Module Loade
>> r]
>> at
>> org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:772)
>> at
>> org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:217)
>> at
>> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>> [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
>> at
>> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>> [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> [rt.jar:1.7.0_15]
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> [rt.jar:1.7.0_15]
>> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
>> Caused by: java.lang.ClassNotFoundException:
>> org.keycloak.services.listeners.MongoRunnerListener from [Module
>> "deployment.auth-server.war:main" from Service Module Loader
>> ]
>> at
>> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
>> [jboss-modules.jar:1.3.0.Final]
>> at
>> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
>> [jboss-modules.jar:1.3.0.Final]
>> at
>> org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
>> [jboss-modules.jar:1.3.0.Final]
>> at
>> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
>> [jboss-modules.jar:1.3.0.Final]
>> at
>> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
>> [jboss-modules.jar:1.3.0.Final]
>> at
>> org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.addListener(UndertowDeploymentInfoService.java:1035)
>> at
>> org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:640)
>> ... 6 more
>>
>> 11:22:17,936 ERROR [org.jboss.as.controller.management-operation]
>> (management-handler-thread - 5) JBAS014613: Operation ("deploy") failed
>> - address: ([("deployment" => "a
>> uth-server.war")]) - failure description: {"JBAS014671: Failed services"
>> =>
>> {"jboss.undertow.deployment.default-server.default-host./auth-server.UndertowDeploymentInfoSer
>> vice" => "org.jboss.msc.service.StartException in service
>> jboss.undertow.deployment.default-server.default-host./auth-server.UndertowDeploymentInfoService:
>> java.lang.Clas
>> sNotFoundException: org.keycloak.services.listeners.MongoRunnerListener
>> from [Module \"deployment.auth-server.war:main\" from Service Module Loader]
>> Caused by: java.lang.ClassNotFoundException:
>> org.keycloak.services.listeners.MongoRunnerListener from [Module
>> \"deployment.auth-server.war:main\" from Service Module
>> Loader]"}}
>> 11:22:17,946 ERROR [org.jboss.as.server] (management-handler-thread - 5)
>> JBAS015870: Deploy of deployment "auth-server.war" was rolled back with
>> the following failure mes
>> sage:
>> {"JBAS014671: Failed services" =>
>> {"jboss.undertow.deployment.default-server.default-host./auth-server.UndertowDeploymentInfoService"
>> => "org.jboss.msc.service.StartExcep
>> tion in service
>> jboss.undertow.deployment.default-server.default-host./auth-server.UndertowDeploymentInfoService:
>> java.lang.ClassNotFoundException: org.keycloak.services.
>> listeners.MongoRunnerListener from [Module
>> \"deployment.auth-server.war:main\" from Service Module Loader]
>> Caused by: java.lang.ClassNotFoundException:
>> org.keycloak.services.listeners.MongoRunnerListener from [Module
>> \"deployment.auth-server.war:main\" from Service Module
>> Loader]"}}
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
More information about the keycloak-dev
mailing list