JOnAS 5.1 and DOSGi ?

Frederic Dang Tran <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
Hello:

I've developed a DOSGi client-server program running on Apache Felix 1.8 using Apache CXF DOSGi implementation.
My intent is  to host part of this  application on JOnAS 5.1(which seems to rely on Felix 1.8 currently ?).

Trying to install and start the CXF DOSGi on JOnAS 5.1.1 fails with an unresolved constraint:

-> ps
.....
[ 130] [Installed  ] [    1] Distributed OSGi Distribution Software Single-Bundle Distribution (1.1)
[ 131] [Active     ] [    1] osgi.cmpn (4.2.0.200908310645)
[ 135] [Resolved   ] [    1] Sun Microsystems' JDBC Driver for MySQL (5.1.11)
-> start 130
org.osgi.framework.BundleException: Unresolved constraint in bundle 130: package; (package=org.osgi.framework.hooks.service)


On a standalone Felix OSGi container, the org.osgi.framework.hooks.service package is exported by the org.apache.felix.framework bundle which seems no longer the case with JOnaS:

-> exports 0
org.apache.felix.framework [0] exports:
---------------------------------------
org.osgi.framework; version=1.4.0
org.osgi.service.packageadmin; version=1.2.0
org.osgi.service.startlevel; version=1.1.0
org.osgi.service.url; version=1.0.0
org.osgi.util.tracker; version=1.3.3
javax.accessibility; version=1.5.0
javax.activity; version=1.5.0
javax.imageio; version=1.5.0
.....

Any solution ?

Regards,

Frederic Dang Tran
Orange Labs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.