List Info

Thread: WebdavResource(HttpsURL)?




WebdavResource(HttpsURL)?
user name
2007-06-04 15:17:15
Hello,



The Jakarta Slide Client JavaDoc (v2.1) does not state that
HttpsURL classes can be supplied to the WebdavResource
constructor.



I attempted to do so anyway (JDK 1.5); resultant exception
below...



Can one not use the Slide Client over HTTPS despite having
imported the appropriate SSL certificates?



<code>

HttpsURL hrl = new HttpsURL("https://" + hostname +
"/" + documentLibrary);

WebdavResource wdr = new WebdavResource(hrl);

</code>



<error>

org.apache.commons.httpclient.HttpMethodBase processRequest

INFO: Recoverable exception caught when processing request

org.apache.commons.httpclient.HttpMethodBase processRequest

WARNING: Recoverable exception caught but
MethodRetryHandler.retryMethod() returned false, rethrowing
exception

org.apache.commons.httpclient.HttpRecoverableException:
java.net.SocketException: Software caused connection abort:
recv failed

        at
org.apache.commons.httpclient.HttpMethodBase.readResponse(Ht
tpMethodBase.java:1933)

        at
org.apache.commons.httpclient.HttpMethodBase.processRequest(
HttpMethodBase.java:2627)

        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMet
hodBase.java:1061)

        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
lient.java:643)

        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
lient.java:497)

        at
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavRe
source.java:3457)

        at
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavRe
source.java:3423)

        at
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavReso
urce.java:967)

        at
org.apache.webdav.lib.WebdavResource.setBasicProperties(Webd
avResource.java:912)

        at
org.apache.webdav.lib.WebdavResource.setProperties(WebdavRes
ource.java:1894)

        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResour
ce.java:1301)

        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResour
ce.java:1320)

        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResour
ce.java:1408)

        at
org.apache.webdav.lib.WebdavResource.<init>(WebdavReso
urce.java:290)

        at
com.procelerate.addOn.util.SharePointAccess.main(SharePointA
ccess.java:120)

</error>



Please advise, and thanks.


Russ







 
____________________________________________________________
________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


Re: WebdavResource(HttpsURL)?
country flaguser name
United States
2007-06-05 05:46:34
>
> Can one not use the Slide Client over HTTPS despite
having imported  
> the appropriate SSL certificates?

I don't know what is causing your failure; I've used
HttpsURL  
successfully in the past.

Brian

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )