felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Zemann <oliver.zem...@gmail.com>
Subject Re: My OSGi bundle does not find itself??
Date Wed, 05 Sep 2012 22:50:04 GMT
g! inspect c *.package 18
Bundle 18 is not resolved.
g! lb
START LEVEL 1
    ID|State      |Level|Name
     0|Active     |    0|System Bundle (4.0.3)
     1|Active     |    1|ASM all classes (3.2.0)
     2|Active     |    1|json simple OSGi Bundle (1.0.0.SNAPSHOT)
     3|Active     |    1|Logback Classic Module (1.0.6)
     4|Active     |    1|Logback Core Module (1.0.6)
     5|Active     |    1|LogbackBundle (1.0.0)
     6|Active     |    1|Apache Aries SPI Fly Static Weaving Bundle 
(0.4.0.SNAPSHOT)
     7|Active     |    1|Apache Aries Util (0.5.0.SNAPSHOT)
     8|Active     |    1|Apache Felix Bundle Repository (1.6.6)
     9|Active     |    1|Apache Felix EventAdmin (1.2.14)
    10|Active     |    1|Apache Felix File Install (3.1.10)
    11|Active     |    1|Apache Felix Gogo Command (0.12.0)
    12|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    13|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    14|Active     |    1|Apache HttpClient OSGi bundle (4.2.1)
    15|Active     |    1|Apache HttpCore OSGi bundle (4.2.1)
    16|Active     |    1|OPS4J Pax Logging - API (1.6.9)
    17|Active     |    1|slf4j-api (1.6.6)
    18|Installed  |    1|SoundBox OSGi Bundle (0.0.1.SNAPSHOT)
    19|Active     |    1|SoundBox-CoreLibrary OSGi Bundle (1.0.0.SNAPSHOT)
g!

Am 06.09.2012 00:35, schrieb Richard S. Hall:
> If you type at the Gogo shell prompt:
>
>     inspect c *.package 18
>
> Where 18 is the bundle ID of the bundle failing to resolve, do you see 
> the package in question listed as being a capability it provides?
>
> -> richard
>
> On 9/5/12 5:25 PM, Oliver Zemann wrote:
>> I copy/pasted this from the windows command line, thats why there is 
>> that return, sorry for that ;)
>> So this should not be the problem.
>>
>> Am 05.09.2012 23:20, schrieb Richard S. Hall:
>>>
>>> On 9/5/12 17:01 , Oliver Zemann wrote:
>>>> For me it looks ok, maybe someone can see whats wrong:
>>>>
>>>> C:\Users\oli\Desktop\felix-framework-4.0.3>java -jar bin\felix.jar
>>>> DEBUG: WIRE: [17.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.slf4j.impl)(version>=1.6.0)) -> [3.0]
>>>> DEBUG: WIRE: [4.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.naming) -> [0]
>>>> DEBUG: WIRE: [4.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.sql) -> [0]
>>>> DEBUG: WIRE: [4.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.xml.parsers) -> [0]
>>>> DEBUG: WIRE: [4.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.xml.sax) -> [0]
>>>> DEBUG: WIRE: [4.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.xml.sax.helpers) -> [0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core)(version>=1.0.0)) ->
[4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.boolex)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.db)(version>=1.0.0)) ->

>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.encoder)(version>=1.0.0))
-> 
>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.filter)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.helpers)(version>=1.0.0))
-> 
>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.html)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran.action)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran.conditional)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran.event)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran.spi)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.joran.util)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.net)(version>=1.0.0)) ->

>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.pattern)(version>=1.0.0))
-> 
>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.pattern.color)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.pattern.parser)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.read)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.rolling)(version>=1.0.0))
-> 
>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.rolling.helper)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.sift)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.spi)(version>=1.0.0)) ->

>>>> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.status)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=ch.qos.logback.core.util)(version>=1.0.0))

>>>> -> [4.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.management) -> [0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.naming) -> [0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.slf4j)(version>=1.6.0)) -> [17.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)) -> [17.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.slf4j.spi)(version>=1.6.0)) -> [17.0]
>>>> DEBUG: WIRE: [3.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.xml.sax) -> [0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.felix.service.command)(status=provisional)(version>=0.10.0)(!(version>=1.0.0)))

