You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Ivanhoe Abrahams <iv...@gmail.com> on 2011/01/07 16:55:06 UTC
org.osgi.service.command no longer exported by karaf shell console?
Hi All
I have downloaded the trunk version of Karaf (2.1.99.SNAPSHOT) and built it
(because I want to use the enterprise bundles).
Eveything went fine until I wanted to install activemq 5.4.2,
At that point I get the error below.
Error executing command: Could not start bundle
mvn:org.apache.activemq/activemq-karaf/5.4.2 in feature(s) activemq-5.4.2:
Unresolved constraint in bundle activemq-karaf [242]:
Unable to resolve 242.0 : missing requirement [242.0] package;
(&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0)))
After digging around a bit I noticed that org,apache.karaf.shell.console no
longer exports the above package.
In the previous version (2.1.2) it did export that package.
So my question is. Is this intentional? If not what can I do to resolve
this?
Thank you in advance
Ivanhoe
Re: org.osgi.service.command no longer exported by karaf shell
console?
Posted by Andreas Pieber <an...@gmail.com>.
It would be also great to track this issue in karaf's jira to not accidentially
releasing karaf-2.2.0 before we're compatible to activemq again
kind regards,
andreas
On Sat, Jan 08, 2011 at 09:44:18AM +0200, Ivanhoe Abrahams wrote:
> Hi Jean-Baptiste
>
> Thanks for the info
>
> Can you let me know under which issue-number you will/have committed
> this patch?
>
> Thanks
>
> Ivanhoe
>
> On Sat, Jan 8, 2011 at 9:11 AM, Jean-Baptiste Onofr�
> <[1...@nanthrax.net> wrote:
>
> Hi Ivanhoe,
> This change has been made with the update on the latest gogo version
> (KARAF-219):
> <Export-Package>
> -
> org.apache.felix.gogo.commands*;version=${felix.gogo.version},
> -
> org.osgi.service.command;version=${felix.gogo.version},
> -
> org.osgi.service.threadio;version=${felix.gogo.version},
> +
> org.apache.felix.gogo*;version=${felix.gogo.version},
> +
> org.apache.felix.service.command;version=${felix.gogo.version};statu
> s=provisional;mandatory:=status,
> +
> org.apache.felix.service.threadio;version=${felix.gogo.version};stat
> us=provisional;mandatory:=status,
>
> org.apache.karaf.shell.console*;version=${project.version},
> org.fusesource.jansi;version=${jansi.version},
> Guillaume made this update.
> I think that ActiveMQ Karaf bundle is not up to date as it's linked
> to Karaf 2.1.x (with the "old" gogo version).
> I'm gonna check and submit a patch to ActiveMQ to support the new
> Karaf 2.2.x release with the new gogo version.
> Regards
> JB
>
> On 01/07/2011 04:55 PM, Ivanhoe Abrahams wrote:
>
> Hi All
> I have downloaded the trunk version of Karaf (2.1.99.SNAPSHOT) and
> built
> it (because I want to use the enterprise bundles).
> Eveything went fine until I wanted to install activemq 5.4.2,
> At that point I get the error below.
> Error executing command: Could not start bundle
> mvn:org.apache.activemq/activemq-karaf/5.4.2 in feature(s)
> activemq-5.4.2: Unresolved constraint in bundle activemq-karaf
> [242]:
> Unable to resolve 242.0 : missing requirement [242.0] package;
> (&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.
> 0)))
> After digging around a bit I noticed that
> org,apache.karaf.shell.console
> no longer exports the above package.
> In the previous version (2.1.2) it did export that package.
> So my question is. Is this intentional? If not what can I do to
> resolve
> this?
> Thank you in advance
> Ivanhoe
>
> --
> Jean-Baptiste Onofr�
> ---------------------------------
> HomePage
> [2]http://www.nanthrax.net
> ---------------------------------
> Contacts
> [3]jbonofre@apache.org
> [4]jb@nanthrax.net
> ---------------------------------
> OpenSource
> BuildProcess/AutoDeploy
> [5]http://buildprocess.sourceforge.net
> Apache ServiceMix
> [6]http://servicemix.apache.org
> -----------------------------------
> PGP : 17D4F086
>
> References
>
> 1. mailto:jb@nanthrax.net
> 2. http://www.nanthrax.net/
> 3. mailto:jbonofre@apache.org
> 4. mailto:jb@nanthrax.net
> 5. http://buildprocess.sourceforge.net/
> 6. http://servicemix.apache.org/
Re: org.osgi.service.command no longer exported by karaf shell console?
Posted by Ivanhoe Abrahams <iv...@gmail.com>.
Hi Jean-Baptiste
Thanks for the info
Can you let me know under which issue-number you will/have committed this
patch?
Thanks
Ivanhoe
On Sat, Jan 8, 2011 at 9:11 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
> Hi Ivanhoe,
>
> This change has been made with the update on the latest gogo version
> (KARAF-219):
>
> <Export-Package>
> -
> org.apache.felix.gogo.commands*;version=${felix.gogo.version},
> - org.osgi.service.command;version=${felix.gogo.version},
> - org.osgi.service.threadio;version=${felix.gogo.version},
> + org.apache.felix.gogo*;version=${felix.gogo.version},
> +
> org.apache.felix.service.command;version=${felix.gogo.version};status=provisional;mandatory:=status,
> +
> org.apache.felix.service.threadio;version=${felix.gogo.version};status=provisional;mandatory:=status,
> org.apache.karaf.shell.console*;version=${project.version},
> org.fusesource.jansi;version=${jansi.version},
>
> Guillaume made this update.
> I think that ActiveMQ Karaf bundle is not up to date as it's linked to
> Karaf 2.1.x (with the "old" gogo version).
> I'm gonna check and submit a patch to ActiveMQ to support the new Karaf
> 2.2.x release with the new gogo version.
>
> Regards
> JB
>
>
> On 01/07/2011 04:55 PM, Ivanhoe Abrahams wrote:
>
>> Hi All
>>
>> I have downloaded the trunk version of Karaf (2.1.99.SNAPSHOT) and built
>> it (because I want to use the enterprise bundles).
>> Eveything went fine until I wanted to install activemq 5.4.2,
>>
>> At that point I get the error below.
>>
>> Error executing command: Could not start bundle
>> mvn:org.apache.activemq/activemq-karaf/5.4.2 in feature(s)
>> activemq-5.4.2: Unresolved constraint in bundle activemq-karaf [242]:
>> Unable to resolve 242.0 : missing requirement [242.0] package;
>> (&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0)))
>>
>> After digging around a bit I noticed that org,apache.karaf.shell.console
>> no longer exports the above package.
>> In the previous version (2.1.2) it did export that package.
>>
>> So my question is. Is this intentional? If not what can I do to resolve
>> this?
>>
>> Thank you in advance
>>
>> Ivanhoe
>>
>
> --
> Jean-Baptiste Onofré
> ---------------------------------
> HomePage
> http://www.nanthrax.net
> ---------------------------------
> Contacts
> jbonofre@apache.org
> jb@nanthrax.net
> ---------------------------------
> OpenSource
> BuildProcess/AutoDeploy
> http://buildprocess.sourceforge.net
> Apache ServiceMix
> http://servicemix.apache.org
> -----------------------------------
> PGP : 17D4F086
>
Re: org.osgi.service.command no longer exported by karaf shell console?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Ivanhoe,
This change has been made with the update on the latest gogo version
(KARAF-219):
<Export-Package>
- org.apache.felix.gogo.commands*;version=${felix.gogo.version},
- org.osgi.service.command;version=${felix.gogo.version},
- org.osgi.service.threadio;version=${felix.gogo.version},
+ org.apache.felix.gogo*;version=${felix.gogo.version},
+
org.apache.felix.service.command;version=${felix.gogo.version};status=provisional;mandatory:=status,
+
org.apache.felix.service.threadio;version=${felix.gogo.version};status=provisional;mandatory:=status,
org.apache.karaf.shell.console*;version=${project.version},
org.fusesource.jansi;version=${jansi.version},
Guillaume made this update.
I think that ActiveMQ Karaf bundle is not up to date as it's linked to
Karaf 2.1.x (with the "old" gogo version).
I'm gonna check and submit a patch to ActiveMQ to support the new Karaf
2.2.x release with the new gogo version.
Regards
JB
On 01/07/2011 04:55 PM, Ivanhoe Abrahams wrote:
> Hi All
>
> I have downloaded the trunk version of Karaf (2.1.99.SNAPSHOT) and built
> it (because I want to use the enterprise bundles).
> Eveything went fine until I wanted to install activemq 5.4.2,
>
> At that point I get the error below.
>
> Error executing command: Could not start bundle
> mvn:org.apache.activemq/activemq-karaf/5.4.2 in feature(s)
> activemq-5.4.2: Unresolved constraint in bundle activemq-karaf [242]:
> Unable to resolve 242.0 : missing requirement [242.0] package;
> (&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0)))
>
> After digging around a bit I noticed that org,apache.karaf.shell.console
> no longer exports the above package.
> In the previous version (2.1.2) it did export that package.
>
> So my question is. Is this intentional? If not what can I do to resolve
> this?
>
> Thank you in advance
>
> Ivanhoe
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086