Hi, this is my first post, :)
I've a java application to connect to Jackrabbit that uses the WebDav
libraries. It worked using Jackrabbit but when tried with "Oak" (1.0.3) it
has stopped working.
Specifically i can connect to Oak, i receive a positive message, but when
trying to do the loging i receved the following exception:
/org.apache.jackrabbit.webdav.DavException: Method PROPFIND is not defined
in RFC 2068 and is not supported by the Servlet API
/
*Complete log of the exception:*
250 [main] INFO org.apache.commons.httpclient.auth.AuthChallengeProcessor -
basic authentication scheme selected
251 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - No
credentials available for BASIC 'Oak'@localhost:4502
251 [main] WARN org.apache.jackrabbit.spi2dav.RepositoryServiceImpl -
Authentication required to access repository descriptors
Missing implementation
javax.jcr.UnsupportedRepositoryOperationException: Missing implementation
at
org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:116)
at
org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:51)
at
org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:45)
at
org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.obtain(RepositoryServiceImpl.java:782)
at
org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.obtain(RepositoryServiceImpl.java:726)
at
org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.obtain(RepositoryServiceImpl.java:301)
at
org.apache.jackrabbit.jcr2spi.RepositoryImpl.login(RepositoryImpl.java:151)
at
it.deck47.consulting.CRXConnectorService.login(CRXConnectorService.java:104)
at
it.deck47.consulting.SessionManager.createSession(SessionManager.java:104)
at
it.deck47.consulting.SessionManager.getInstance(SessionManager.java:71)
at
it.deck47.consulting.ValidateAndCrx.enableSession(ValidateAndCrx.java:157)
at
it.deck47.consulting.ValidateAndCrx.checkAndWritePathName(ValidateAndCrx.java:225)
at
it.deck47.consulting.simulaChiamataLC_query.main(simulaChiamataLC_query.java:97)
Caused by: org.apache.jackrabbit.webdav.DavException: Method PROPFIND is not
defined in RFC 2068 and is not supported by the Servlet API
at
org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseException(DavMethodBase.java:162)
at
org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseBodyAsMultiStatus(DavMethodBase.java:91)
at
org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.obtain(RepositoryServiceImpl.java:754)
... 9 more
The connection parameter are right, i can connect via Curl and execute
commands (like create a node)
I was wondering if this version of oak comes without the implementation of
RepositoryService interface (the class RepositoryServiceImpl.java is
missing), whereas jackrabbit have already has the interface implemented.
I hope anybody can help me, thanks
--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/Exception-while-tryng-to-connect-to-Oak-via-WebDav-tp4661166.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.