Hi Sergey, 

At the beginning, I use an explicit Apache CXF address. After I used HTTP 
service context for registering the web services. But I still have the same 
problem

You find below the start method of my class Activator of the web services 
bundle:

        public void start(BundleContext context) throws Exception {
                Dictionary props = new Hashtable();
                bundleContext = context;

                props.put("service.exported.interfaces", "*");
                props.put("service.exported.configs", "org.apache.cxf.ws");

                props.put("org.apache.cxf.ws.httpservice.context", 
"/wspartners");
        
        
        registration = 
context.registerService(WS_DeviceManager.class.getName(), new DeviceManager(), 
props);

                
        } 


I use maven pax plugin to launch pax runner which the configuration belows

<plugin>
                <groupId>org.ops4j</groupId>
                <artifactId>maven-pax-plugin</artifactId>
                <version>1.4</version>
                <configuration>
                  <profiles>compendium,log,war,obr,ds,config,event</profiles>
                           <runner>1.3.0</runner>
                           <noDependencies>true</noDependencies>
                           <args>file:src/test/resources/pax.args</args>
                           
<deployURLs>mvn:org.ops4j.pax.confman/pax-confman-propsloader/0....@6,
                                           
mvn:org.apache.cxf.dosgi/cxf-dosgi-ri-singlebundle-distribution/1.1  
                           </deployURLs>
            </configuration>
</plugin>


I hope that seems more clear for you.

Thanks for your help.


 
Ilyass AHRAZEM 
Ingénieur d'Etude 
Téléphone : 0492945211
[email protected] 
Groupe SILICOMP - Filiale du Groupe France Telecom 
www.orange-business.com 


-----Message d'origine-----
De : Sergey Beryozkin [mailto:[email protected]] 
Envoyé : mercredi 3 février 2010 17:28
À : [email protected]
Objet : Re: Problem Apache CXF DOSGi - Pax Web Extender

Hi

How do you configure your DOSGI services ? You probably do not need to use an 
explicit  http address but rather use an http context property to ensure no 
conflicts occur...

cheers, Sergey

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 03, 2010 9:50 AM
Subject: Problem Apache CXF DOSGi - Pax Web Extender



I am a user of Apache CXF and I am new in the area,

I have a big problem of compatibility between Pax Web Extender Apache CXF 
distribution.

I'm using Apache Felix as the OSGi framework version 2.0, pax-runner version 
1.3.0, and Maven to compile my project and also to 
launch pax-runner.

First I want to use Pax Web Extender Module 
(org.ops4j.pax.web/pax-web-extender-war/0.7.2) to deploy my application "war". 
And 
secondly, I use org.apache.cxf.dosgi/cxf-dosgi-ri-singlebundle-distribution/1.1 
to manage my web services.

When I deploy the two modules, the Jetty web server stops responding. But when 
I run one of two modules alone, it works well.

Have you already had this problem? and how to resolve it

Thank you very much

Cordialement,
Ilyass AHRAZEM
Ingénieur d'Etude
Téléphone : 0492945211
[email protected]
Groupe SILICOMP - Filiale du Groupe France Telecom
www.orange-business.com <http://www.orange-business.com/>



*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************



*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************

Reply via email to