Details
-
Bug
-
Resolution: Done
-
Major
-
2.1.0
-
None
-
None
Description
See screenshot.
I created a new camel-archetype-java project from Fuse IDE wizard.
I have a local fabric running, with a camel child container.
I open the fabric explorer.
I then do a drag of the project to the myothercamel node in the fabric tree.
The console starts and I see this exception
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.mycompany:camel-java:jar:1.0.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 163, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building A Camel Route 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Downloading: http://repo.fusesource.com/nexus/content/repositories/releases/org/codehaus/mojo/exec-maven-plugin/maven-metadata.xml Downloading: http://repo.fusesource.com/nexus/content/repositories/snapshots/org/codehaus/mojo/exec-maven-plugin/maven-metadata.xml [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ camel-java --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ camel-java --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ camel-java --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ camel-java --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ camel-java --- [INFO] Surefire report directory: /Users/davsclaus/Documents/workspace/camel-java/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ camel-java --- [INFO] Building jar: /Users/davsclaus/Documents/workspace/camel-java/target/camel-java-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ camel-java --- [INFO] Installing /Users/davsclaus/Documents/workspace/camel-java/target/camel-java-1.0.0-SNAPSHOT.jar to /Users/davsclaus/.m2/repository/com/mycompany/camel-java/1.0.0-SNAPSHOT/camel-java-1.0.0-SNAPSHOT.jar [INFO] Installing /Users/davsclaus/Documents/workspace/camel-java/pom.xml to /Users/davsclaus/.m2/repository/com/mycompany/camel-java/1.0.0-SNAPSHOT/camel-java-1.0.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.218s [INFO] Finished at: Wed May 09 10:57:09 CEST 2012 [INFO] Final Memory: 9M/81M [INFO] ------------------------------------------------------------------------ FAILED to install into OSGi: fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT Error executing JMX request. org.eclipse.core.runtime.CoreException: Error executing JMX request. at com.fusesource.ide.fabric.navigator.jmx.FabricConnectionWrapper.run(FabricConnectionWrapper.java:171) at com.fusesource.ide.fabric.JmxPluginJmxTemplate.executeAndThrow(JmxPluginJmxTemplate.java:55) at com.fusesource.ide.fabric.navigator.osgi.OsgiFacade.execute(OsgiFacade.java:147) at com.fusesource.ide.fabric.navigator.osgi.OsgiFacade.installBundle(OsgiFacade.java:287) at com.fusesource.ide.fabric.navigator.osgi.BundlesNode$1.executeOnSuccess(BundlesNode.java:132) at com.fusesource.rider.launcher.ui.ExecutePomActionSupport$1.run(ExecutePomActionSupport.java:222) at java.lang.Thread.run(Thread.java:680) Caused by: org.fusesource.fabric.api.FabricException: com.fusesource.ide.fabric.RethrowRuntimeException: java.io.IOException: Installation of a bundle with location fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT failed with the message: Unable to cache bundle: fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT at org.fusesource.fabric.service.JmxTemplate.execute(JmxTemplate.java:55) at com.fusesource.ide.fabric.navigator.jmx.FabricConnectionWrapper.run(FabricConnectionWrapper.java:158) ... 6 more Caused by: com.fusesource.ide.fabric.RethrowRuntimeException: java.io.IOException: Installation of a bundle with location fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT failed with the message: Unable to cache bundle: fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT at com.fusesource.ide.fabric.JmxPluginJmxTemplate$2.run(JmxPluginJmxTemplate.java:68) at com.fusesource.ide.fabric.navigator.jmx.FabricConnectionWrapper$1.doWithJmxConnector(FabricConnectionWrapper.java:162) at org.fusesource.fabric.service.JmxTemplate.execute(JmxTemplate.java:46) ... 7 more Caused by: java.io.IOException: Installation of a bundle with location fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT failed with the message: Unable to cache bundle: fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT at org.apache.aries.jmx.framework.Framework.installBundle(Framework.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) at javax.management.StandardMBean.invoke(StandardMBean.java:391) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) ... 1 more Caused by: org.osgi.framework.BundleException: Unable to cache bundle: fab:mvn:com.mycompany/camel-java/1.0.0-SNAPSHOT at org.apache.felix.framework.Felix.installBundle(Felix.java:2780) 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:80) ... 32 more Caused by: java.net.MalformedURLException: Unknown protocol: fab at java.net.URL.<init>(URL.java:601) at org.apache.felix.framework.util.SecureAction.createURL(SecureAction.java:250) at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:148) 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:2776) ... 35 more