Pax Web Service requires that some bundle exports the
org.osgi.service.cm package  = Configuration Admin. You do not need an
implementation but you need a bundle to exports that package. You can
find a bundle that exports that package as either:
* as part of Felix implementation of config admin service:
http://repo2.maven.org/maven2/org/apache/felix/org.apache.felix.configadmin/1.0.10/org.apache.felix.configadmin-1.0.10.jar
* OSGi Alliance compendium bundle that you can find in
http://repository.ops4j.org/maven2/org/osgi/org.osgi.compendium (take
the version you want, but I suppose that
http://repository.ops4j.org/maven2/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar
will be just fine).

If you go for the second option then you will only be able to use the
configuration properties set via system properties as in your felix
config file. If you go for the first option you can then use the
configuration admin to set up pax web properties.

HTH,
Alin

On Mon, Feb 16, 2009 at 5:16 PM, Henri Gomez <[email protected]> wrote:
> Hi to all,
>
> I tried to use webconsole (1.2.2) with felix 1.4.1.
>
> I follow the documentation and grabbed pax runner 0.5.2 and tried to start it 
> :
>
> -> install file:bundle/pax-web-service-0.5.2.jar
> Bundle ID: 11
> -> start 11
> -> org.osgi.framework.BundleException: Unresolved constraint in bundle
> 11: package; 
> (&(package=org.osgi.service.cm)(version>=1.0.0)(!(version>=2.0.0)))
>
> I built the latest http-server from trunk :
>
> ->install file:bundle/org.apache.felix.http.jetty-0.9.0-SNAPSHOT.jar
> Bundle ID: 12
> ->start 12
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> 12: package; (&(package=org.osgi.service.log)(version>=1.3.0))
>
> Any idea what could be the problem ?
>
> Here is the felix config file :
>
> org.osgi.framework.storage=${felix.cache.rootdir}/cache
>
> felix.auto.start.1= \
>  file:bundle/org.apache.felix.shell-1.0.2.jar \
>  file:bundle/org.apache.felix.shell.tui-1.0.2.jar \
>  file:bundle/org.apache.felix.bundlerepository-1.2.1.jar
>
> felix.log.level=1
> org.osgi.service.http.port=8080
> osgi.shell.telnet=on
> obr.repository.url=http://felix.apache.org/obr/releases.xml
>
> # IP Address on which the remote shell is accessible (since 1.0.4).
> osgi.shell.telnet.ip=127.0.0.1
> # Port on which the remote shell is accessible.
> osgi.shell.telnet.port=6666
> # The maximum number of simultaneous connections.
> osgi.shell.telnet.maxconn=2
> osgi.shell.telnet.socketTimeout=0
>
>
> Regards
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://www.codedragons.com - New Energy for Projects - Great People
working on Great Projects at Great Places

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to