-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
%
I tried to install the secure-soap example as specified in the readme and got the following:
Error executing command: Error installing bundles:
Unable to install bundle fab:mvn:org.fusesource.examples/secure-soap/7.1.0.fuse-044
The stack trace is below. This worked correctly on mac os x.
17:21:13,393 | ERROR | Thread-44 | FabResolver | 75 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-044 | Could not find artifact
cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@id=maven.central.repo)
17:21:13,393 | ERROR | Thread-44 | FabResolver | 75 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-044 | Caused by: org.sonatype.
aether.resolution.ArtifactResolutionException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@id=maven.central.rep
o)
org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@id=mave
n.central.repo)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:250)
at org.fusesource.fabric.fab.MavenResolverImpl.resolveFile(MavenResolverImpl.java:187)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:139)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTreeResult.getTree(DependencyTreeResult.java:49)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:383)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependenciesFromPom(MavenResolverImpl.java:291)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:263)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.collectDependencyTree(FabResolverFactoryImpl.java:149)
at org.fusesource.fabric.fab.osgi.internal.FabClassPathResolver.resolve(FabClassPathResolver.java:136)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.configureInstructions(FabResolverFactoryImpl.java:283)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.createInstructions(FabResolverFactoryImpl.java:275)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getInfo(FabResolverFactoryImpl.java:245)
at org.fusesource.fabric.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:2946)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_32]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:146)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:137)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_32]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[42:org.apache.karaf.jaas.modules:2.3.0.fuse-71-044]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:135)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@
id=maven.central.repo)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:854)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:849)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:602)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:596)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:355)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:407)
... 45 more
17:21:13,409 | INFO | Thread-44 | Console | 16 - org.apache.karaf.shell.console - 2.3.0.fuse-71-044 | Exception caught while ex
ecuting command
org.apache.karaf.shell.console.MultiException: Error installing bundles:
Unable to install bundle fab:mvn:org.fusesource.examples/secure-soap/7.1.0.fuse-044
at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:171)[16:org.apache.karaf.shell.console:2.3.0.fuse-71-044]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_32]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:146)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:137)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_32]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[42:org.apache.karaf.jaas.modules:2.3.0.fuse-71-044]
at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:135)[27:org.apache.karaf.shell.ssh:2.3.0.fuse-71-044]
Caused by: java.lang.Exception: Unable to install bundle fab:mvn:org.fusesource.examples/secure-soap/7.1.0.fuse-044
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:45)
... 16 more
Caused by: org.osgi.framework.BundleException: Unable to cache bundle: fab:mvn:org.fusesource.examples/secure-soap/7.1.0.fuse-044
at org.apache.felix.framework.Felix.installBundle(Felix.java:2950)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)
... 16 more
Caused by: java.io.IOException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@id=maven.central.repo)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getInfo(FabResolverFactoryImpl.java:260)
at org.fusesource.fabric.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:2946)
... 18 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/mav
en2@id=maven.central.repo)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:250)
at org.fusesource.fabric.fab.MavenResolverImpl.resolveFile(MavenResolverImpl.java:187)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:139)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTree.newInstance(DependencyTree.java:131)
at org.fusesource.fabric.fab.DependencyTreeResult.getTree(DependencyTreeResult.java:49)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:383)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependenciesFromPom(MavenResolverImpl.java:291)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:263)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.collectDependencyTree(FabResolverFactoryImpl.java:149)
at org.fusesource.fabric.fab.osgi.internal.FabClassPathResolver.resolve(FabClassPathResolver.java:136)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.configureInstructions(FabResolverFactoryImpl.java:283)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.createInstructions(FabResolverFactoryImpl.java:275)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getInfo(FabResolverFactoryImpl.java:245)
... 27 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact cglib:cglib-nodep:jar:2.2.2 in repos0 (http://repo1.maven.org/maven2@
id=maven.central.repo)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:854)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:849)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:602)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:596)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:355)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:407)
... 45 more
- is duplicated by
-
ENTESB-477 secure-soap example deployment fails - Could not find artifact cglib:cglib-nodep:jar:2.2.2
- Closed