[jboss-dev] Why is Apache CXF Jaxrs in JBOSS?!?

Sergey Beryozkin sberyozk at redhat.com
Thu Jun 10 18:45:22 EDT 2010


Actually, I can see two more modules containing this dependency...
The actual META_INF entry might've been created during the assembly process, when all the META-INF entries (from all the strong dependencies) are copied.

Hmm... I've just done a clean rebuild and this entry is still there in the resulting jar, even though I do not see any cxf jaxrs dependencies, mvn dependency:tree does not show it either. I'll need to someone from the team

cheers, Sergey


----- Original Message -----
From: "Bill Burke" <bburke at redhat.com>
To: "JBoss.org development list" <jboss-development at lists.jboss.org>
Cc: "Sergey Beryozkin" <sberyozkin at gmail.com>
Sent: Thursday, June 10, 2010 11:03:27 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [jboss-dev] Why is Apache CXF Jaxrs in JBOSS?!?

Any reason for this within

jbossws-cxf-client.jar:
    META-INF/services/javax.ws.rs.ext.RuntimeDelegate


?

Sergey Beryozkin wrote:
> Hi Bill 
> 
> No problems at all, I'd be not happy at all too :-)
> I can see this dependency is coming from jbossws-cxf pom.xml but it is not used so 
> I've just removed it (with a heavy heart :-))
> 
> cheers, Sergey
> 
> ----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: "JBoss.org development list" <jboss-development at lists.jboss.org>
> Cc: "Sergey Beryozkin" <sberyozkin at gmail.com>
> Sent: Thursday, June 10, 2010 10:41:56 PM GMT +00:00 GMT Britain, Ireland, Portugal
> Subject: Re: [jboss-dev] Why is Apache CXF Jaxrs in JBOSS?!?
> 
> Apologies to you Sergey, its just a frustating day of trying to get 
> tests to run that used to be able to run...
> 
> 
> 
> Sergey Beryozkin wrote:
>> Hi Bill
>>
>> Since joining JBoss I haven's had the time to think/talk to anyone/do anything about bringing in CXF JAXRS, been too busy with my current assignments :-)
>>
>> Thanks for CC-ing me though :-)
>> As far as I'm concerned,  in JBoss I'm talking to you and Alessio.  
>>
>> Sergey
>> ----- Original Message -----
>> From: "Bill Burke" <bburke at redhat.com>
>> To: "JBoss.org development list" <jboss-development at lists.jboss.org>
>> Cc: "Sergey Beryozkin" <sberyozkin at gmail.com>
>> Sent: Thursday, June 10, 2010 10:21:05 PM GMT +00:00 GMT Britain, Ireland, Portugal
>> Subject: Re: [jboss-dev] Why is Apache CXF Jaxrs in JBOSS?!?
>>
>> i'm removing it from build.xml (or the assembly) (the jaxrs stuff)
>>
>>
>>
>> Bill Burke wrote:
>>> I'm getting this error when in my testing of Weld+Resteasy on AS6 trunk.
>>>
>>> Caused by: java.lang.ClassCastException: 
>>> org.apache.cxf.jaxrs.impl.RuntimeDelegateImpl cannot be cast to 
>>> org.jboss.resteasy.spi.ResteasyProviderFactory
>>> 	at 
>>> org.jboss.resteasy.spi.ResteasyProviderFactory.getInstance(ResteasyProviderFactory.java:333) 
>>> [:]
>>> 	at 
>>> org.jboss.resteasy.cdi.JaxrsInjectionTarget.getPropertyInjector(JaxrsInjectionTarget.java:85) 
>>> [:]
>>> 	at 
>>> org.jboss.resteasy.cdi.JaxrsInjectionTarget.inject(JaxrsInjectionTarget.java:42) 
>>> [:]
>>> 	at 
>>> org.jboss.weld.integration.ejb.SessionBeanInterceptor.postConstruct(SessionBeanInterceptor.java:97) 
>>> [:6.0.0.Beta11]
>>>
>>>
>>> We really need to stop doing stupid shit like this guys.  From OSGI team 
>>> bringing in a full instance of Jetty to Webservices guys bringing in 
>>> JAX-RS, its gotta stop...
>>>
>>> Bill
>>>
> 

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
jboss-development mailing list
jboss-development at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development


More information about the jboss-development mailing list