Hi David, No, I haven't tried that. But even if it works with plain Felix or Equinox I have to run it with karaf 1.4.
Thanks Ilker David Bosschaert wrote: > > Hi Ilker, > > Just wondering are you getting it to work outside of Karaf, just with > plain Felix or Equinox? > > David > > On 19 April 2010 10:42, olamalam <[email protected]> wrote: >> >> Hi to all, >> >> I'm trying to run Spring Dm demo with karaf 1.4 for a couple of days but >> I >> still couldn't manage it. Please help me! >> >> As http://cxf.apache.org/dosgi-spring-dm-demo-page.html suggests >> CXF/DOSGi >> multi bundle distribution I tried to install multi-bundle distro by >> following: >> http://cxf.apache.org/dosgi-multi-bundle-setup.html >> >> I've appended those lines to etc\config.properties file like: >> ... >> org.xml.sax, \ >> org.xml.sax.ext, \ >> org.xml.sax.helpers >> >> >> org.ops4j.pax.web.session.timeout=30 >> org.osgi.framework.startlevel.beginning=81 >> felix.auto.start.50=http://repo2.maven.org/maven2/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar >> >> felix.auto.start.51=file:C:/apache-cxf-dosgi-ri-1.1/dosgi_bundles/geronimo-annotation_1.0_spec-1.1.1.jar >> felix.auto.start.52=file:C:/apache-cxf-dosgi-ri-1.1/dosgi_bundles/geronimo-activation_1.1_spec-1.0.2.jar >> felix.auto.start.53=file:C:/apache-cxf-dosgi-ri-1.1/dosgi_bundles/geronimo-javamail_1.4_spec-1.2.jar >> ... >> >> But when I start karaf and check the bundle list I couldn't see the >> necessary bundles installed. >> >> Then I tried installing single-bundle distro which was successful this >> time! >> I run these commands: >> osgi:install -s >> mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-singlebundle-distribution/1.1 >> osgi:install -s mvn:org.osgi/org.osgi.compendium/4.2.0 >> and could saw these 2 bundles are installed and their status are active. >> >> I saw these lines on the karaf log: >> >> Application context successfully refreshed >> (OsgiBundleXmlApplicationContext(bundle=com.aspone.trh.springdm-demo, >> config=osgibundle:/META-INF/spring/*.xml)) >> Defaulting to pojo configuration type >> Using a default address : >> http://localhost:9000/com/aspone/trh/springdmdemo/ExampleService >> Creating a com.aspone.trh.springdmdemo.ExampleService endpoint from CXF >> PublishHook, address is >> http://localhost:9000/com/aspone/trh/springdmdemo/ExampleService >> Could not find intent map file /OSGI-INF/cxf/intents/intent-map.xml >> Injected intents: {} >> >> But when I hit: >> http://localhost:9000/com/aspone/trh/springdmdemo/ExampleService?wsdl >> I get http 404 error. >> Probably the problem is about "Could not find intent map file >> /OSGI-INF/cxf/intents/intent-map.xml" >> >> Please note that my spring context file is like: >> ... >> <osgi:service interface="com.aspone.trh.springdmdemo.ExampleService"> >> <osgi:service-properties> >> <entry key="osgi.remote.interfaces" value="*" /> >> </osgi:service-properties> >> <bean >> class="com.aspone.trh.springdmdemo.internal.ExampleServiceImpl" /> >> </osgi:service> >> ... >> >> Can anybody see what I did wrong? >> >> Thanks, regards >> Ilker >> >> -- >> View this message in context: >> http://old.nabble.com/DOSGI-Spring-DM-demo-not-working-either-with-multi-bundle-or-single-bundle-distro-tp28287633p28287633.html >> Sent from the cxf-user mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://old.nabble.com/DOSGI-Spring-DM-demo-not-working-either-with-multi-bundle-or-single-bundle-distro-tp28287633p28324996.html Sent from the cxf-user mailing list archive at Nabble.com.
