Re: InvocationTargetException with RESTful Java book example

2012-10-16 Thread Sergey Beryozkin
web.xml in this example is missing CXFServlet /* Note that the test is also may not be robust enough because it does not wait till the endpoint is guaranteed to have started - add some code there which polls the endpoint for WADL for 10 secs or so, usi

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Sergey Beryozkin
I'll have a look tomorrow, saw the same issue with Jetty, something to do with the setup Thanks, SErgey On 15/10/12 20:08, Todd Deshane wrote: I've updated the web.xml and pom.xml to use Spring and it seems to be at least calling CXF now, but with the following error: Also I uploaded the cod

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Todd Deshane
I've updated the web.xml and pom.xml to use Spring and it seems to be at least calling CXF now, but with the following error: Also I uploaded the code to: https://github.com/deshantm/rest-testing/tree/master/ex03_1 2012-10-15 15:01:06,376 [main] INFO org.apache.catalina.core.AprLifecycleListener

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Todd Deshane
On Mon, Oct 15, 2012 at 8:53 AM, Sergey Beryozkin wrote: > Can you experiment with setting a context name to something simpler ? I tried simply ex03 for the name and it added -1.0 for the version, but nothing seemed any different. > It can be Tomcat mishandling 'workbook-ex03_1-1.0'. As I said,

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Sergey Beryozkin
On 15/10/12 13:49, Todd Deshane wrote: On Mon, Oct 15, 2012 at 8:32 AM, Sergey Beryozkin wrote: On 15/10/12 13:25, Todd Deshane wrote: On Mon, Oct 15, 2012 at 8:07 AM, Sergey Beryozkin wrote: On 15/10/12 12:52, Todd Deshane wrote: On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin wrote:

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Todd Deshane
On Mon, Oct 15, 2012 at 8:32 AM, Sergey Beryozkin wrote: > On 15/10/12 13:25, Todd Deshane wrote: >> >> On Mon, Oct 15, 2012 at 8:07 AM, Sergey Beryozkin >> wrote: >>> >>> On 15/10/12 12:52, Todd Deshane wrote: On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin wrote: >

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Sergey Beryozkin
On 15/10/12 13:25, Todd Deshane wrote: On Mon, Oct 15, 2012 at 8:07 AM, Sergey Beryozkin wrote: On 15/10/12 12:52, Todd Deshane wrote: On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin wrote: Hi On 12/10/12 17:01, Todd Deshane wrote: Hi, I'm trying to test an example from the RESTful J

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Todd Deshane
On Mon, Oct 15, 2012 at 8:07 AM, Sergey Beryozkin wrote: > On 15/10/12 12:52, Todd Deshane wrote: >> >> On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin >> wrote: >>> >>> Hi >>> >>> On 12/10/12 17:01, Todd Deshane wrote: Hi, I'm trying to test an example from the RESTful

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Sergey Beryozkin
On 15/10/12 12:52, Todd Deshane wrote: On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin wrote: Hi On 12/10/12 17:01, Todd Deshane wrote: Hi, I'm trying to test an example from the RESTful Java book on CXF 2.7.0 The code worked on TomEE fine, but on CXF I am getting the following exception

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Todd Deshane
On Mon, Oct 15, 2012 at 4:54 AM, Sergey Beryozkin wrote: > Hi > > On 12/10/12 17:01, Todd Deshane wrote: >> >> Hi, >> >> I'm trying to test an example from the RESTful Java book on CXF 2.7.0 >> >> The code worked on TomEE fine, but on CXF I am getting the following >> exception. >> >> (The JAXRSSp

Re: InvocationTargetException with RESTful Java book example

2012-10-15 Thread Sergey Beryozkin
Hi On 12/10/12 17:01, Todd Deshane wrote: Hi, I'm trying to test an example from the RESTful Java book on CXF 2.7.0 The code worked on TomEE fine, but on CXF I am getting the following exception. (The JAXRSSpringSecurity sample from CXF runs fine.) Any suggestions? I can only think of CXF 2

Re: InvocationTargetException with RESTful Java book example

2012-10-12 Thread Todd Deshane
I left out one detail. I'm using Tomcat 6.0.35 Thanks, Todd On Fri, Oct 12, 2012 at 12:01 PM, Todd Deshane wrote: > Hi, > > I'm trying to test an example from the RESTful Java book on CXF 2.7.0 > > The code worked on TomEE fine, but on CXF I am getting the following > exception. > > (The JAXRSS