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

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

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.


[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)

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50065#action_50065 ] 

Charles Moulliard commented on SMX4-232:
----------------------------------------

Here is the log info error reported in version 4.0.0.4 when installing pax logging 1.3.0:

10:46:14,867 | WARN  | Timer-1          | FileMonitor                      | x.kernel.filemonitor.FileMonitor  547 | Failed to start bundle: org.ops4j.pax.logging.pax-logging-service [60]. Reason: org.osgi.framework.BundleException: Activator start error.
org.osgi.framework.BundleException: Activator start error.
	at org.apache.felix.framework.Felix._startBundle(Felix.java:1651)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
	at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:543)
	at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:290)
	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)
Caused by: java.lang.NoClassDefFoundError: org/ops4j/pax/logging/PaxContext
	at org.ops4j.pax.logging.internal.PaxLoggingServiceImpl.<init>(PaxLoggingServiceImpl.java:61)
	at org.ops4j.pax.logging.internal.Activator.start(Activator.java:87)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:591)
	at org.apache.felix.framework.Felix._startBundle(Felix.java:1607)
	... 11 more

Remark : everything works fine with 4.1.0 because the bundles needed are already there

> 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.


[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)

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50093#action_50093 ] 

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

Should we close the issue.
In all cases, the fragments problem is captured by https://issues.apache.org/activemq/browse/SMX4KNL-206

> 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.


[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)

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50044#action_50044 ] 

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

No, you need to grab a recent snapshot.
And that version exports the 1.5.6 version of slf4j btw...

> 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.


[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)

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50045#action_50045 ] 

Charles Moulliard commented on SMX4-232:
----------------------------------------

Guillaume,

Can I deploy a more recent build of the Kernel top of Apache ServiceMix 4.0.0.4 (Fuse) ?

I have tried to deploy on servicemix 4.0 :

[  83] [Resolved   ] [   50] OPS4J Pax Logging - API (1.3.0)
[  84] [Resolved   ] [   50] OPS4J Pax Logging - Service (1.3.0)

containing the version 1.5.6 of slf4j

but I receive the following error :

[  83] [Resolved   ] [   50] OPS4J Pax Logging - API (1.3.0)
[  84] [Resolved   ] [   50] OPS4J Pax Logging - Service (1.3.0)
servicemix osgi> start 83
ERROR BundleException: Activator start error.





> 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.


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

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard closed SMX4-232.
----------------------------------

    Resolution: Fixed

> 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.


[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)

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50043#action_50043 ] 

Charles Moulliard commented on SMX4-232:
----------------------------------------

@Guillaume,

Pax logger includes slf4j but this is the release 1.4.3 and Hibernate 3.x requires 1.5.6 !

I'm currently working with Apache ServiceMix (Fuse ESB) 4.0.0.4. 

Is the last kernel version already integrated with this servicemix version ?



> 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.


[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)

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50046#action_50046 ] 

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

ServiceMix Kernel is the core of FUSE ESB / ServiceMix 4, so you can't really deploy it on top of itself ...

For the problem deploying pax logging, you can check the log {{data/log/servicemix.log}} and check the exception that should have been logged.

> 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.


[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)

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50049#action_50049 ] 

Chris Custine commented on SMX4-232:
------------------------------------

If you want to test the Fuse builds you can always download the 4.1 snapshot from here http://repo.fusesource.com/maven2-snapshot/org/apache/servicemix/features/apache-servicemix/4.1.0-fuse-SNAPSHOT/ 

Could you attach some servicemix.log output for the pax logging error you are getting?

> 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.


[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)

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ 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.