hi,
    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 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 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
 Tomcat/5.5.27</h3></body></html>"
 
My code is "
        HttpClient client = new HttpClient(connectionManager);
        Credentials creds = new UsernamePasswordCredentials("", "");
        client.getState().setCredentials(AuthScope.ANY, creds);
        client.setHostConfiguration(hostConfig);
        SearchInfo sInfo = new SearchInfo("en", Namespace.EMPTY_NAMESPACE, 
"test");
        SearchMethod searchMethod = new 
SearchMethod("http://192.168.1.224:8090/jackrabbit/repository/default/XDICT.lnk";,
 sInfo);
        client.executeMethod(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?

    Thanks


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/

Reply via email to