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

[jira] Created: (FELIX-1361) Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf

Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf
---------------------------------------------------------------------------------------------

                 Key: FELIX-1361
                 URL: https://issues.apache.org/jira/browse/FELIX-1361
             Project: Felix
          Issue Type: Bug
          Components: Karaf
            Reporter: Charles Moulliard


Hi,

The last build of Apache Felix Karaf does not work properly.

{code}
karaf@root> karaf@root> headers 18

org.osgi.impl.bundle.jmx (18)
-----------------------------
Bnd-LastModified = 1247066364416
Bundle-Activator = org.osgi.impl.bundle.jmx.Activator
Bundle-Category = osgi
Bundle-Copyright = Copyright (c) OSGi Alliance (2000, 2009). All Rights Reserved.
Bundle-Description = OSGi JMX Command n' Control Reference Implementation by Oracle Corporation.
Bundle-ManifestVersion = 2
Bundle-Name = org.osgi.impl.bundle.jmx
Bundle-RequiredExecutionEnvironment = J2SE-1.5
Bundle-SymbolicName = org.osgi.impl.bundle.jmx
Bundle-Vendor = OSGi Alliance
Bundle-Version = 4.2.0.200907080519
Created-By = 1.6.0_13 (Apple Inc.)
Export-Package = org.osgi.jmx.framework;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.useradmin;uses:="javax.management.openmbean";ver
sion="1.0",org.osgi.jmx;version="1.0",org.osgi.jmx.codec;uses:="javax.management.openmbean,org.osgi.jmx.framework,org.osgi.jmx.useradmin,org.osgi.serv
ice.useradmin,org.osgi.service.startlevel,org.osgi.framework,org.osgi.service.packageadmin";version="1.0",org.osgi.jmx.provisioning;uses:="javax.manag
ement.openmbean";version="1.0",org.osgi.jmx.cm;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.permissionadmin;version="1.0"
Import-Package = javax.management,javax.management.openmbean,org.osgi.framework;version="[1.5,2)",org.osgi.jmx;version="[1.0,2)",org.osgi.jmx.cm;versi
on="[1.0,2)",org.osgi.jmx.codec;version="[1.0,2)",org.osgi.jmx.framework;version="[1.0,2)",org.osgi.jmx.permissionadmin;version="[1.0,2)",org.osgi.jmx
.provisioning;version="[1.0,2)",org.osgi.jmx.useradmin;version="[1.0,2)",org.osgi.service.cm;resolution:=optional;version="[1.2,2)",org.osgi.service.p
ackageadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.permissionadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.provisioni
ng;resolution:=optional;version="[1.2,2)",org.osgi.service.startlevel;resolution:=optional;version="[1.1,2)",org.osgi.service.useradmin;resolution:=op
tional;version="[1.1,2)",org.osgi.util.tracker;version="[1.4,2)"
Manifest-Version = 1.0
Private-Package = org.osgi.impl.bundle.jmx.permissionadmin,org.osgi.impl.bundle.jmx.provisioning,org.osgi.impl.bundle.jmx.useradmin,org.osgi.impl.bund
le.jmx,org.osgi.impl.bundle.jmx.cm,org.osgi.impl.bundle.jmx.framework
Tool = Bnd-0.0.338
karaf@root> karaf@root>
{code}

The bundle 18 requires the version between 1.4 and 2 of the following package org.osgi.util.tracker but Apache Felix used export only the version 1.3.3

{code}
System Bundle (0)
-----------------
Bundle-Description = This bundle is system specific; it implements various system services.
Bundle-ManifestVersion = 2
Bundle-Name = System Bundle
Bundle-SymbolicName = org.apache.felix.framework
Bundle-Version = 1.9.0.SNAPSHOT
Export-Package = org.osgi.framework; version="1.5.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", o
rg.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.trac
ker; version="1.3.3"
{code}

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


Re: [jira] Created: (FELIX-1361) Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 7/15/09 1:30 PM, Guillaume Nodet wrote:
> Yeah, Felix should switch to the 1.4 version of this package as it
> aims to implement OSGi 4.2
>    

Well, the Felix framework can implement R4.2 without service tracker, 
since it is not part of the core spec. However, the main issue was just 
that the compendium was not finalized yet, but I think it is now, so we 
can probably move forward with it shortly.

-> richard

