Hi Charles, Since spring dm demo (http://cxf.apache.org/dosgi-spring-dm-demo-page.html) uses multi-bundle distribution I was trying to install it.
But I've tried single-bundle distribution already since it seems much easier. I've installed spring DM, osgi.cmpn and DOSGI Single-Bundle Distribution but I got an error after installing spring dm demo bundle: Cannot use Factory configuration for org.apache.felix.fileinstall requested by bundle mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-singlebundle-distribution/1.1 but belongs to mvn:org.apache.felix/org.apache.felix.fileinstall/2.0.8 ... Exception in thread "SpringOsgiExtenderThread-2" java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext Please note that although I got this error, my test bundle seems active but I can't reach web service. ... [79] [Active] [] [ ] [60] Distributed OSGi Distribution Software Single-Bundle Distribution (1.1) [80] [Active] [] [ ] [60] osgi.cmpn (4.2.0.200908310645) [81] [Active] [] [Started] [60] [springdmdemo] (0.1) ... Do you have any idea what's the problem? Thanks, regards Ilker cmoulliard wrote: > > Hi, > > It seems that the MANIFEST file of the multibundle-distribution is empty. > > You can use the following bundle to test DOSGI > > cxf-dosgi-ri-singlebundle-distribution > > but prior install the following one which is required > > osgi:install -s mvn:org.osgi/org.osgi.compendium/4.2.0 > > kind regards, > > Charles Moulliard > > Senior Enterprise Architect (J2EE, .NET, SOA) > Apache Camel Committer > > ******************************************************************* > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > > > On Thu, Apr 15, 2010 at 12:18 PM, olamalam > <[email protected]>wrote: > >> >> Hi to all, >> >> I have problems in installing cxf-dosgi-ri-multibundle-distribution to >> Karaf >> 1.4 to run spring dm demo. >> >> I couldn't install it with this command: >> osgi:install -s >> mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-multibundle-distribution/1.1 >> I found this dependency from: >> >> http://mvnrepository.com/artifact/org.apache.cxf.dosgi/cxf-dosgi-ri-multibundle-distribution/1.1 >> >> I also tried these commands: >> osgi:install -s mvn:org.apache.cxf/cxf-bundle-minimal/2.2.5 >> osgi:install -s mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-discovery-local/1.1 >> osgi:install -s mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-dsw-cxf/1.1 >> (http://cxf.apache.org/dosgi-releases.html) >> but cxf-bundle-minimal isn't installed due to: >> Unresolved constraint in bundle org.apache.cxf.bundle-minimal:package; >> (package=javax.wsdl.extensions.http) >> >> I searched for feature repository for >> cxf-dosgi-ri-multibundle-distribution >> but I couldn't find. >> >> Does anyone have any idea about how to install it? >> >> Thanks in advance >> Ilker >> -- >> View this message in context: >> http://old.nabble.com/How-to-install-cxf-dosgi-ri-multibundle-distribution-to-karaf-1.4-tp28253532p28253532.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > ----- > Charles Moulliard > SOA Architect > > My Blog : http://cmoulliard.blogspot.com/ > -- View this message in context: http://old.nabble.com/How-to-install-cxf-dosgi-ri-multibundle-distribution-to-karaf-1.4-tp28253532p28255013.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