>>>> -> [12.0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework.wiring)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.packageadmin)(version>=1.2.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.startlevel)(version>=1.1.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [11.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.3.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [5.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.framework) -> [0]
>>>> DEBUG: WIRE: [5.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.service.log) -> [11.0]
>>>> DEBUG: WIRE: [5.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.util.tracker) -> [0]
>>>> DEBUG: WIRE: [12.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.framework) -> [0]
>>>> DEBUG: WIRE: [12.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.service.event) -> [9.0]
>>>> DEBUG: WIRE: [12.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.util.tracker) -> [0]
>>>> DEBUG: WIRE: [9.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.3.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [6.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.aries.util.manifest)(version>=0.1.0)(!(version>=1.0.0)))

>>>> -> [7.0]
>>>> DEBUG: WIRE: [6.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [6.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.service.log) -> [11.0]
>>>> DEBUG: WIRE: [6.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.util.tracker) -> [0]
>>>> DEBUG: WIRE: [7.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [7.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework.hooks.bundle)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [7.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework.launch)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [7.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework.wiring)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [7.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.4.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [8.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.xml.stream) -> [0]
>>>> DEBUG: WIRE: [8.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [8.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))

>>>> -> [11.0]
>>>> DEBUG: WIRE: [8.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.url)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))

>>>> -> [11.0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.packageadmin)(version>=1.2.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.startlevel)(version>=1.1.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.url)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [10.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.4.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: DYNAMIC WIRE: [11.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.apache.felix.bundlerepository) -> [8.0]
>>>> DEBUG: WIRE: [13.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.felix.service.command)(status=provisional)(version>=0.10.0))

>>>> -> [12.0]
>>>> DEBUG: WIRE: [13.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.framework) -> [0]
>>>> DEBUG: WIRE: [13.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.service.startlevel) -> [0]
>>>> DEBUG: WIRE: [13.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.osgi.util.tracker) -> [0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.xml.parsers) -> [0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.event)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [9.0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))

>>>> -> [11.0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.0.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [16.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.w3c.dom) -> [0]
>>>> DEBUG: WIRE: [15.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.net.ssl) -> [0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.crypto) -> [0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.crypto.spec) -> [0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.net.ssl) -> [0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=javax.security.auth.x500) -> [0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1))

>>>> -> [16.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http)(version>=4.2.1)) -> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.concurrent)(version>=4.2.1))

>>>> -> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.entity)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.impl)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.impl.entity)(version>=4.2.1))
-> 
>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.impl.io)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.impl.pool)(version>=4.2.1))

>>>> -> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.io)(version>=4.2.1)) ->
[15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.message)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.params)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.pool)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.protocol)(version>=4.2.1))

>>>> -> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.apache.http.util)(version>=4.2.1)) ->

>>>> [15.0]
>>>> DEBUG: WIRE: [14.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.ietf.jgss) -> [0]
>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>> : Enabling SLF4J API support.
>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>> : Enabling Jakarta Commons Logging API support.
>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>> : Enabling Log4J API support.
>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>> : Enabling Avalon Logger API support.
>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>> : Enabling JULI Logger API support.
>>>> ERROR: Bundle org.dyndns.soundi.SoundBox [18] Error starting 
>>>> file:/C:/Users/oli/Desktop/felix-framework-4.0.3/bundle/SoundBox-0.0.1-SNAPSHOT.jar

>>>> (org.osgi.framework.BundleException: Unresolved constraint in 
>>>> bundle org.dy
>>>> ndns.soundi.SoundBox [18]: Unable to resolve 18.0: missing 
>>>> requirement [18.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.dyndns.soundi.soundbox))
>>>> org.osgi.framework.BundleException: Unresolved constraint in bundle 
>>>> org.dyndns.soundi.SoundBox [18]: Unable to resolve 18.0: missing 
>>>> requirement [18.0] osgi.wiring.package; 
>>>> (osgi.wiring.package=org.dyndns.soundi.soundbox
>>>> )
>>>
>>> In your last email message I noticed a carriage return at the end of 
>>> the patch name too, like above. Is it possible that you actually 
>>> have a carriage return included in your package name string? It just 
>>> seems like there are odd line breaks in the error message above 
>>> (also in the bundle symbolic name).
>>>
>>> -> richard
>>>
>>>> at 
>>>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) 
>>>>
>>>>         at 
>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>>>>         at 
>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
>>>>         at 
>>>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>>>>         at java.lang.Thread.run(Unknown Source)
>>>> DEBUG: WIRE: [19.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))

