Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1744

Please change Camel archetypes so they run on EAP (especially as used by FSW)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • jboss-fuse-6.1
    • Examples
    • None
    • % %
    • Hide

      Using JBoss Developer Studio, choose 'New' / 'Fuse Project'. From the available archetypes choose 'camel-webconsole'.

      Show
      Using JBoss Developer Studio, choose 'New' / 'Fuse Project'. From the available archetypes choose 'camel-webconsole'.

    Description

      When using Camel archetypes, the resulting binaries don't run on EAP.
      Example: Camel-Webconsole brings this:
      -----------------------------------------------------------------------------------------------
      15:31:49,607 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."camel-webconsole.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."camel-webconsole.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "camel-webconsole.war"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed. com.sun.jersey.server.impl.application.DeferredResourceConfig com.sun.jersey.api.core.ClasspathResourceConfig com.sun.jersey.api.core.ResourceConfig com.sun.jersey.api.core.ApplicationAdapter org.apache.camel.web.util.CamelResourceConfig com.sun.jersey.api.core.servlet.WebAppResourceConfig com.sun.jersey.api.core.PackagesResourceConfig org.apache.camel.web.util.CamelOSGIResourceConfig com.sun.jersey.api.core.ScanningResourceConfig com.sun.jersey.api.core.ClassNamesResourceConfig com.sun.jersey.api.core.DefaultResourceConfig
      at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scan(JaxrsScanningProcessor.java:206)
      at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:104)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
      ... 5 more

      15:31:49,613 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "camel-webconsole.war" was rolled back with the following failure message:
      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"camel-webconsole.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"camel-webconsole.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"camel-webconsole.war\"
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed. com.sun.jersey.server.impl.application.DeferredResourceConfig com.sun.jersey.api.core.ClasspathResourceConfig com.sun.jersey.api.core.ResourceConfig com.sun.jersey.api.core.ApplicationAdapter org.apache.camel.web.util.CamelResourceConfig com.sun.jersey.api.core.servlet.WebAppResourceConfig com.sun.jersey.api.core.PackagesResourceConfig org.apache.camel.web.util.CamelOSGIResourceConfig com.sun.jersey.api.core.ScanningResourceConfig com.sun.jersey.api.core.ClassNamesResourceConfig com.sun.jersey.api.core.DefaultResourceConfig"}}
      15:31:49,636 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment camel-webconsole.war (runtime-name: camel-webconsole.war) in 23ms

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-rick Rick Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: