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 <[email protected]>: > 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.
