Put that on your service reference

On Apr 15, 2010, at 2:59 PM, Jason Chaffee wrote:

> Where should I put this configuration at?  I followed the jaxrs examples
> and it does not have spring <osgi:service>.  It only has the
> <jaxrs:server> from the cxf.
> 
> -----Original Message-----
> From: Johan Edstrom [mailto:[email protected]] On Behalf Of Johan
> Edstrom
> Sent: Thursday, April 15, 2010 1:52 PM
> To: [email protected]
> Subject: Re: Another Spring issue on servicemix 4 and use of Proxies
> 
> Are you consuming a service?
> 
> Try punting the classloading to the service provider
> 
> context-class-loader="service-provider"
> 
> On Apr 15, 2010, at 2:28 PM, Jason Chaffee wrote:
> 
>> I am also seeing issues when spring tries to create a proxy.  Does
>> anyone know how to solve this?
>> 
>> 
>> 
>> Initialization of bean failed; nested exception is
>> java.lang.NoClassDefFoundError: Could not initialize class $Proxy121
>> 
>> 
>> 
>> It really seems the most basic use cases of spring are not working in
>> servicemix 4.  It is very frustrating.  I got them to work in another
>> OSGI env and they worked in servcicemix 3, but not with OSGI and
>> servicemix 4.
>> 
> 
> Johan Edstrom
> 
> [email protected]
> 
> They that can give up essential liberty to purchase a little temporary
> safety, deserve neither liberty nor safety.
> 
> Benjamin Franklin, Historical Review of Pennsylvania, 1759
> 
> 
> 
> 
> 

Johan Edstrom

[email protected]

They that can give up essential liberty to purchase a little temporary safety, 
deserve neither liberty nor safety.

Benjamin Franklin, Historical Review of Pennsylvania, 1759





Reply via email to