> I'll try to hack the jmx support to be able to use the old package, as
> i dont't think it actually requires the latest version.
>
> On Wednesday, July 15, 2009, Charles Moulliard (JIRA)<ji...@apache.org>  wrote:
>    
>> Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf
>> ---------------------------------------------------------------------------------------------
>>
>>                   Key: FELIX-1361
>>                   URL: https://issues.apache.org/jira/browse/FELIX-1361
>>               Project: Felix
>>            Issue Type: Bug
>>            Components: Karaf
>>              Reporter: Charles Moulliard
>>
>>
>> Hi,
>>
>> The last build of Apache Felix Karaf does not work properly.
>>
>> {code}
>> karaf@root>  karaf@root>  headers 18
>>
>> org.osgi.impl.bundle.jmx (18)
>> -----------------------------
>> Bnd-LastModified = 1247066364416
>> Bundle-Activator = org.osgi.impl.bundle.jmx.Activator
>> Bundle-Category = osgi
>> Bundle-Copyright = Copyright (c) OSGi Alliance (2000, 2009). All Rights Reserved.
>> Bundle-Description = OSGi JMX Command n' Control Reference Implementation by Oracle Corporation.
>> Bundle-ManifestVersion = 2
>> Bundle-Name = org.osgi.impl.bundle.jmx
>> Bundle-RequiredExecutionEnvironment = J2SE-1.5
>> Bundle-SymbolicName = org.osgi.impl.bundle.jmx
>> Bundle-Vendor = OSGi Alliance
>> Bundle-Version = 4.2.0.200907080519
>> Created-By = 1.6.0_13 (Apple Inc.)
>> Export-Package = org.osgi.jmx.framework;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.useradmin;uses:="javax.management.openmbean";ver
>> sion="1.0",org.osgi.jmx;version="1.0",org.osgi.jmx.codec;uses:="javax.management.openmbean,org.osgi.jmx.framework,org.osgi.jmx.useradmin,org.osgi.serv
>> ice.useradmin,org.osgi.service.startlevel,org.osgi.framework,org.osgi.service.packageadmin";version="1.0",org.osgi.jmx.provisioning;uses:="javax.manag
>> ement.openmbean";version="1.0",org.osgi.jmx.cm;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.permissionadmin;version="1.0"
>> Import-Package = javax.management,javax.management.openmbean,org.osgi.framework;version="[1.5,2)",org.osgi.jmx;version="[1.0,2)",org.osgi.jmx.cm;versi
>> on="[1.0,2)",org.osgi.jmx.codec;version="[1.0,2)",org.osgi.jmx.framework;version="[1.0,2)",org.osgi.jmx.permissionadmin;version="[1.0,2)",org.osgi.jmx
>> .provisioning;version="[1.0,2)",org.osgi.jmx.useradmin;version="[1.0,2)",org.osgi.service.cm;resolution:=optional;version="[1.2,2)",org.osgi.service.p
>> ackageadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.permissionadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.provisioni
>> ng;resolution:=optional;version="[1.2,2)",org.osgi.service.startlevel;resolution:=optional;version="[1.1,2)",org.osgi.service.useradmin;resolution:=op
>> tional;version="[1.1,2)",org.osgi.util.tracker;version="[1.4,2)"
>> Manifest-Version = 1.0
>> Private-Package = org.osgi.impl.bundle.jmx.permissionadmin,org.osgi.impl.bundle.jmx.provisioning,org.osgi.impl.bundle.jmx.useradmin,org.osgi.impl.bund
>> le.jmx,org.osgi.impl.bundle.jmx.cm,org.osgi.impl.bundle.jmx.framework
>> Tool = Bnd-0.0.338
>> karaf@root>  karaf@root>
>> {code}
>>
>> The bundle 18 requires the version between 1.4 and 2 of the following package org.osgi.util.tracker but Apache Felix used export only the version 1.3.3
>>
>> {code}
>> System Bundle (0)
>> -----------------
>> Bundle-Description = This bundle is system specific; it implements various system services.
>> Bundle-ManifestVersion = 2
>> Bundle-Name = System Bundle
>> Bundle-SymbolicName = org.apache.felix.framework
>> Bundle-Version = 1.9.0.SNAPSHOT
>> Export-Package = org.osgi.framework; version="1.5.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", o
>> rg.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.trac
>> ker; version="1.3.3"
>> {code}
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>>      
>
>    

