Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5883

Keycloak adapter for AS7 - unable to deploy ag-push.war

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • EAP 6.3 in domain mode. Profile: default

    Description

      deploying ag-push.war ending with error:

      10:16:47,679 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."ag-push.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ag-push.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "ag-push.war"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_75]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_75]
      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018096: Error instantiating container component: org.keycloak.adapters.as7.KeycloakAuthenticatorValve
      at org.jboss.as.web.deployment.WarDeploymentProcessor.getInstance(WarDeploymentProcessor.java:423)
      at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:231)
      at org.jboss.as.web.deployment.WarDeploymentProcessor.deploy(WarDeploymentProcessor.java:126)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      ... 5 more
      Caused by: java.lang.ClassNotFoundException: org.keycloak.adapters.as7.KeycloakAuthenticatorValve from [Module "deployment.ag-push.war:main" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final-redhat-1]
      at org.jboss.as.web.deployment.WarDeploymentProcessor.getInstance(WarDeploymentProcessor.java:415)
      ... 8 more

      10:16:47,740 ERROR [org.jboss.as.server] (ServerService Thread Pool – 14) JBAS015870: Deploy of deployment "ag-push.war" was rolled back with the following failure message:
      {
      "JBAS014671: Failed services" =>

      {"jboss.deployment.unit.\"ag-push.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ag-push.war\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"ag-push.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018096: Error instantiating container component: org.keycloak.adapters.as7.KeycloakAuthenticatorValve Caused by: java.lang.ClassNotFoundException: org.keycloak.adapters.as7.KeycloakAuthenticatorValve from [Module \"deployment.ag-push.war:main\" from Service Module Loader]"}

      ,
      "JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"ag-push.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"ag-push.war\".beanmanager]"]
      }
      10:16:47,764 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment ag-push.war (runtime-name: ag-push.war) in 29ms
      10:16:47,769 INFO [org.jboss.as.controller] (ServerService Thread Pool – 14) JBAS014774: Service status report
      JBAS014775: New missing/unsatisfied dependencies:
      service jboss.deployment.unit."ag-push.war".beanmanager (missing) dependents: [service jboss.deployment.unit."ag-push.war".weld.weldClassIntrospector]
      JBAS014777: Services which failed to start: service jboss.deployment.unit."ag-push.war".INSTALL

      Attachments

        Activity

          People

            mwessend@redhat.com Matthias Wessendorf
            ivan.gurtler Ivan Gurtler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: