You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Michael Täschner <m....@gmail.com> on 2014/03/21 15:19:28 UTC

Re: Pax Logging + Logback

Hi JB,

with Spring EBR not being maintained any longer do you see a chance to
move the wrapping of commons-compiler and commons-janino to the
servicemix bundles wrapping ?

This would certainly keep all wrapped bundles in one place.

Thanks and Regards,
Michael

2013-12-29 19:05 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Charles,
>
> you have to install commons-compiler from Spring EBR:
>
> 1/ Check that etc/org.ops4j.pax.url.mvn.cfg contains both Spring EBR release
> and external:
> http://repository.springsource.com/maven/bundles/release
> http://repository.springsource.com/maven/bundles/external
>
> Normally, release is already included by default. External will be included
> by default in 2.3.4 (and it's already in 3.0.0).
>
> 2/ Install commons-compiler:
>
> osgi:install -s
> mvn:org.codehaus.janino/com.springsource.org.codehaus.commons.compiler/2.6.1
>
> Regards
> JB
>
>
> On 12/29/2013 07:00 PM, Charles Moulliard wrote:
>>
>> Hi,
>>
>> I tried to deploy and use LogBack on Karaf 2.3.x but failed. Does
>> everybody has a list of bundles or feature that I can use to deploy it
>> as the following bundles are not the correct one to be used
>>
>> [  67] [Installed  ] [            ] [   80]
>> mvn:org.ops4j.pax.logging/pax-logging-logback/1.7.1
>> [  69] [Active     ] [            ] [   80]
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/1.6.3_2
>> [  70] [Active     ] [            ] [   80]
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5
>> [  71] [Active     ] [            ] [   80]
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/2.2.3_5
>> [  72] [Active     ] [            ] [   80]
>> wrap:mvn:org.codehaus.groovy/groovy-all/2.2.1
>>
>> Error executing command: Error starting bundles:
>> Unable to start bundle 67: Unresolved constraint in bundle
>> org.ops4j.pax.logging.pax-logging-logback [67]: Unable to resolve 67.0:
>> missing requirement [67.0] osgi.wiring.package;
>> (osgi.wiring.package=org.codehaus.commons.compiler)
>>
>> Regards,
>>
>> --
>> Charles Moulliard
>> Apache Committer / Architect @RedHat
>> Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
>> <http://cmoulliard.github.io>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Pax Logging + Logback

Posted by Michael Täschner <m....@gmail.com>.
Hi JB,

sounds great. Corresponding EBR bundles are:
- com.springsource.org.codehaus.commons.compiler-2.6.1.jar
- com.springsource.org.codehaus.janino-2.6.1.jar

Thanks,
Michael


2014-03-21 15:36 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Michael,
>
> good idea, I will create the Jira in ServiceMix to do it.
>
> Regards
> JB
>
>
> On 03/21/2014 03:19 PM, Michael Täschner wrote:
>>
>> Hi JB,
>>
>> with Spring EBR not being maintained any longer do you see a chance to
>> move the wrapping of commons-compiler and commons-janino to the
>> servicemix bundles wrapping ?
>>
>> This would certainly keep all wrapped bundles in one place.
>>
>> Thanks and Regards,
>> Michael
>>
>> 2013-12-29 19:05 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>>
>>> Hi Charles,
>>>
>>> you have to install commons-compiler from Spring EBR:
>>>
>>> 1/ Check that etc/org.ops4j.pax.url.mvn.cfg contains both Spring EBR
>>> release
>>> and external:
>>> http://repository.springsource.com/maven/bundles/release
>>> http://repository.springsource.com/maven/bundles/external
>>>
>>> Normally, release is already included by default. External will be
>>> included
>>> by default in 2.3.4 (and it's already in 3.0.0).
>>>
>>> 2/ Install commons-compiler:
>>>
>>> osgi:install -s
>>>
>>> mvn:org.codehaus.janino/com.springsource.org.codehaus.commons.compiler/2.6.1
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 12/29/2013 07:00 PM, Charles Moulliard wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I tried to deploy and use LogBack on Karaf 2.3.x but failed. Does
>>>> everybody has a list of bundles or feature that I can use to deploy it
>>>> as the following bundles are not the correct one to be used
>>>>
>>>> [  67] [Installed  ] [            ] [   80]
>>>> mvn:org.ops4j.pax.logging/pax-logging-logback/1.7.1
>>>> [  69] [Active     ] [            ] [   80]
>>>>
>>>>
>>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/1.6.3_2
>>>> [  70] [Active     ] [            ] [   80]
>>>>
>>>>
>>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5
>>>> [  71] [Active     ] [            ] [   80]
>>>>
>>>>
>>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/2.2.3_5
>>>> [  72] [Active     ] [            ] [   80]
>>>> wrap:mvn:org.codehaus.groovy/groovy-all/2.2.1
>>>>
>>>> Error executing command: Error starting bundles:
>>>> Unable to start bundle 67: Unresolved constraint in bundle
>>>> org.ops4j.pax.logging.pax-logging-logback [67]: Unable to resolve 67.0:
>>>> missing requirement [67.0] osgi.wiring.package;
>>>> (osgi.wiring.package=org.codehaus.commons.compiler)
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Charles Moulliard
>>>> Apache Committer / Architect @RedHat
>>>> Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
>>>> <http://cmoulliard.github.io>
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Pax Logging + Logback

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

good idea, I will create the Jira in ServiceMix to do it.

Regards
JB

On 03/21/2014 03:19 PM, Michael Täschner wrote:
> Hi JB,
>
> with Spring EBR not being maintained any longer do you see a chance to
> move the wrapping of commons-compiler and commons-janino to the
> servicemix bundles wrapping ?
>
> This would certainly keep all wrapped bundles in one place.
>
> Thanks and Regards,
> Michael
>
> 2013-12-29 19:05 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>> Hi Charles,
>>
>> you have to install commons-compiler from Spring EBR:
>>
>> 1/ Check that etc/org.ops4j.pax.url.mvn.cfg contains both Spring EBR release
>> and external:
>> http://repository.springsource.com/maven/bundles/release
>> http://repository.springsource.com/maven/bundles/external
>>
>> Normally, release is already included by default. External will be included
>> by default in 2.3.4 (and it's already in 3.0.0).
>>
>> 2/ Install commons-compiler:
>>
>> osgi:install -s
>> mvn:org.codehaus.janino/com.springsource.org.codehaus.commons.compiler/2.6.1
>>
>> Regards
>> JB
>>
>>
>> On 12/29/2013 07:00 PM, Charles Moulliard wrote:
>>>
>>> Hi,
>>>
>>> I tried to deploy and use LogBack on Karaf 2.3.x but failed. Does
>>> everybody has a list of bundles or feature that I can use to deploy it
>>> as the following bundles are not the correct one to be used
>>>
>>> [  67] [Installed  ] [            ] [   80]
>>> mvn:org.ops4j.pax.logging/pax-logging-logback/1.7.1
>>> [  69] [Active     ] [            ] [   80]
>>>
>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/1.6.3_2
>>> [  70] [Active     ] [            ] [   80]
>>>
>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5
>>> [  71] [Active     ] [            ] [   80]
>>>
>>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/2.2.3_5
>>> [  72] [Active     ] [            ] [   80]
>>> wrap:mvn:org.codehaus.groovy/groovy-all/2.2.1
>>>
>>> Error executing command: Error starting bundles:
>>> Unable to start bundle 67: Unresolved constraint in bundle
>>> org.ops4j.pax.logging.pax-logging-logback [67]: Unable to resolve 67.0:
>>> missing requirement [67.0] osgi.wiring.package;
>>> (osgi.wiring.package=org.codehaus.commons.compiler)
>>>
>>> Regards,
>>>
>>> --
>>> Charles Moulliard
>>> Apache Committer / Architect @RedHat
>>> Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
>>> <http://cmoulliard.github.io>
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

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