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

Cannot deploy a camel project to a JBoss Fuse 6.1 build (6.1.0.redhat-376) Server

XMLWordPrintable

    • Hide

      create a Fuse project (e.g. camel-spring)
      run a JBoss Fuse Server 6.1 - build 6.1.0.redhat-376
      connect to the server via Fuse JMX Navigator View
      To deploy my sample Fuse project, right-click on the Fuse project (getting-started-camel) and select Deploy to... | karaf [<your process id>].

      Show
      create a Fuse project (e.g. camel-spring) run a JBoss Fuse Server 6.1 - build 6.1.0.redhat-376 connect to the server via Fuse JMX Navigator View To deploy my sample Fuse project, right-click on the Fuse project (getting-started-camel) and select Deploy to... | karaf [<your process id>] .

      this is error after deployment

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

      [INFO]
      [INFO] — maven-jar-plugin:2.3.2:jar (default-jar) @ getting-started-camel —
      [INFO]
      [INFO] — maven-install-plugin:2.3.1:install (default-install) @ getting-started-camel —
      [INFO] Installing /Volumes/Macintosh HD/Users/spagop/workspace711/getting-started-camel/target/getting-started-camel-1.0.0.jar to /Volumes/Macintosh HD/Users/spagop/.m2/repository/com/acme/getting-started-camel/1.0.0/getting-started-camel-1.0.0.jar
      [INFO] Installing /Volumes/Macintosh HD/Users/spagop/workspace711/getting-started-camel/pom.xml to /Volumes/Macintosh HD/Users/spagop/.m2/repository/com/acme/getting-started-camel/1.0.0/getting-started-camel-1.0.0.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.302s
      [INFO] Finished at: Wed Apr 02 17:30:14 CEST 2014
      [INFO] Final Memory: 6M/81M
      [INFO] ------------------------------------------------------------------------

      FAILED to install into OSGi: fab:mvn:com.acme/getting-started-camel/1.0.0
      Installation of a bundle with location fab:mvn:com.acme/getting-started-camel/1.0.0 failed with the message: Unable to cache bundle: fab:mvn:com.acme/getting-started-camel/1.0.0
      java.io.IOException: Installation of a bundle with location fab:mvn:com.acme/getting-started-camel/1.0.0 failed with the message: Unable to cache bundle: fab:mvn:com.acme/getting-started-camel/1.0.0
      at org.apache.aries.jmx.framework.Framework.installBundle(Framework.java:136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
      at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
      at javax.management.StandardMBean.invoke(StandardMBean.java:405)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
      at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
      at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
      at sun.rmi.transport.Transport$1.run(Transport.java:177)
      at sun.rmi.transport.Transport$1.run(Transport.java:174)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: org.osgi.framework.BundleException: Unable to cache bundle: fab:mvn:com.acme/getting-started-camel/1.0.0
      at org.apache.felix.framework.Felix.installBundle(Felix.java:3121)
      at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
      at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:138)
      at org.apache.aries.jmx.framework.Framework.installBundle(Framework.java:133)
      ... 36 more
      Caused by: java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      at java.util.jar.JarFile.<init>(JarFile.java:153)
      at java.util.jar.JarFile.<init>(JarFile.java:117)
      at io.fabric8.fab.MavenResolverImpl.findPomFile(MavenResolverImpl.java:632)
      at io.fabric8.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.resolvePomDetails(FabResolverFactoryImpl.java:232)
      at io.fabric8.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getVersionedDependencyId(FabResolverFactoryImpl.java:174)
      at io.fabric8.fab.osgi.internal.FabClassPathResolver.resolve(FabClassPathResolver.java:113)
      at io.fabric8.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.configureInstructions(FabResolverFactoryImpl.java:279)
      at io.fabric8.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.createInstructions(FabResolverFactoryImpl.java:271)
      at io.fabric8.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getInfo(FabResolverFactoryImpl.java:241)
      at io.fabric8.fab.osgi.internal.FabConnection.getInputStream(FabConnection.java:93)
      at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:524)
      at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:165)
      at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)
      at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)
      at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
      at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)
      at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
      at org.apache.felix.framework.Felix.installBundle(Felix.java:3117)
      ... 39 more

              spagop1@redhat.com Serge Pagop
              spagop1@redhat.com Serge Pagop
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: