I tried to install it on FUSE ESB 4.3.0-fuse-03-00 and got a better error
message:
karaf@root> features:install netty
Error executing command: Manifest not present in the first entry of the zip
and the following stack trace in the servocemix.log file:
{code}
18:31:31,282 | TRACE | l Console Thread | Connection |
.pax.url.mvn.internal.Connection 181 | 1 - org.ops4j.pax.url.mvn - 1.2.1 |
Downloading [Version [3.1.5.GA] from URL
[file:/Users/cmueller/.m2/repository/org/jboss/netty/netty/3.1.5.GA/netty-3.1.5.GA.jar]]
18:31:31,283 | INFO | l Console Thread | Console |
araf.shell.console.jline.Console 199 | 12 - org.apache.karaf.shell.console
- 2.0.0.fuse-02-00 | Exception caught while executing command
org.osgi.framework.BundleException: Manifest not present in the first entry
of the zip
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:564)[21:org.apache.karaf.features.core:2.0.0.fuse-02-00]
at
org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:404)[21:org.apache.karaf.features.core:2.0.0.fuse-02-00]
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:249)[21:org.apache.karaf.features.core:2.0.0.fuse-02-00]
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:238)[21:org.apache.karaf.features.core:2.0.0.fuse-02-00]
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:234)[21:org.apache.karaf.features.core:2.0.0.fuse-02-00]
at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:51)[11:org.apache.karaf.features.command:2.0.0.fuse-02-00]
at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[11:org.apache.karaf.features.command:2.0.0.fuse-02-00]
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[12:org.apache.karaf.shell.console:2.0.0.fuse-02-00]
at
org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[12:org.apache.karaf.shell.console:2.0.0.fuse-02-00]
at
org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)[17:org.apache.felix.gogo.runtime:0.4.0]
at
org.apache.karaf.shell.console.jline.Console.run(Console.java:181)[12:org.apache.karaf.shell.console:2.0.0.fuse-02-00]
at java.lang.Thread.run(Thread.java:680)[:1.6.0_22]
{code}
The manifest file is the following:
{code:title=MANIFEST:MF}
Manifest-Version: 1.0
Export-Package: org.jboss.netty.container.microcontainer;uses:="org.jb
oss.netty.logging";version="3.1.5.GA",org.jboss.netty.channel.xnio;us
es:="org.jboss.netty.buffer,org.jboss.xnio,org.jboss.netty.channel,or
g.jboss.xnio.channels,org.jboss.netty.logging";version="3.1.5.GA",org
.jboss.netty.handler.codec.serialization;uses:="org.jboss.netty.buffe
r,org.jboss.netty.handler.codec.replay,org.jboss.netty.channel,org.jb
oss.netty.handler.codec.oneone,org.jboss.netty.handler.codec.frame";v
ersion="3.1.5.GA",org.jboss.netty.handler.codec.protobuf;uses:="org.j
boss.netty.buffer,org.jboss.netty.channel,org.jboss.netty.handler.cod
ec.oneone,com.google.protobuf";version="3.1.5.GA",org.jboss.netty.con
tainer.guice;uses:="com.google.inject,org.jboss.netty.channel.socket.
oio,org.jboss.netty.channel.socket,org.jboss.netty.channel.local,com.
google.inject.binder,org.jboss.netty.channel.socket.nio";version="3.1
.5.GA",org.jboss.netty.util;uses:="org.jboss.netty.buffer,org.jboss.n
etty.channel,org.jboss.netty.logging";version="3.1.5.GA",org.jboss.ne
tty.channel.socket.http;uses:="org.jboss.netty.channel,org.jboss.nett
y.channel.socket,org.jboss.netty.handler.codec.http,javax.net.ssl,org
.jboss.netty.handler.ssl,org.jboss.netty.buffer,org.jboss.netty.loggi
ng,javax.servlet,org.jboss.netty.channel.local,javax.servlet.http";ve
rsion="3.1.5.GA",org.jboss.netty.channel.group;uses:="org.jboss.netty
.channel,org.jboss.netty.buffer,org.jboss.netty.logging";version="3.1
.5.GA",org.jboss.netty.handler.codec.embedder;uses:="org.jboss.netty.
channel,org.jboss.netty.buffer";version="3.1.5.GA",org.jboss.netty.ch
annel.socket.oio;uses:="org.jboss.netty.channel,org.jboss.netty.chann
el.socket,org.jboss.netty.util,org.jboss.netty.buffer,org.jboss.netty
.logging";version="3.1.5.GA",org.jboss.netty.handler.execution;uses:=
"org.jboss.netty.channel,org.jboss.netty.util,org.jboss.netty.logging
";version="3.1.5.GA",org.jboss.netty.handler.codec.frame;uses:="org.j
boss.netty.buffer,org.jboss.netty.channel,org.jboss.netty.handler.cod
ec.oneone";version="3.1.5.GA",org.jboss.netty.channel.local;uses:="or
g.jboss.netty.channel,org.jboss.netty.logging";version="3.1.5.GA",org
.jboss.netty.handler.codec.oneone;uses:="org.jboss.netty.channel";ver
sion="3.1.5.GA",org.jboss.netty.container.osgi;uses:="org.jboss.netty
.logging,org.jboss.netty.channel.socket.oio,org.jboss.netty.channel.s
ocket,org.jboss.netty.channel,org.jboss.netty.channel.local,org.osgi.
framework,org.jboss.netty.channel.socket.nio";version="3.1.5.GA",org.
jboss.netty.bootstrap;uses:="org.jboss.netty.channel,org.jboss.netty.
util";version="3.1.5.GA",org.jboss.netty.logging;uses:="org.apache.co
mmons.logging,org.jboss.logging,org.apache.log4j,org.osgi.service.log
,org.osgi.util.tracker,org.osgi.framework,org.slf4j";version="3.1.5.G
A",org.jboss.netty.buffer;version="3.1.5.GA",org.jboss.netty.handler.
codec.base64;uses:="org.jboss.netty.buffer,org.jboss.netty.channel,or
g.jboss.netty.handler.codec.oneone";version="3.1.5.GA",org.jboss.nett
y.handler.timeout;uses:="org.jboss.netty.channel,org.jboss.netty.util
";version="3.1.5.GA",org.jboss.netty.handler.codec.http;uses:="org.jb
oss.netty.buffer,org.jboss.netty.handler.codec.frame,org.jboss.netty.
channel,org.jboss.netty.handler.codec.replay,org.jboss.netty.handler.
codec.oneone";version="3.1.5.GA",org.jboss.netty.channel.socket.nio;u
ses:="org.jboss.netty.logging,org.jboss.netty.channel.socket,org.jbos
s.netty.channel,org.jboss.netty.util,org.jboss.netty.buffer";version=
"3.1.5.GA",org.jboss.netty.channel.socket;uses:="org.jboss.netty.chan
nel";version="3.1.5.GA",org.jboss.netty.handler.codec.replay;uses:="o
rg.jboss.netty.buffer,org.jboss.netty.channel";version="3.1.5.GA",org
.jboss.netty.handler.codec.string;uses:="org.jboss.netty.buffer,org.j
boss.netty.channel,org.jboss.netty.handler.codec.oneone";version="3.1
.5.GA",org.jboss.netty.channel;uses:="org.jboss.netty.buffer,org.jbos
s.netty.util,org.jboss.netty.logging";version="3.1.5.GA",org.jboss.ne
tty.handler.logging;uses:="org.jboss.netty.logging,org.jboss.netty.bu
ffer,org.jboss.netty.channel";version="3.1.5.GA",org.jboss.netty.hand
ler.stream;uses:="org.jboss.netty.buffer,org.jboss.netty.channel,org.
jboss.netty.logging";version="3.1.5.GA",org.jboss.netty.container.spr
ing;uses:="org.jboss.netty.logging,org.springframework.beans.factory"
;version="3.1.5.GA",org.jboss.netty.handler.ssl;uses:="org.jboss.nett
y.channel,javax.net.ssl,org.jboss.netty.logging,org.jboss.netty.buffe
r,org.jboss.netty.handler.codec.frame";version="3.1.5.GA"
Private-Package: org.jboss.netty.example.http.snoop,org.jboss.netty.ex
ample.securechat,org.jboss.netty.example.http.file,org.jboss.netty.ex
ample.factorial,org.jboss.netty.example.http.tunnel,org.jboss.netty.e
xample.uptime,org.jboss.netty.example.proxy,org.jboss.netty.example.t
elnet,org.jboss.netty.example.objectecho,org.jboss.netty.example.echo
,org.jboss.netty.example.localtime,org.jboss.netty.example.discard,or
g.jboss.netty.example.qotm,org.jboss.netty.util.internal,org.jboss.ne
tty.example.local
Built-By: trustin
Tool: Bnd-0.0.311
Bundle-Name: The Netty Project
Created-By: Apache Maven Bundle Plugin
Bundle-Vendor: JBoss, by Red Hat
SCM-Revision: 1772
Build-Jdk: 1.6.0_16
Bundle-Version: 3.1.5.GA
Bnd-LastModified: 1255345463119
Bundle-ManifestVersion: 2
Bundle-Activator: org.jboss.netty.container.osgi.NettyBundleActivator
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Bundle-Description: The Netty project is an effort to provide an async
hronous event-driven network application framework and tools for r
apid development of maintainable high performance and high scalabi
lity protocol servers and clients. In other words, Netty is a NIO
client server framework which enables quick and easy development
of network applications such as protocol servers and clients. It g
reatly simplifies and streamlines network programming such as TCP
and UDP socket server.
Bundle-DocURL: http://www.jboss.org/netty/
Bundle-SymbolicName: org.jboss.netty
Import-Package: com.google.inject;resolution:=optional,com.google.inje
ct.binder;resolution:=optional,com.google.protobuf;resolution:=option
al,javax.net.ssl;resolution:=optional,javax.servlet;resolution:=optio
nal,javax.servlet.http;resolution:=optional,org.apache.commons.loggin
g;resolution:=optional,org.apache.log4j;resolution:=optional,org.jbos
s.logging;resolution:=optional,org.jboss.netty.bootstrap;resolution:=
optional;version="3.1",org.jboss.netty.buffer;resolution:=optional;ve
rsion="3.1",org.jboss.netty.channel;resolution:=optional;version="3.1
",org.jboss.netty.channel.group;resolution:=optional;version="3.1",or
g.jboss.netty.channel.local;resolution:=optional;version="3.1",org.jb
oss.netty.channel.socket;resolution:=optional;version="3.1",org.jboss
.netty.channel.socket.http;resolution:=optional;version="3.1",org.jbo
ss.netty.channel.socket.nio;resolution:=optional;version="3.1",org.jb
oss.netty.channel.socket.oio;resolution:=optional;version="3.1",org.j
boss.netty.channel.xnio;resolution:=optional;version="3.1",org.jboss.
netty.container.guice;resolution:=optional;version="3.1",org.jboss.ne
tty.container.microcontainer;resolution:=optional;version="3.1",org.j
boss.netty.container.osgi;resolution:=optional;version="3.1",org.jbos
s.netty.container.spring;resolution:=optional;version="3.1",org.jboss
.netty.handler.codec.base64;resolution:=optional;version="3.1",org.jb
oss.netty.handler.codec.embedder;resolution:=optional;version="3.1",o
rg.jboss.netty.handler.codec.frame;resolution:=optional;version="3.1"
,org.jboss.netty.handler.codec.http;resolution:=optional;version="3.1
",org.jboss.netty.handler.codec.oneone;resolution:=optional;version="
3.1",org.jboss.netty.handler.codec.protobuf;resolution:=optional;vers
ion="3.1",org.jboss.netty.handler.codec.replay;resolution:=optional;v
ersion="3.1",org.jboss.netty.handler.codec.serialization;resolution:=
optional;version="3.1",org.jboss.netty.handler.codec.string;resolutio
n:=optional;version="3.1",org.jboss.netty.handler.execution;resolutio
n:=optional;version="3.1",org.jboss.netty.handler.logging;resolution:
=optional;version="3.1",org.jboss.netty.handler.ssl;resolution:=optio
nal;version="3.1",org.jboss.netty.handler.stream;resolution:=optional
;version="3.1",org.jboss.netty.handler.timeout;resolution:=optional;v
ersion="3.1",org.jboss.netty.logging;resolution:=optional;version="3.
1",org.jboss.netty.util;resolution:=optional;version="3.1",org.jboss.
xnio;resolution:=optional,org.jboss.xnio.channels;resolution:=optiona
l,org.osgi.framework;resolution:=optional;version="1.4",org.osgi.serv
ice.log;resolution:=optional;version="1.3",org.osgi.util.tracker;reso
lution:=optional;version="1.3",org.slf4j;resolution:=optional;version
="1.5",org.springframework.beans.factory;resolution:=optional
{code}
But if I execute
karaf@root> install -s mvn:org.jboss.netty/netty/3.1.5.GA
Bundle ID: 119
karaf@root> list | grep -i netty
[ 119] [Active ] [ ] [ ] [ 60] The Netty Project
(3.1.5.GA)
it looks like the bundle is installed.
Can anybody explain this?
Christian
--
View this message in context:
http://servicemix.396122.n5.nabble.com/problem-by-installing-a-custom-jboss-netty-feature-in-SMX-4-2-tp3374147p3374639.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.