Re: TomEE 1.5 pom.xml dependencies

2012-10-16 Thread Todd Deshane
Looks like an issue with the snapshot. 4.5.0 works fine. On Tue, Oct 16, 2012 at 10:56 AM, Todd Deshane wrote: > Yes. > > See: > https://github.com/deshantm/rest-testing/blob/master/ex03_1/src/main/java/com/restfully/shop/services/CustomerResource.java > > On Tue, Oct 16

Re: TomEE 1.5 pom.xml dependencies

2012-10-16 Thread Todd Deshane
; *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > >

Re: TomEE 1.5 pom.xml dependencies

2012-10-16 Thread Todd Deshane
om/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > > 2012/10/16 Todd Deshane > >> Downloading: >> http://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-cxf-rs/4.1.0-SNAPSHOT/maven-meta

Re: TomEE 1.5 pom.xml dependencies

2012-10-16 Thread Todd Deshane
napshot repo > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau*

TomEE 1.5 pom.xml dependencies

2012-10-16 Thread Todd Deshane
I have an example that worked on TomEE plus pre 1.0 and I'm trying to update it to work on TomEE JAX-RS 1.5 https://github.com/deshantm/rest-testing/blob/master/ex03_1/ I'm also tried the openejb example: http://openejb.apache.org/examples-trunk/rest-example/README.html Both give missing depend

Re: TomEE Plus (the hard way)

2012-10-16 Thread Todd Deshane
> > Not sure if integrating openwebbeans in t6+some cxf cdi integration (look > openejb-cxf-rs invoker/perrequestprovider) isnt easier today. > > - Romain > Le 16 oct. 2012 03:38, "David Blevins" a écrit : > >> >> On Oct 15, 2012, at 6:14 AM, Todd Deshane &

TomEE Plus (the hard way)

2012-10-15 Thread Todd Deshane
Hi All, In our environment (at least for now), we need to run Tomcat 6.0.35 and add CXF support to our API and apps manually. Is there any known issues with this configuration? Is there anything I have to do on the tomcat configuration side to get it to work with CXF? (In fact, the SpringSecurity

Re: Subresource Locators

2012-08-24 Thread Todd Deshane
Works now. Thanks, Todd On Thu, Aug 23, 2012 at 2:35 PM, Romain Manni-Bucau wrote: > should be fine on trunk > > can you update please? > > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/23

Subresource Locators

2012-08-23 Thread Todd Deshane
ex04_3 implements subresource locators (for full dynamic dispatching) [1] The basic idea is that a HTTP method request to a URI such as /customers/{database}-db (where database could be europe or northamerica, etc.). On the POST (test code [2], but updated to point to port and the right URI based

Re: HTTP Method Extensions

2012-08-23 Thread Todd Deshane
Thanks! Works now. On Wed, Aug 22, 2012 at 2:46 PM, Romain Manni-Bucau wrote: > fixed on trunk, was bug :(: > https://issues.apache.org/jira/browse/TOMEE-401 > > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > >

Re: HTTP Method Extensions

2012-08-22 Thread Todd Deshane
ibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/22 Todd Deshane > >> Example ex04_1 implements a PATCH HTTP method extension [1], however, >> the findTargetMethod is not finding it. "HTTP Method: UNSUPPORTED"

HTTP Method Extensions

2012-08-22 Thread Todd Deshane
Example ex04_1 implements a PATCH HTTP method extension [1], however, the findTargetMethod is not finding it. "HTTP Method: UNSUPPORTED" is being thrown by TomEE. Aug 22, 2012 1:06:38 PM org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod WARNING: No operation matching request path "/workbook-

Re: IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-21 Thread Todd Deshane
ok to > http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/rest-example-with-application/ > > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/21 Todd Deshane > >> On Tue, Aug 21, 2012 at 8

Re: IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-21 Thread Todd Deshane
On Tue, Aug 21, 2012 at 8:41 AM, Romain Manni-Bucau wrote: > location? > I do mean location, location is in the HTTP response header. > id you mean? The id is included in that path as well yes. > you can probably activate cxf logs adding *faultStackTraceEnabled=true* > * > * > you should be ab

Re: IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-21 Thread Todd Deshane
ni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/20 Todd Deshane > >> closer, new error: >> >> SEVERE: Error deploying web application archive >> C:\apache-tomee-plus-1.0.0\webapps\workbook-ex03_1-1.0.war >> java.lang.

Re: IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-20 Thread Todd Deshane
> > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/20 Todd Deshane > >> When you say you simply removed the web.xml and dependencies, how do >> you not get: >> >> [ERROR] Failed to execu

Re: IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-20 Thread Todd Deshane
u wrote: > yes it is linked but it seems to work fine on the snapshot, > > i simply removed the web.xml + dependencies > > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/8/20 Todd Deshane > >> Hi

IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

2012-08-20 Thread Todd Deshane
Hi All, I'm testing the examples from the O'Reilly book "RESTful Java with JAX-RS" on TomEE Plus. The examples were written for Resteasy, but I'm following the guidelines for converting to CXF. The error is: SEVERE: Error deploying web application archive C:\tomee\webapps\workbook-ex03_1-1.0.war