Re: [jira] Created: (FELIX-1361) Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf

Posted by Guillaume Nodet <gn...@gmail.com>.
Yeah, Felix should switch to the 1.4 version of this package as it
aims to implement OSGi 4.2
I'll try to hack the jmx support to be able to use the old package, as
i dont't think it actually requires the latest version.

On Wednesday, July 15, 2009, Charles Moulliard (JIRA) <ji...@apache.org> wrote:
> Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf
> ---------------------------------------------------------------------------------------------
>
>                  Key: FELIX-1361
>                  URL: https://issues.apache.org/jira/browse/FELIX-1361
>              Project: Felix
>           Issue Type: Bug
>           Components: Karaf
>             Reporter: Charles Moulliard
>
>
> Hi,
>
> The last build of Apache Felix Karaf does not work properly.
>
> {code}
> karaf@root> karaf@root> headers 18
>
> org.osgi.impl.bundle.jmx (18)
> -----------------------------
> Bnd-LastModified = 1247066364416
> Bundle-Activator = org.osgi.impl.bundle.jmx.Activator
> Bundle-Category = osgi
> Bundle-Copyright = Copyright (c) OSGi Alliance (2000, 2009). All Rights Reserved.
> Bundle-Description = OSGi JMX Command n' Control Reference Implementation by Oracle Corporation.
> Bundle-ManifestVersion = 2
> Bundle-Name = org.osgi.impl.bundle.jmx
> Bundle-RequiredExecutionEnvironment = J2SE-1.5
> Bundle-SymbolicName = org.osgi.impl.bundle.jmx
> Bundle-Vendor = OSGi Alliance
> Bundle-Version = 4.2.0.200907080519
> Created-By = 1.6.0_13 (Apple Inc.)
> Export-Package = org.osgi.jmx.framework;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.useradmin;uses:="javax.management.openmbean";ver
> sion="1.0",org.osgi.jmx;version="1.0",org.osgi.jmx.codec;uses:="javax.management.openmbean,org.osgi.jmx.framework,org.osgi.jmx.useradmin,org.osgi.serv
> ice.useradmin,org.osgi.service.startlevel,org.osgi.framework,org.osgi.service.packageadmin";version="1.0",org.osgi.jmx.provisioning;uses:="javax.manag
> ement.openmbean";version="1.0",org.osgi.jmx.cm;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.permissionadmin;version="1.0"
> Import-Package = javax.management,javax.management.openmbean,org.osgi.framework;version="[1.5,2)",org.osgi.jmx;version="[1.0,2)",org.osgi.jmx.cm;versi
> on="[1.0,2)",org.osgi.jmx.codec;version="[1.0,2)",org.osgi.jmx.framework;version="[1.0,2)",org.osgi.jmx.permissionadmin;version="[1.0,2)",org.osgi.jmx
> .provisioning;version="[1.0,2)",org.osgi.jmx.useradmin;version="[1.0,2)",org.osgi.service.cm;resolution:=optional;version="[1.2,2)",org.osgi.service.p
> ackageadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.permissionadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.provisioni
> ng;resolution:=optional;version="[1.2,2)",org.osgi.service.startlevel;resolution:=optional;version="[1.1,2)",org.osgi.service.useradmin;resolution:=op
> tional;version="[1.1,2)",org.osgi.util.tracker;version="[1.4,2)"
> Manifest-Version = 1.0
> Private-Package = org.osgi.impl.bundle.jmx.permissionadmin,org.osgi.impl.bundle.jmx.provisioning,org.osgi.impl.bundle.jmx.useradmin,org.osgi.impl.bund
> le.jmx,org.osgi.impl.bundle.jmx.cm,org.osgi.impl.bundle.jmx.framework
> Tool = Bnd-0.0.338
> karaf@root> karaf@root>
> {code}
>
> The bundle 18 requires the version between 1.4 and 2 of the following package org.osgi.util.tracker but Apache Felix used export only the version 1.3.3
>
> {code}
> System Bundle (0)
> -----------------
> Bundle-Description = This bundle is system specific; it implements various system services.
> Bundle-ManifestVersion = 2
> Bundle-Name = System Bundle
> Bundle-SymbolicName = org.apache.felix.framework
> Bundle-Version = 1.9.0.SNAPSHOT
> Export-Package = org.osgi.framework; version="1.5.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", o
> rg.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.trac
> ker; version="1.3.3"
> {code}
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

