You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/02/26 15:55:59 UTC

[jira] Commented: (SMX4-232) org.osgi.framework.BundleException: Fragments with exports, imports, or native code are not currently s upported. (Fuse 4.0.0.4)

    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50042#action_50042 ] 

Guillaume Nodet commented on SMX4-232:
--------------------------------------

Can you try with the latest servicemix kernel ? Fragments were not supported at all by Felix some time ago.
Btw, slf4j api is already included through the pax logger from servicemix kernel, so you should not have to install this bundle.

> org.osgi.framework.BundleException: Fragments with exports, imports, or native code are not currently s upported. (Fuse 4.0.0.4)
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-232
>                 URL: https://issues.apache.org/activemq/browse/SMX4-232
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Charles Moulliard
>
> Hi,
> When I try to deploy an osgi bundle contaning fragment (see META-INF), the following error is generated ?
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: ceki
> Build-Jdk: 1.6.0_05
> Bundle-Description: The slf4j jcl binding
> Bundle-Version: 1.5.6
> Implementation-Version: 1.5.6
> Implementation-Title: slf4j-jcl
> Bundle-ManifestVersion: 2
> Bundle-SymbolicName: slf4j.jcl
> Bundle-Name: slf4j-jcl
> Bundle-Vendor: SLF4J.ORG
> Require-Bundle: slf4j.api
> Bundle-RequiredExecutionEnvironment: J2SE-1.3
> Export-Package: org.slf4j.impl;version=1.5.6
> Import-Package: org.slf4j.spi;version=1.5.6, org.slf4j.helpers;version
>  =1.5.6, org.apache.commons.logging
> Fragment-Host: slf4j.api
> [  82] [Active     ] [   50] Apache Commons Collections (3.2.0)
> servicemix osgi> org.osgi.framework.BundleException: Fragments with exports, imports, or native code are not currently s
> upported.
>         at org.apache.felix.framework.util.manifestparser.ManifestParser.validateFragment(ManifestParser.java:258)
>         at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:100)
>         at org.apache.felix.framework.Felix.createModule(Felix.java:3377)
>         at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3316)
>         at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
>         at org.apache.felix.framework.Felix.installBundle(Felix.java:2227)
>         at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:132)
>         at org.apache.servicemix.kernel.filemonitor.FileMonitor.deployBundle(FileMonitor.java:373)
>         at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:279)
>         at org.apache.servicemix.kernel.filemonitor.FileMonitor$1.filesChanged(FileMonitor.java:143)
>         at org.apache.servicemix.kernel.filemonitor.Scanner.reportBulkChanges(Scanner.java:433)
>         at org.apache.servicemix.kernel.filemonitor.Scanner.reportDifferences(Scanner.java:322)
>         at org.apache.servicemix.kernel.filemonitor.Scanner.scan(Scanner.java:254)
>         at org.apache.servicemix.kernel.filemonitor.Scanner$1.run(Scanner.java:214)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> list

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.