3 Replies Latest reply on Aug 4, 2018 6:52 PM by Ralph Soika

    Wildfly13 - failed to deploy web application - NonexistentConversationException?

    Ralph Soika Apprentice

      I am trying to deploy a JSF web application on wildfly 13 (which runs on wildfly 11).

      During deployment I got a ClassNotFoundException:

       

       Caused by: java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module "deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war" from Service Module Loader]
      
      

      But I can not figure out what this exception tries to tell me. Can anybody give me a hint what wildfly is missing?

       

      This is the full stacktrace after the exception during deployment:

       

      imixsofficeworkflow_1  | 20:11:06,884 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-8) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType) used for class org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor is deprecated from CDI 1.1!
      imixsofficeworkflow_1  | 20:11:06,903 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-8) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1!
      imixsofficeworkflow_1  | 20:11:06,911 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-8) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType) used for class org.jberet.creation.BatchBeanProducer is deprecated from CDI 1.1!
      imixsofficeworkflow_1  | 20:11:08,130 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./office.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./office.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module "deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war" from Service Module Loader]
      imixsofficeworkflow_1  | at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1102)
      imixsofficeworkflow_1  | at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:277)
      imixsofficeworkflow_1  | at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
      imixsofficeworkflow_1  | at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
      imixsofficeworkflow_1  | at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
      imixsofficeworkflow_1  | at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      imixsofficeworkflow_1  | at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      imixsofficeworkflow_1  | at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      imixsofficeworkflow_1  | at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
      imixsofficeworkflow_1  | at java.lang.Thread.run(Thread.java:748)
      imixsofficeworkflow_1  | Caused by: java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module "deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war" from Service Module Loader]
      imixsofficeworkflow_1  | at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
      imixsofficeworkflow_1  | at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
      imixsofficeworkflow_1  | at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      imixsofficeworkflow_1  | at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      imixsofficeworkflow_1  | at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:912)
      imixsofficeworkflow_1  | ... 9 more
      imixsofficeworkflow_1  | 
      imixsofficeworkflow_1  | 20:11:08,140 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "imixs-office-workflow-app-3.4.0-SNAPSHOT.war")]) - failure description: {
      imixsofficeworkflow_1  |     "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./office.UndertowDeploymentInfoService" => "java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module \"deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war\" from Service Module Loader]
      imixsofficeworkflow_1  |     Caused by: java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module \"deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war\" from Service Module Loader]"},
      imixsofficeworkflow_1  |     "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
      imixsofficeworkflow_1  |         "Services that were unable to start:" => ["jboss.undertow.deployment.default-server.default-host./office"],
      imixsofficeworkflow_1  |         "Services that may be the cause:" => [
      imixsofficeworkflow_1  |             "jboss.clustering.web.route.default-server",
      imixsofficeworkflow_1  |             "jboss.iiop-openjdk.poa-service.rootpoa",
      imixsofficeworkflow_1  |             "jboss.undertow.deployment.default-server.default-host./office",
      imixsofficeworkflow_1  |             "jboss.xts.handlers",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.default-service-provider-registry.ejb",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.default-service-provider-registry.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.group.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-entry.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.registry-factory.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.ejb.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.cache.service-provider-registry.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.command-dispatcher-factory.ejb",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.command-dispatcher-factory.hibernate",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.command-dispatcher-factory.local",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.command-dispatcher-factory.server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.command-dispatcher-factory.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.default-command-dispatcher-factory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.group.hibernate",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.group.server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.group.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.ejb.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.store.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.store.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.store.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.store.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.store.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.expiration",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.locking",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.memory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.transaction",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.expiration",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.locking",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.memory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.transaction",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.expiration",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.locking",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.memory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.transaction",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.default",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.default.expiration",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.default.locking",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.default.memory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.server.default.transaction",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.client-mappings",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.default-server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation.expiration",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation.locking",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation.memory",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation.transaction",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-configuration.web.passivation.write",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container.hibernate",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container.server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.hibernate",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.hibernate.transport",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.server.transport",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.cache-container-configuration.web.transport",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.default-cache.ejb",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.default-cache.web",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.default-cache-configuration.server",
      imixsofficeworkflow_1  |             "org.wildfly.clustering.infinispan.default-cache-configuration.web"
      imixsofficeworkflow_1  |         ]
      imixsofficeworkflow_1  |     }
      imixsofficeworkflow_1  | }
      imixsofficeworkflow_1  | 20:11:08,172 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 39) WFLYSRV0010: Deployed "imixs-office-workflow-app-3.4.0-SNAPSHOT.war" (runtime-name : "imixs-office-workflow-app-3.4.0-SNAPSHOT.war")
      imixsofficeworkflow_1  | 20:11:08,174 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      imixsofficeworkflow_1  | WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./office.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.jboss.weld.context.NonexistentConversationException from [Module "deployment.imixs-office-workflow-app-3.4.0-SNAPSHOT.war" from Service Module Loader]
      imixsofficeworkflow_1  | WFLYCTL0448: 1 additional services are down due to their dependencies being missing or failed
      imixsofficeworkflow_1  | 20:11:08,223 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      imixsofficeworkflow_1  | 20:11:08,226 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://0.0.0.0:9990/management
      imixsofficeworkflow_1  | 20:11:08,227 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://0.0.0.0:9990
      imixsofficeworkflow_1  | 20:11:08,227 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 13.0.0.Final (WildFly Core 5.0.0.Final) started (with errors) in 12259ms - Started 1326 of 1518 services (3 services failed or missing dependencies, 315 services are lazy, passive or on-demand)

       

       

      ===
      Ralph