You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Charles Moulliard <cm...@gmail.com> on 2011/10/05 09:27:58 UTC

strange error when deploying application-without-isolation on karaf 2.2.3

Hi,

I have tried to deploy application-without-isolation feature but get
this strange error :

2011-10-05 09:25:19,564 | INFO  | l Console Thread | Console
               | araf.shell.console.jline.Console  236 | 40 -
org.apache.karaf.shell.console - 2.2.3 | Exception caught while
executing command
org.osgi.framework.BundleException: Manifest not present in the first
entry of the zip mvn:org.apache.felix/org.osgi.service.obr/1.0.2
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:657)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:475)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:453)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:292)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:280)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:276)[11:org.apache.karaf.features.core:2.2.3]
	at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[19:org.apache.karaf.features.command:2.2.3]
	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[19:org.apache.karaf.features.command:2.2.3]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[40:org.apache.karaf.shell.console:2.2.3]

Regards,
Charles Moulliard

Apache Committer

Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard

Re: strange error when deploying application-without-isolation on karaf 2.2.3

Posted by Charles Moulliard <cm...@gmail.com>.
Error comes when you install the following bundle -->
mvn:org.apache.felix/org.osgi.service.obr/1.0.2

On Wed, Oct 5, 2011 at 9:40 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Hi Charles,
>
> The application-without-isolation feature installs the OBR feature.
>
> It looks like the Felix BundleRepository (providing the OBR service) is not
> fully valid.
>
> Let me check.
>
> Regards
> JB
>
> On 10/05/2011 09:27 AM, Charles Moulliard wrote:
>>
>> Hi,
>>
>> I have tried to deploy application-without-isolation feature but get
>> this strange error :
>>
>> 2011-10-05 09:25:19,564 | INFO  | l Console Thread | Console
>>                | araf.shell.console.jline.Console  236 | 40 -
>> org.apache.karaf.shell.console - 2.2.3 | Exception caught while
>> executing command
>> org.osgi.framework.BundleException: Manifest not present in the first
>> entry of the zip mvn:org.apache.felix/org.osgi.service.obr/1.0.2
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:657)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:475)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:453)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:292)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:280)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:276)[11:org.apache.karaf.features.core:2.2.3]
>>        at
>> org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[19:org.apache.karaf.features.command:2.2.3]
>>        at
>> org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[19:org.apache.karaf.features.command:2.2.3]
>>        at
>> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[40:org.apache.karaf.shell.console:2.2.3]
>>
>> Regards,
>> Charles Moulliard
>>
>> Apache Committer
>>
>> Blog : http://cmoulliard.blogspot.com
>> Twitter : http://twitter.com/cmoulliard
>> Linkedin : http://www.linkedin.com/in/charlesmoulliard
>> Skype: cmoulliard
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: strange error when deploying application-without-isolation on karaf 2.2.3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Charles,

The application-without-isolation feature installs the OBR feature.

It looks like the Felix BundleRepository (providing the OBR service) is 
not fully valid.

Let me check.

Regards
JB

On 10/05/2011 09:27 AM, Charles Moulliard wrote:
> Hi,
>
> I have tried to deploy application-without-isolation feature but get
> this strange error :
>
> 2011-10-05 09:25:19,564 | INFO  | l Console Thread | Console
>                 | araf.shell.console.jline.Console  236 | 40 -
> org.apache.karaf.shell.console - 2.2.3 | Exception caught while
> executing command
> org.osgi.framework.BundleException: Manifest not present in the first
> entry of the zip mvn:org.apache.felix/org.osgi.service.obr/1.0.2
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:657)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:475)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:453)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:292)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:280)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:276)[11:org.apache.karaf.features.core:2.2.3]
> 	at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[19:org.apache.karaf.features.command:2.2.3]
> 	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[19:org.apache.karaf.features.command:2.2.3]
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[40:org.apache.karaf.shell.console:2.2.3]
>
> Regards,
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com