>>>> -> [0]
>>>> DEBUG: WIRE: [19.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.osgi.service.event)(version>=1.1.0)(!(version>=2.0.0)))

>>>> -> [9.0]
>>>> DEBUG: WIRE: [19.0] osgi.wiring.package; 
>>>> (&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))

>>>> -> [17.0]
>>>> Registering Util Object!
>>>> DEBUG: Bundle ch.qos.logback.classic [3] logback.groovy not found 
>>>> by ch.qos.logback.classic [3]
>>>> DEBUG: Bundle ch.qos.logback.classic [3] logback-test.xml not found 
>>>> by ch.qos.logback.classic [3]
>>>> DEBUG: Bundle ch.qos.logback.classic [3] logback.xml not found by 
>>>> ch.qos.logback.classic [3]
>>>> ____________________________
>>>> Welcome to Apache Felix Gogo
>>>>
>>>> g!
>>>>
>>>> And yes the package is in the bundle which should start everything. 
>>>> I just pushed the current code: https://github.com/olze/SoundBox
>>>> On checkout just use --recursive for the Core-Library, thats the 
>>>> only dependency which is neccessary.
>>>>
>>>> Thanks in advance!
>>>>
>>>>
>>>>
>>>> Am 05.09.2012 22:56, schrieb Richard S. Hall:
>>>>> Set the framework log level to 4 in conf/config.properties...it 
>>>>> will print other errors encountered. It is possible that there is 
>>>>> some other conflict happening before that prevents it from finding 
>>>>> a solution.
>>>>>
>>>>> -> richard
>>>>>
>>>>> On 9/5/12 16:14 , Oliver Zemann wrote:
>>>>>> I have a project with some bundles. When i start it i get:
>>>>>>
>>>>>> C:\Users\oli\Desktop\felix-framework-4.0.3>java -jar bin\felix.jar
>>>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>>>> : Enabling SLF4J API support.
>>>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>>>> : Enabling Jakarta Commons Logging API support.
>>>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>>>> : Enabling Log4J API support.
>>>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>>>> : Enabling Avalon Logger API support.
>>>>>> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator]

>>>>>> : Enabling JULI Logger API support.
>>>>>> ERROR: Bundle org.dyndns.soundi.SoundBox [18] Error starting 
>>>>>> file:/C:/Users/oli/Desktop/felix-framework-4.0.3/bundle/SoundBox-0.0.1-SNAPSHOT.jar

>>>>>> (org.osgi.framework.BundleException: Unresolved constraint in 
>>>>>> bundle org.
>>>>>> ndns.soundi.SoundBox [18]: Unable to resolve 18.0: missing 
>>>>>> requirement [18.0] osgi.wiring.package; 
>>>>>> (osgi.wiring.package=org.dyndns.soundi.soundbox))
>>>>>> org.osgi.framework.BundleException: Unresolved constraint in 
>>>>>> bundle org.dyndns.soundi.SoundBox [18]: Unable to resolve 18.0: 
>>>>>> missing requirement [18.0] osgi.wiring.package; 
>>>>>> (osgi.wiring.package=org.dyndns.soundi.soundb
>>>>>> )
>>>>>>         at 
>>>>>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)

>>>>>>
>>>>>>         at 
>>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>>>>>>         at 
>>>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)

>>>>>>
>>>>>>         at 
>>>>>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>>>>>>         at java.lang.Thread.run(Unknown Source)
>>>>>> Registering Util Object!
>>>>>> ____________________________
>>>>>> Welcome to Apache Felix Gogo
>>>>>>
>>>>>> g!
>>>>>>
>>>>>> I checked the export dialog in netbeans which exports 
>>>>>> "org.dyndns.soundi.soundbox" - so it should find itself. I am 
>>>>>> really confused whats wrong now. It compiles fine without any 
>>>>>> problems.
>>>>>>
>>>>>> ---------------------------------------------------------------------

>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message