Did you get this issue resolved ?

I actually did a 'webapp' bundle deployment a few days ago, and it
worked fine in the end, the webapp bundle had only web.xml & beans.xml
(which you don't need for non-Spring case), CXF bundle and application
service bundle were loaded before...I used Require-Bundle instruction
to effectively import application service bundle a more preferred
Import-Package should do well too

Cheers, Sergey



On Fri, Jun 17, 2011 at 6:02 PM, Sergey Beryozkin <[email protected]> wrote:
> Hi
>
> On Fri, Jun 17, 2011 at 2:30 PM, Muller, Anthony <[email protected]> 
> wrote:
>> Hello,
>>
>> I put CXF 2.3.3 in an osgi bundle and I'm trying to use it from other 
>> "webapp" bundles.
>>
>> I'm using JAXRS to expose a REST webservice. It is configured thanks to 
>> CXFNonSpringJaxrsServlet. I define "jaxrs.serviceClasses" servlet param in 
>> the web.xml.
>>
>> My problem: at startup, CXF tries to load the service class and it failed 
>> (due to classloader isolation).
>>
>> How can I proceed to fix that? Is DOSGI the only alternative if I wish to 
>> share CXF between several "webapp" bundles?
>>
> Does your webabb bundle have Import-Package with a service class package ?
>
>
> Cheers, Sergey
>
>> Cheers,
>> Anthony
>>
>

Reply via email to