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

UPS master not deploying on WF 10.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      Running the latest -dev image of our docker bits, it fails (using master branch), with this stack trace:

      11:59:33,834 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 77) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ag-push: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ag-push: java.lang.ArrayIndexOutOfBoundsException: 0
             	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
             	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
             	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
             	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
             	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
             	at java.lang.Thread.run(Thread.java:745)
             	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
             	at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.parametersResolveToSameTypes(GeneralValidatorImpl.java:490)
             	at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.overrides(GeneralValidatorImpl.java:461)
             	at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.getSuperMethod(GeneralValidatorImpl.java:419)
             	at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.getExecutableTypesOnMethodInHierarchy(GeneralValidatorImpl.java:310)
             	at org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.isMethodValidatable(GeneralValidatorImpl.java:240)
             	at org.jboss.resteasy.core.ResourceMethodInvoker.<init>(ResourceMethodInvoker.java:129)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.processMethod(ResourceMethodRegistry.java:281)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.register(ResourceMethodRegistry.java:252)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:222)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:194)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:180)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:157)
             	at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:76)
             	at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:409)
             	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:250)
             	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:250)
             	at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)
             	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:546)
             	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:517)
             	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
             	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
             	at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:559)
             	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
      
      11:59:39,786 WARN  [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 65) Database does not support drop with cascade
      11:59:39,921 WARN  [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 65) Database does not support drop with cascade
      11:59:53,124 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 65) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
      11:59:53,125 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 65) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
      11:59:53,126 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 65) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
      11:59:53,154 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 65) HHH000204: Processing PersistenceUnitInfo [
             	name: keycloak-default
             	...]
      11:59:53,175 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 65) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
      11:59:53,185 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 65) Envers integration enabled? : true
      11:59:53,922 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 65) HHH000397: Using ASTQueryTranslatorFactory
      11:59:54,583 INFO  [org.keycloak.services.managers.ApplianceBootstrap] (ServerService Thread Pool -- 65) Initializing master realm
      11:59:57,223 INFO  [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 65) Imported realm aerogear from resource /WEB-INF/ups-realm.json
      11:59:57,589 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,589 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002200: Adding class resource org.keycloak.services.resources.WelcomeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,590 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002200: Adding class resource org.keycloak.services.resources.QRCodeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,590 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,591 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,592 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002210: Adding provider singleton org.keycloak.services.resources.ModelExceptionMapper from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,592 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,593 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002210: Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,593 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,593 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.ServerVersionResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
      11:59:57,654 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: /auth
      11:59:57,677 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ag-push.war")]) - failure description: {
          "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./ag-push" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ag-push: java.lang.ArrayIndexOutOfBoundsException: 0
          Caused by: java.lang.ArrayIndexOutOfBoundsException: 0"},
          "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./ag-push"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
      }
      11:59:57,718 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "auth-server.war" (runtime-name : "auth-server.war")
      11:59:57,719 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "ag-push.war" (runtime-name : "ag-push.war")
      11:59:57,727 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./ag-push: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ag-push: java.lang.ArrayIndexOutOfBoundsException: 0
      
      11:59:57,887 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
      11:59:57,888 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
      11:59:57,889 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 51426ms - Started 1046 of 1280 services (2 services failed or missing dependencies, 453 services are lazy, passive or on-demand)
      11:59:58,273 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 29) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'ag-push.war#unifiedpush-default'
      11:59:58,306 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 29) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'ag-push.war#unifiedpush-default'
      11:59:58,343 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) WFLYCLINF0003: Stopped client-mappings cache from ejb container
      11:59:58,394 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment ag-push.war (runtime-name: ag-push.war) in 464ms
      11:59:58,444 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
      11:59:58,455 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0002: Content removed from location /opt/jboss/wildfly/standalone/data/content/0e/5f9db13476f24c8cc433665fa2519f0129e9c4/content
      11:59:58,455 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "ag-push.war" (runtime-name: "ag-push.war")
      11:59:58,456 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service jboss.deployment.unit."ag-push.war".component.APNsPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.APNsTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.AdmPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.AdmTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.ClientInstallationServiceImpl.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.DeleteOldPushMessageInformationScheduler.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.GCMPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.GCMTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.GenericVariantServiceImpl.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.HealthNetworkServiceImpl.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.HealthServiceImpl.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.JmsClient.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MPNSPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MPNSTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MessageHolderWithVariantsProducer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MetricCollectionTrigger.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MetricsCollector.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.MetricsProcessingStartedConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.NotificationDispatcher.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.NotificationRouter.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.PushApplicationServiceImpl.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.PushMessageMetricsService.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.ServiceDisposalScheduler.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.SimplePushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.SimplePushTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.TokenLoader.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.TriggerMetricsCollectionConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.TriggerVariantMetricCollectionConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.VariantMetricInformationProducer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.WNSPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component.WNSTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."org.jboss.aerogear.unifiedpush.rest.util.VersionFilter".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.deployment.unit."ag-push.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.persistenceunit."ag-push.war#unifiedpush-default" (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
            service jboss.undertow.deployment.default-server.default-host./ag-push (missing) dependents: [service jboss.deployment.unit."ag-push.war".deploymentCompleteService]
      WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./ag-push
      

      Attachments

        Activity

          People

            sebastienblanc Sebastien Blanc (Inactive)
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: