jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iqong ou <ouqion...@yahoo.com.cn>
Subject Several problems about WEBDAV for jackrabbit
Date Fri, 31 Jul 2009 02:38:30 GMT
    I am a new user for jackrabbit .  I  plan to use WEBDAV for jackrabbit,but I have
met some problem for WEBDAV , can anyone help me ?
    1. When i use the METHOD checkoutMethod , i met the following errors:
<html><head><title>Apache Tomcat/5.5.27 - Error report</title><style><!--H1
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 405 - </h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The specified HTTP method is not allowed for the requested resource ().</u></p><HR
size="1" noshade="noshade"><h3>Apache
My code is "
        HttpClient client = new HttpClient(connectionManager);
        Credentials creds = new UsernamePasswordCredentials("", "");
        client.getState().setCredentials(AuthScope.ANY, creds);
        SearchInfo sInfo = new SearchInfo("en", Namespace.EMPTY_NAMESPACE, "test");
        SearchMethod searchMethod = new SearchMethod("",
//        searchMethod.checkSuccess();"
The common method such as CopyMethod,PropFindMethod is right, and the method "CheckoutMethod"
has the same error as searchMethod . 
    2. I am using the SimpleLoginModule for SecurityManager, but the repo will be access
any user . If I want to  set  my ower user and password like slide , how can i do , how
to configure ,if it need my  owner code for jackrabbit server?


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