Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3653

Unable to deploy a project on a JBoss Fuse on EAP 7.10.2.GA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Backlog
    • 11.15.0
    • Deployment, Fuse Projects
    • None

    Description

      15:43:48,123 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."example-camel-cdi.war".CamelContextActivationService."example-camel-cdi.war": org.jboss.msc.service.StartException in service jboss.deployment.unit."example-camel-cdi.war".CamelContextActivationService."example-camel-cdi.war": Cannot create camel context: example-camel-cdi.war    at org.wildfly.extension.camel//org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:71)    at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)    at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)    at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)    at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)    at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)    at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)    at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)    at java.base/java.lang.Thread.run(Thread.java:834)Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.wildfly.camel.examples.cdi.SomeBean] for bean with name 'helloBean' defined in URL [vfs:/Users/djelinek/development/repositories/default/server-installer/fuse-eap-7.10.2.GA/target/jboss-eap-7.4/standalone/deployments/example-camel-cdi.war/META-INF/camel-context.xml]; nested exception is java.lang.ClassNotFoundException: org.wildfly.camel.examples.cdi.SomeBean from [Module "deployment.example-camel-cdi.war" from Service Module Loader]    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1486)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:681)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:648)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1614)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1090)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:877)    at org.springframework.context//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)    at org.springframework.context//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)    at org.wildfly.extension.camel//org.wildfly.extension.camel.SpringCamelContextBootstrap$1.run(SpringCamelContextBootstrap.java:90)    at org.wildfly.extension.camel//org.wildfly.extension.camel.proxy.ProxyUtils$1.invoke(ProxyUtils.java:51)    at deployment.example-camel-cdi.war//com.sun.proxy.$Proxy58.run(Unknown Source)    at org.wildfly.extension.camel//org.wildfly.extension.camel.proxy.ProxyUtils.invokeProxied(ProxyUtils.java:55)    at org.wildfly.extension.camel//org.wildfly.extension.camel.SpringCamelContextBootstrap.createSpringCamelContexts(SpringCamelContextBootstrap.java:87)    at org.wildfly.extension.camel//org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:58)    ... 8 moreCaused by: java.lang.ClassNotFoundException: org.wildfly.camel.examples.cdi.SomeBean from [Module "deployment.example-camel-cdi.war" from Service Module Loader]    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)    at java.base/java.lang.Class.forName0(Native Method)    at java.base/java.lang.Class.forName(Class.java:398)    at org.springframework.core@5.2.20.RELEASE//org.springframework.util.ClassUtils.forName(ClassUtils.java:284)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:469)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1551)    at org.springframework.beans@5.2.20.RELEASE//org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1478)    ... 21 more
      15:43:48,129 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "example-camel-cdi.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"example-camel-cdi.war\".CamelContextActivationService.\"example-camel-cdi.war\"" => "Cannot create camel context: example-camel-cdi.war    Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.wildfly.camel.examples.cdi.SomeBean] for bean with name 'helloBean' defined in URL [vfs:/Users/djelinek/development/repositories/default/server-installer/fuse-eap-7.10.2.GA/target/jboss-eap-7.4/standalone/deployments/example-camel-cdi.war/META-INF/camel-context.xml]; nested exception is java.lang.ClassNotFoundException: org.wildfly.camel.examples.cdi.SomeBean from [Module \"deployment.example-camel-cdi.war\" from Service Module Loader]    Caused by: java.lang.ClassNotFoundException: org.wildfly.camel.examples.cdi.SomeBean from [Module \"deployment.example-camel-cdi.war\" from Service Module Loader]"}}15:43:48,190 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "example-camel-cdi.war" (runtime-name : "example-camel-cdi.war")15:43:48,190 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status reportWFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."example-camel-cdi.war".CamelContextActivationService."example-camel-cdi.war": Cannot create camel context: example-camel-cdi.warWFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed 

      Attachments

        Issue Links

          Activity

            People

              apupier@redhat.com Aurélien Pupier
              djelinek Dominik Jelínek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: