Hello again David,

I'm sorry, my previous post wasn't accepted by nabble at first so I resend
it yesterday.
But I guess you read the previous one and I've just seen your reply.

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. 

But I'll try to run it with plain Felix or Equinox.

Thanks.


David Bosschaert wrote:
> 
> Hi Ilker,
> 
> When you mailed this out earlier, I asked you whether you were able to
> get this demo to work *outside of* Karaf, just using plain Equinox or
> Felix.
> Please let us know whether that works for you as it helps isolating
> whether this is an issue with Karaf/DOSGi or for just DOSGi on its
> own...
> 
> Thanks,
> 
> David
> 
> On 21 April 2010 11:22, 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-tp28287993p28287993.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-tp28287993p28325027.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to