jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imadhusudhanan <madhusudhana...@gmail.com>
Subject Exception while setting property ..
Date Thu, 26 Feb 2009 19:43:52 GMT
Dear All,

    I use the following code to set the property for a Node, 
                        DavResourceLocator resourceLocator = locator.getFactory().createResourceLocator(locator.getPrefix(),
locator.getWorkspacePath(), resourceURL, false);
                        DavResource childRes = factory.createResource(resourceLocator, session);
                        System.out.println("Resouce Type in getDOcsMemebers >>> "+resourceType);
                        if(resourceType.equals("folder")) {
                            childRes.setProperty(new ResourceType(ResourceType.COLLECTION));
                        } 
                        childNodes.add(childRes);

    I get the following exception while setting the property. I m using jackrabbit-webdav-1.4.jar
and its dependencies. The test is performed in Linux Cadaver client. Pls help.
    
org.apache.jackrabbit.webdav.DavException: Internal Server Error|
[01:11:33:978]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.simple.DavResourceImpl.alterProperty(DavResourceImpl.java:410)|
[01:11:33:978]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.simple.DavResourceImpl.setProperty(DavResourceImpl.java:381)|
[01:11:33:979]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.simple.DavResourceImpl.getDocMembers(DavResourceImpl.java:604)|
[01:11:33:979]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doPropFind(AbstractWebdavServlet.java:475)|
[01:11:33:979]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:249)|
[01:11:33:979]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:212)|
[01:11:33:979]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)|
[01:11:33:980]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)|
[01:11:33:980]|[02-27-2009]|[SYSOUT]|[INFO]|[15]|:      at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
Mime
View raw message