incubator-stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Christ <christ.fab...@googlemail.com>
Subject Re: unable to start stanbol kres
Date Tue, 10 May 2011 07:36:27 GMT
+1

2011/5/10 Enrico Daga <enricodaga@gmail.com>:
> On 10 May 2011 09:19, Rupert Westenthaler <rupert.westenthaler@gmail.com> wrote:
>> Hi David, Enrico,
>>
>> On Mon, May 9, 2011 at 7:29 PM, David Riccitelli
>> <david.riccitelli@interact.it> wrote:
>>> could my issue related to this?
>>> https://issues.apache.org/jira/browse/STANBOL-189
>> Thats only partly the case and most likely not the cause for your problem.
>> I checked the POM files and can confirm that the rules.web bundle
>> still uses a 1.5.* slf4j version. However within the OSGI environment
>> slf4j is exported by the sling logging bundle.
>> I think that updating the version of the sling.commons.log bundle form
>> 2.0.1 to this:
>>
>>  <dependency>
>>      <groupId>org.apache.sling</groupId>
>>      <artifactId>org.apache.sling.commons.log</artifactId>
>>      <version>2.1.2</version>
>>  </dependency>
>>
>> within the bundle list of the kres launcher [1].
>> When making this change one need also to check if this version of the
>> sling logging bundle is still compatible with other sling
>> dependencies. The best would be to compare the dependencies with the
>> versions used by the Stanbol Full Launcher.
>>
>> I would also suggest to move the kres launcher over to the other
>> launchers (e.g. from "/kres/launchers/full" to "/launchers/kres").
> +1
>
>> This would made it more easy to keep all the up to date by changes to
>> core dependencies.
>>
>> [1]. http://svn.apache.org/repos/asf/incubator/stanbol/trunk/kres/launchers/full/src/main/bundles/list.xml
>>
>> best
>> Rupert Westenthaler
>>
>>>
>>> On Mon, May 9, 2011 at 8:27 PM, David Riccitelli <
>>> david.riccitelli@interact.it> wrote:
>>>
>>>> same error, I believe I'm missing something with org.slf4j?
>>>>
>>>> David
>>>>
>>>>
>>>> On Mon, May 9, 2011 at 8:13 PM, Enrico Daga <enricodaga@gmail.com>
wrote:
>>>>
>>>>> hi,
>>>>> I attached a working pom.xml file in
>>>>> https://issues.apache.org/jira/browse/STANBOL-192 .
>>>>> I used it yesterday after experimenting the same issue, hope this helps.
>>>>> Maybe someone else (Andrea? Alessandro?) should revise it anyway
>>>>> before committing.
>>>>>
>>>>> Cheers
>>>>> Enrico
>>>>>
>>>>> On 9 May 2011 18:58, David Riccitelli <david.riccitelli@interact.it>
>>>>> wrote:
>>>>> > Dears,
>>>>> >
>>>>> > I just updated to HEAD and tried to start Stanbol with KReS full
>>>>> launcher.
>>>>> >
>>>>> > It doesn't start, reporting the following error:
>>>>> > Unable to resolve 20.0: missing requirement [20.0] package;
>>>>> > (&(package=org.slf4j)(version>=1.6.1))
>>>>> >
>>>>> > -- excerpt:
>>>>> > ERROR: Bundle org.apache.stanbol.rules.web [77]: Error starting
>>>>> > slinginstall:org.apache.stanbol.rules.web-0.9-SNAPSHOT.jar
>>>>> > (org.osgi.framework.BundleException: Unresolved constraint in bundle
>>>>> > org.apache.stanbol.rules.web [77]: Unable to resolve 77.0: missing
>>>>> > requirement [77.0] package;
>>>>> > (package=org.apache.stanbol.commons.web.base.resource) [caused by:
>>>>> Unable to
>>>>> > resolve 20.0: missing requirement [20.0] package;
>>>>> > (&(package=org.slf4j)(version>=1.6.1))])
>>>>> > org.osgi.framework.BundleException: Unresolved constraint in bundle
>>>>> > org.apache.stanbol.rules.web [77]: Unable to resolve 77.0: missing
>>>>> > requirement [77.0] package;
>>>>> > (package=org.apache.stanbol.commons.web.base.resource) [caused by:
>>>>> Unable to
>>>>> > resolve 20.0: missing requirement [20.0] package;
>>>>> > (&(package=org.slf4j)(version>=1.6.1))]
>>>>> > at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
>>>>> > at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>>>>> > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
>>>>> > at
>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>>>>> > at java.lang.Thread.run(Thread.java:680)
>>>>> >
>>>>> > How do I fix it?
>>>>> >
>>>>> > David
>>>>> >
>>>>> > --
>>>>> > David Riccitelli
>>>>> >
>>>>> > Interact SpA
>>>>> > Via A. Bargoni 78 (scala F)
>>>>> > 00153 Roma
>>>>> >
>>>>> > T +39 06 58318 301
>>>>> > F +39 06 58318 303
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Enrico Daga
>>>>>
>>>>> --
>>>>> http://www.enridaga.net
>>>>> skype: enri-pan
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> David Riccitelli
>>>>
>>>> Interact SpA
>>>> Via A. Bargoni 78 (scala F)
>>>> 00153 Roma
>>>>
>>>> T +39 06 58318 301
>>>> F +39 06 58318 303
>>>>
>>>>
>>>
>>>
>>> --
>>> David Riccitelli
>>>
>>> Interact SpA
>>> Via A. Bargoni 78 (scala F)
>>> 00153 Roma
>>>
>>> T +39 06 58318 301
>>> F +39 06 58318 303
>>>
>>
>>
>>
>> --
>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>
>
>
>
> --
> Enrico Daga
>
> --
> http://www.enridaga.net
> skype: enri-pan
>



-- 
Fabian

Mime
View raw message