[jira] Resolved: (FELIX-1361) Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1361.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.0.0
         Assignee: Guillaume Nodet

It's working now.
I've also reverted the default osgi framework for Karaf back to Felix.

> Issue with import/export version of the package : org.osgi.util.tracker in Apache Felix Karaf
> ---------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1361
>                 URL: https://issues.apache.org/jira/browse/FELIX-1361
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Charles Moulliard
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.0
>
>
> Hi,
> The last build of Apache Felix Karaf does not work properly.
> {code}
> karaf@root> karaf@root> headers 18
> org.osgi.impl.bundle.jmx (18)
> -----------------------------
> Bnd-LastModified = 1247066364416
> Bundle-Activator = org.osgi.impl.bundle.jmx.Activator
> Bundle-Category = osgi
> Bundle-Copyright = Copyright (c) OSGi Alliance (2000, 2009). All Rights Reserved.
> Bundle-Description = OSGi JMX Command n' Control Reference Implementation by Oracle Corporation.
> Bundle-ManifestVersion = 2
> Bundle-Name = org.osgi.impl.bundle.jmx
> Bundle-RequiredExecutionEnvironment = J2SE-1.5
> Bundle-SymbolicName = org.osgi.impl.bundle.jmx
> Bundle-Vendor = OSGi Alliance
> Bundle-Version = 4.2.0.200907080519
> Created-By = 1.6.0_13 (Apple Inc.)
> Export-Package = org.osgi.jmx.framework;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.useradmin;uses:="javax.management.openmbean";ver
> sion="1.0",org.osgi.jmx;version="1.0",org.osgi.jmx.codec;uses:="javax.management.openmbean,org.osgi.jmx.framework,org.osgi.jmx.useradmin,org.osgi.serv
> ice.useradmin,org.osgi.service.startlevel,org.osgi.framework,org.osgi.service.packageadmin";version="1.0",org.osgi.jmx.provisioning;uses:="javax.manag
> ement.openmbean";version="1.0",org.osgi.jmx.cm;uses:="javax.management.openmbean";version="1.0",org.osgi.jmx.permissionadmin;version="1.0"
> Import-Package = javax.management,javax.management.openmbean,org.osgi.framework;version="[1.5,2)",org.osgi.jmx;version="[1.0,2)",org.osgi.jmx.cm;versi
> on="[1.0,2)",org.osgi.jmx.codec;version="[1.0,2)",org.osgi.jmx.framework;version="[1.0,2)",org.osgi.jmx.permissionadmin;version="[1.0,2)",org.osgi.jmx
> .provisioning;version="[1.0,2)",org.osgi.jmx.useradmin;version="[1.0,2)",org.osgi.service.cm;resolution:=optional;version="[1.2,2)",org.osgi.service.p
> ackageadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.permissionadmin;resolution:=optional;version="[1.2,2)",org.osgi.service.provisioni
> ng;resolution:=optional;version="[1.2,2)",org.osgi.service.startlevel;resolution:=optional;version="[1.1,2)",org.osgi.service.useradmin;resolution:=op
> tional;version="[1.1,2)",org.osgi.util.tracker;version="[1.4,2)"
> Manifest-Version = 1.0
> Private-Package = org.osgi.impl.bundle.jmx.permissionadmin,org.osgi.impl.bundle.jmx.provisioning,org.osgi.impl.bundle.jmx.useradmin,org.osgi.impl.bund
> le.jmx,org.osgi.impl.bundle.jmx.cm,org.osgi.impl.bundle.jmx.framework
> Tool = Bnd-0.0.338
> karaf@root> karaf@root>
> {code}
> The bundle 18 requires the version between 1.4 and 2 of the following package org.osgi.util.tracker but Apache Felix used export only the version 1.3.3
> {code}
> System Bundle (0)
> -----------------
> Bundle-Description = This bundle is system specific; it implements various system services.
> Bundle-ManifestVersion = 2
> Bundle-Name = System Bundle
> Bundle-SymbolicName = org.apache.felix.framework
> Bundle-Version = 1.9.0.SNAPSHOT
> Export-Package = org.osgi.framework; version="1.5.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", o
> rg.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.trac
> ker; version="1.3.3"
> {code}

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