tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amber <ambe...@hotmail.fr>
Subject Re: OpenEJB testing REST services
Date Tue, 15 Apr 2014 16:24:43 GMT
I don't understand : If i follow the sample "rest-xml-json"  I need to use
openejb-cxf-rs to test REST services ?

note : getContext() is only a getter on the Context object.






Romain Manni-Bucau wrote
> right jboss deps will bring comons-logging and potentially some
> overrides of cxf (pretty sure). If you don't need openejb jaxrs
> integration remove openejb-cxf-rs dependency. WHat's getContext?
> ejbcontainer.getCOntext()? can be jboss EJBContainer maybe depending
> your deps.
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
> 
> 
> 
> 2014-04-15 15:52 GMT+02:00 amber &lt;

> amber63@

> &gt;:
>> Hi Romain,
>>
>> how to check every JAR ?? (you talk about
>> https://cxf.apache.org/docs/debugging-and-logging.html)
>>
>> Anyway I'v tried to put this file put same error.
>>
>>
>> Also, I've tried to put my own pom settings content into the sample to
>> identify which dependency cause the error : I've isolated the
>> "boss-as-ejb-client-bom" dependency as source of errors....
>>
>> Now, into the sample, if I set it into  a 
> <dependencyManagement>
>  section I
>> got the error :
>>
>>
>> If I move it into the  
> <dependecies>
>  section all is fine...
>>
>>
>> And now if I remove the jboss client bom from my entreprise solution 
>> where
>> I've integrate the sample "rest-xml-json" :
>> - running junit from Eclipse works fine onto the rest-xml-json test
>> - running junit from Eclipse on each other tests works fine
>> - running the whole unit tests (include the rest-xml-json) give me random
>> errors :
>>
>>
>>
>> The code where the null is the initialisation of openEJB :
>>
>>
>>
>> The others tests uses OpnEJB to test EJBs, may be it 's interfering with
>> jax
>> rs tests ? I 'am using jdk 1.6 (so Jersey REST)
>>
>> thx!
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/OpenEJB-testing-REST-services-tp4668791p4668796.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.





--
View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-testing-REST-services-tp4668791p4668800.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message