Bug 1034539 - WebDAV not working
Summary: WebDAV not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: REST-API
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.3
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 04:37 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-03 22:16:16 UTC


Attachments (Terms of Use)

Description Matthew Casperson 2013-11-26 04:37:28 UTC
Exception is being thrown:

javax.xml.bind.MarshalException
 - with linked exception:
[com.sun.istack.SAXException2: class net.java.dev.webdav.jaxrs.xml.properties.ResourceType nor any of its super class is known to this context.
javax.xml.bind.JAXBException: class net.java.dev.webdav.jaxrs.xml.properties.ResourceType nor any of its super class is known to this context.]

Comment 1 Matthew Casperson 2013-11-26 04:38:13 UTC
The fix is to manually register the @Provider win web.xml with

<context-param>
  <param-name>resteasy.providers</param-name>
  <param-value>net.java.dev.webdav.jaxrs.xml.WebDavContextResolver</param-value>
</context-param>

Comment 2 Matthew Casperson 2013-11-26 04:38:47 UTC
The fix is on the dev server.

Comment 3 Lee Newson 2013-11-26 05:07:28 UTC
Verified that WebDAV now works.

Just a minor change to this however, it's now configured in the JaxRsActivator like the rest of the providers/interceptors just so we are using a consistent method of defining RESTEasy providers, interceptors, etc...


Note You need to log in before you can comment on or make changes to this bug.