[Cosmo] REPORT not supported by Servlet API?
br at osafoundation.org
Fri Dec 30 09:51:52 PST 2005
Sadly there is no stack trace, someone must gobble it up.
I'll try downloading the jackrabbit stuff and stepping through that.
On Dec 30, 2005, at 12:39 PM, Brian Moseley wrote:
> On 12/30/05, Bobby Rullo <br at osafoundation.org> wrote:
>> I've been attempting to test my REPORT client code against cosmo and
>> have been running into some trouble. I ended up putting Cosmo in
>> Debug mode and stepped through what happens when a REPORT request
>> comes in.
>> It parses my calender-query report ok, and executes the query just
>> fine (line 176 of QueryReport.java) but then it calls super.toXML()
>> and a NullPointerException happens (in jackrabbit code somewhere) and
>> I get this back from the server:
>>> HTTP/1.1 501 Method REPORT is not defined in RFC 2068 and is not
>>> supported by the Servlet API
>> I'm not sure what the problem is, but my spidey-sense (i.e. a wild
>> guess) is telling me that perhaps the latest Jackrabbit server stuff
>> is not in the maven repo?
> the 501 is probably a red herring. i suspect tomcat is returning that
> in response to catching your NPE.
> if you can send me the stack trace for the NPE i can track it down for
> you. or you can check out server/jackrabbit and have a look through
> the contrib/jcr-server code yourself.
More information about the Cosmo