[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-user
Subject: RE: i am new to Slide and not able to connecting client.........please help ...
From: Srinivas Rao <srinivasi2t2 () yahoo ! com>
Date: 2005-07-25 14:37:54
Message-ID: 20050725143755.41977.qmail () web52209 ! mail ! yahoo ! com
[Download RAW message or body]
Hi friends,
I am getting the same error repeatly ....if any one
the setting in the server.xml domain.xml and
web.xml...
> org.apache.commons.httpclient.HttpException
> at
>
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja
> va:3467)
> at
>
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja
> va:3423)
> at
>
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java
> :967)
please help me....
Thanks
Srinivas
--- Srinivas Rao <srinivasi2t2@yahoo.com> wrote:
> Hi Phil,
>
> this is the my code ...look into that...i thing it's
> in server configuration ...but i used the DAV
> Explorer
> to connect the Server...it's working and...another
> one
> is ...i downloaded the Jakarta Slide Client
> Bin...it's
> also working ....
>
> but this simple program is not working ....
> // Slide Simple WebDAV client example
> import java.io.File;
> import java.io.IOException;
> import java.net.MalformedURLException;
>
> import org.apache.commons.httpclient.HttpException;
> import org.apache.commons.httpclient.*;
> import org.apache.webdav.lib.*;
>
> public class SlideTest {
>
> public static void main (String args[])
> {
>
> try
> {
> HttpURL hrl =new
> HttpURL("http://srinivas:1999/slide/files");
>
> hrl.setUserinfo("john","john");
> System.out.println("Url
> Connected........................."+hrl.getPath());
> WebdavResource wdr = new
> WebdavResource(hrl);
> if(wdr==null){
> System.out.println("Some thing wrong on
> connection to WebDav....");
> }
> System.out.println("Url
>
Connected........................."+wdr.getDisplayName());
> System.out.println(
> wdr.getPath());
> wdr.putMethod(args[0]);
> wdr.close();
> }
> catch(MalformedURLException mue)
> {
> mue.printStackTrace();
> }
> catch(HttpException he)
> {
> he.printStackTrace();
> }
> catch(Exception ioe)
> {
> ioe.printStackTrace();
> }
> }
> }
>
>
> and the out put is...............
>
> Url Connected........................./slide/files
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.httpclient
> .HttpClient).
> log4j:WARN Please initialize the log4j system
> properly.
> org.apache.commons.httpclient.HttpException
> at
>
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja
> va:3467)
> at
>
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja
> va:3423)
> at
>
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java
> :967)
> at
>
org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResourc
> e.java:912)
> at
>
org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.jav
> a:1894)
> at
>
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1
> 301)
> at
>
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1
> 320)
> at
>
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1
> 408)
> at
>
org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
> at SlideTest.main(SlideTest.java:21)
>
>
>
> Thanks
> Srinivas
> --- "Burnside, Phillip (UK - Glasgow)"
> <phillipburnside@deloitte.co.uk> wrote:
>
> > Srinivas,
> >
> > Can you post your full code up to the list and
> I'll
> > have a look,
> >
> > Rgrds
> > Phil
> >
> > -----Original Message-----
> > From: Srinivas Rao
> [mailto:srinivasi2t2@yahoo.com]
> > Sent: Fri 22/07/2005 07:20
> > To: Slide Users Mailing List
> > Cc:
> > Subject: RE: i am new to Slide and not able to
> > connecting client.........please help ...
> >
> >
> >
> > Hi Phillip,
> >
> > I tried using the import org.apache.webdav.lib.*;
> >
> > but i am getting the same error....how can i
> solve
> > this problem???
> >
> > Any idea???
> >
> > Thanks
> > Srinivas
> >
> > --- "Burnside, Phillip (UK - Glasgow)"
> > <phillipburnside@deloitte.co.uk> wrote:
> >
> > > Try using
> > > import org.apache.webdav.lib.*;
> > >
> > > instead of
> > >
> > > import org.apache.webdav.lib.WebdavResource;
> > >
> > > -----Original Message-----
> > > From: Srinivas Rao
> > [mailto:srinivasi2t2@yahoo.com]
> > > Sent: Thu 21/07/2005 17:38
> > > To: Slide Users Mailing List
> > > Cc:
> > > Subject: i am new to Slide and not able
> to
> > > connecting client.........please help ...
> > >
> > >
> > >
> > > Hi Friends,
> > >
> > > I got few samples from friends and ne
> > alos....but i
> > > am not able to connect the client through the
> > > WebdavResource ...
> > >
> > > this is the code.....
> > > import
> > org.apache.commons.httpclient.HttpException;
> > > import
> > org.apache.commons.httpclient.HttpURL;
> > > import
> > org.apache.webdav.lib.WebdavResource;
> > >
> > >
> > > HttpURL hrl =new
> > > HttpURL("http://srinivas:1999/slide/);
> > >
> hrl.setUserinfo("john","john");
> > > WebdavResource wdr = new
> > WebdavResource(hrl,
> > > WebdavResource.ALL, 0); // here i am getting
> the
> > > Error...
> > >
> > > System.out.println( wdr.getPath());
> > > wdr.putMethod(args[0]);
> > > wdr.close();
> > >
> > > Here is the Exception......
> > >
> > >
> org.apache.commons.httpclient.HttpException
> > > at
> > >
> >
> >
>
org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic