felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt Rodehav <be...@rodehav.com>
Subject Re: iPOJO Webconsole Plugins 1.7.0 requires org.json
Date Thu, 30 May 2013 07:16:44 GMT
I ended up using Geronimo's json which solved that problem. However, I
still can't get it to work. Now I get

ERROR: Bundle org.apache.felix.ipojo.webconsole [98] Error starting
mvn:org.apache.felix/org.apache.felix.ipojo.webconsole/1.7.0
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.ipojo.webconsole [98]: Unable to resolve 98.0: missing
requirement [98.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0))))org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.felix.ipojo.webconsole [98]:
Unable to resolve 98.0: missing requirement [98.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0)))
        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(Thread.java:662)

I use Karaf 2.3.1 which comes with the bundle
"org.apache.karaf.webconsole.console"
- which I have always used. It exports the package
org.apache.felix.webconsole version 4.0.0.

Looking at the stacktrace it seems like the new iPojo web console plugin
does not work with version 4.0.0.  How did this happen? I guess this means
I cannot use the new iPojo version with Karaf 2.3.1. Or am I missing
something?

/Bengt



2013/5/29 Bengt Rodehav <bengt@rodehav.com>

> Thanks Clement,
>
> /Bengt
>
>
> 2013/5/29 Clement Escoffier <clement.escoffier@gmail.com>
>
>> Hi,
>>
>> You can use this bundle:
>>
>> http://maven.ow2.org/maven2/org/json/org.ow2.chameleon.commons.json/20090911-0002/org.ow2.chameleon.commons.json-20090911-0002.jar
>>
>> Regards,
>>
>> Clement
>>
>>
>> On 29 mai 2013, at 15:57, Bengt Rodehav <bengt@rodehav.com> wrote:
>>
>> > I just upgraded to the latest (recently released) iPOJO bundles. After
>> the
>> > upgrade I get the following exception:
>> >
>> > java.lang.Exception: Could not start bundle
>> > mvn:org.apache.felix/org.apache.felix.ipojo.webconsole/1.7.0 in
>> feature(s)
>> > seco-webconsole-1.7-SNAPSHOT: Unresolved constraint in bundle
>> > org.apache.felix.ipojo.webconsole [98]: Unable to resolve 98.0: missing
>> > requirement [98.0] osgi.wiring.package; (osgi.wiring.package=org.json)
>> > at
>> >
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:482)[40:org.apache.karaf.features.core:2.3.1]
>> > at
>> >
>> org.apache.karaf.features.internal.FeaturesServiceImpl$2.run(FeaturesServiceImpl.java:1150)[40:org.apache.karaf.features.core:2.3.1]
>> > Caused by: org.osgi.framework.BundleException: Unresolved constraint in
>> > bundle org.apache.felix.ipojo.webconsole [98]: Unable to resolve 98.0:
>> > missing requirement [98.0] osgi.wiring.package;
>> > (osgi.wiring.package=org.json)
>> > at
>> >
>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)[org.apache.felix.framework-4.0.3.jar:]
>> > at
>> >
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1868)[org.apache.felix.framework-4.0.3.jar:]
>> > at
>> >
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.3.jar:]
>> > at
>> >
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)[org.apache.felix.framework-4.0.3.jar:]
>> > at
>> >
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:479)[40:org.apache.karaf.features.core:2.3.1]
>> > ... 1 more
>> >
>> > I'm running under Karaf 2.3.1.
>> >
>> > Is this a newly added dependency for the iPOJO web console? What bundle
>> do
>> > you recommend me to install to satisfy this dependency?
>> >
>> > /Bengt
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message