jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niu, Xuetao" <Xuetao....@fiserv.com>
Subject RE: "Bad Request" exception using DavEx
Date Wed, 17 Mar 2010 10:42:23 GMT

Anybody has an idea?

-----Original Message-----
From: Niu, Xuetao
Sent: Tue 3/16/2010 5:58 PM
To: users@jackrabbit.apache.org
Subject: "Bad Request" exception using DavEx
 
Hello,

 

I am using DavEx to remotely connecting to a repository at
http://localhost:8080/jackrabbit-webapp-2.0.0/server which works in web
browser but not with JCR API

 

When I call Session.save(), I got the "Bad Request" exception, but if I
use a local repository impl, like TransientRepository, everything works
fine. Could you guys help me out?

 

Caused by: javax.jcr.RepositoryException: Bad Request

                at
org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConve
rter.java:113)

                at
org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConve
rter.java:49)

                at
org.apache.jackrabbit.spi2davex.RepositoryServiceImpl$BatchImpl.start(Re
positoryServiceImpl.java:457)

                at
org.apache.jackrabbit.spi2davex.RepositoryServiceImpl$BatchImpl.access$2
00(RepositoryServiceImpl.java:399)

                at
org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.submit(RepositoryS
erviceImpl.java:304)

                at
org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.exec
ute(WorkspaceManager.java:830)

                at
org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.acce
ss$500(WorkspaceManager.java:797)

                at
org.apache.jackrabbit.jcr2spi.WorkspaceManager.execute(WorkspaceManager.
java:594)

                at
org.apache.jackrabbit.jcr2spi.state.SessionItemStateManager.save(Session
ItemStateManager.java:139)

                at
org.apache.jackrabbit.jcr2spi.ItemImpl.save(ItemImpl.java:246)

                at
org.apache.jackrabbit.jcr2spi.SessionImpl.save(SessionImpl.java:328)

                at
com.fiserv.repository.jcr.JCRUtils.createRepositoryStructure(JCRUtils.ja
va:196)

                ... 51 more

Caused by: org.apache.jackrabbit.webdav.DavException: Bad Request

                at
org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseExc
eption(DavMethodBase.java:172)

                at
org.apache.jackrabbit.webdav.client.methods.DavMethodBase.checkSuccess(D
avMethodBase.java:181)

                at
org.apache.jackrabbit.spi2davex.RepositoryServiceImpl$BatchImpl.start(Re
positoryServiceImpl.java:453)

                ... 60 more

 

Thanks in advance!

Xuetao

 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message