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

Make Fuse on EAP template working with Fuse 7 on EAP

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 10.2.0.AM3, 10.2.0
    • None
    • None
    • None

    Description

      using current state the deployment is failing:

      14:01:20,724 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found camel-test-spring.war in deployment directory. To trigger deployment create a file called camel-test-spring.war.dodeploy
      14:01:20,729 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "camel-test-spring.war" (runtime-name: "camel-test-spring.war")
      14:01:20,797 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."camel-test-spring.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."camel-test-spring.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "camel-test-spring.war"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	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)
      Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class org.test.MyServlet with ClassLoader ModuleClassLoader for Module "deployment.camel-test-spring.war" from Service Module Loader
      	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:78)
      	at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
      	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
      	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
      	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
      	... 5 more
      Caused by: java.lang.NoClassDefFoundError: Lorg/apache/camel/CamelContext;
      	at java.lang.Class.getDeclaredFields0(Native Method)
      	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
      	at java.lang.Class.getDeclaredFields(Class.java:1916)
      	at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
      	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
      	... 10 more
      Caused by: java.lang.ClassNotFoundException: org.apache.camel.CamelContext from [Module "deployment.camel-test-spring.war" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	... 15 more
      
      14:01:20,801 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "camel-test-spring.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"camel-test-spring.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"camel-test-spring.war\"
          Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class org.test.MyServlet with ClassLoader ModuleClassLoader for Module \"deployment.camel-test-spring.war\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: Lorg/apache/camel/CamelContext;
          Caused by: java.lang.ClassNotFoundException: org.apache.camel.CamelContext from [Module \"deployment.camel-test-spring.war\" from Service Module Loader]"}}
      14:01:20,829 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "camel-test-spring.war" (runtime-name : "camel-test-spring.war")
      14:01:20,830 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."camel-test-spring.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "camel-test-spring.war"

      Attachments

        Activity

          People

            apupier@redhat.com Aurélien Pupier
            apupier@redhat.com Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: