WebDAV Problems with Tomcat 4.1.29

2003-12-07 Thread Tobias Münch
Hello

I´m using a tomcat 4.1.29 server application on my webserver. I want to
access to this server with a webDAV client. I allready used a couple of
webDAV- Client applications like DAVexplorer, SkunkDAV or Photoshop 6.0 but
the system won´t work without problems. It is no problem to connect to the
server with the client- tool, but some typical webDAV functions will be
without effect. There is no way to lock a file or to move it to another
directory. The Client and also the server don´t generate an error-message or
something like this, it will only be without an effect. I also made tests
with an apache 1.3.20 webserver, an there all functions will be availible.
So I believe the client is not the problem.

Does anybody have an idea what the problem is? I think i have to change the
configuration of the tomcat- server.

Note this: I allready switched on the WebDAV function in the web.xml file.

Thank You



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



WebDAV Problems with Tomcat 4.1.29

2003-12-05 Thread s6442611
Hello

I´m using a tomcat 4.1.29 server application on my webserver. I want to
access to this server with a webDAV client. I allready used a couple of
webDAV- Client applications like DAVexplorer, SkunkDAV or Photoshop 6.0 but
the system won´t work without problems. It is no problem to connect to the
server with the client- tool, but some typical webDAV functions will be
without an effect. There is no way to lock a file or to move it to another
directory. The Client and also the server don´t generate an error-message
or something like this, it will only be without an effect. I also made
tests with an apache 1.3.20 webserver, an there all functions will be
availible. So I believe the client is not the problem.

Does anybody have an idea what the problem is? I think i have to change the
configuration of the tomcat- server.

Note this: I allready switched on the WebDAV function in the web.xml file.

Thank You

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



WebDav Problems with url mappings

2003-02-28 Thread Stratmann, Holger
Hello everybody,

I have serious problems with the WebDAV servlet when I try to map it to a
URL-pattern other than /.

I'd like to map it to /DAV or /webdav or something.
Just to clarify my terminology (which may not be 100% correct):

I want the WebDAV servlet to run in the same context as many other servlets
and I want them to access the same webspace-directory (i.e.: I want the
WebDAV-servlet to provice access to my webspace).

I would assume that that is what many users want - what's a stand alone
WebDAV-servlet good for??

Anyway: the servlet doesn't seem to consider its url mapping internally (not

at all or not correctly).
 
As a quick experimental patch I tried the following:

 MyDavServlet extends WebdavServlet {
 protected String getRelativePath(HttpServletRequest request) {
String res = super.getRelativePath(request);
System.err.println(translating path  + res);
if (res.startsWith(/XDAV)) res = res.substring(5);
if (res.length()  1) return /;
return res;
}
 }
 
 Without this modification, Windows webfolders do not work at all.
 With this modification, they work, but not 100% correctly.
 Every folder (collection) also seems to contain itself. Funny effect.
 
 == My patch is not the solution, but probably a pointer to 
 the problem...
 I haven't spent more time with it (yet) because I don't use 
 it yet. I just stumbled across this problem after just 10 
 minutes of experimenting :-(((

 I would soon LIKE TO use it and appreciate any hints that help me solve the
problem before I have to start digging in the source codes...

 Holger
 
P.S.: Some other people seem to have experienced this problem already. I've
seen the problem on the mailing list, but no hint or solution :-((( 

P.P.S.: Please reply to my e-mail address as well... this list is so busy
I'd probably miss some answers otherwise... Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WebDav Problems

2003-01-13 Thread Olaf Jahn
Zsolt Koppany [EMAIL PROTECTED] hat geschrieben:

 Hi,
 
 I use tomcat-4.1.18 and have the following problems with webdav. The
 Windows Client (webdav folder) does not show the modification dates of
 the files neither over the list nor for properties 
 [...]
 How can I get the date listed?

In our experience, (some?) Windows clients display the dates only if
the following obscure attribute is present in the getlastmodified
element:

  xmlns:b=urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/

(I found this out only by looking at the source code of the Apache
mod_dav module.)

You know, Microsoft and open standards ... Watch out, there is even
more trouble ahead as it seems that Microsoft's DAV clients are
optimized for working with IIS only.

Olaf


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




WebDav Problems

2003-01-11 Thread Zsolt Koppany
Hi,

I use tomcat-4.1.18 and have the following problems with webdav. The
Windows Client (webdav folder) does not show the modification dates of
the files neither over the list nor for properties (I'm not sure whether
thats called properties because I use German Windows, but I mean
selecting a file and right mouse and the last menu entry to get info
about file such last modified size etc.). This happens with tomcat after
downloading and installation, thus we have done NO modification on
tomcat.
How can I get the date listed?

The second problem is that webdav does not work correctly (it gets
problems with directory names) when I change its url mapping. We have to
do that because we want to integrate webdav into our application. The
problems occur with the original tomcat-4.1.18 after modifying the url
mapping.
Any ideas how to solve this problem?

Zsolt

Modified web.xml
servlet-mapping
servlet-namewebdav/servlet-name
url-pattern/webdav/*/url-pattern
  /servlet-mapping

Original web.xml:
servlet-mapping
servlet-namewebdav/servlet-name
url-pattern//url-pattern
  /servlet-mapping
-- 
Zsolt


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: WebDav Problems

2003-01-11 Thread Andreas Probst
Hi Zsolt,

it might be, that it's a client problem, i.e. Webfolders isn't 
working correctly. I had issues with Webfolders of Windows 98. 
The same installation of Slide (which does WebDAV) worked on 
Windows 2000 Webfolders. Unfortunately I can't tell you more 
about this, it's just a thought.

Andreas


On 11 Jan 2003 at 14:52, Zsolt Koppany wrote:

 Hi,
 
 I use tomcat-4.1.18 and have the following problems with webdav.
 The Windows Client (webdav folder) does not show the modification
 dates of the files neither over the list nor for properties (I'm
 not sure whether thats called properties because I use German
 Windows, but I mean selecting a file and right mouse and the last
 menu entry to get info about file such last modified size etc.).
 This happens with tomcat after downloading and installation, thus
 we have done NO modification on tomcat. How can I get the date
 listed?
 
 The second problem is that webdav does not work correctly (it
 gets problems with directory names) when I change its url
 mapping. We have to do that because we want to integrate webdav
 into our application. The problems occur with the original
 tomcat-4.1.18 after modifying the url mapping. Any ideas how to
 solve this problem?
 
 Zsolt
 
 Modified web.xml
 servlet-mapping
 servlet-namewebdav/servlet-name
 url-pattern/webdav/*/url-pattern
   /servlet-mapping
 
 Original web.xml:
 servlet-mapping
 servlet-namewebdav/servlet-name
 url-pattern//url-pattern
   /servlet-mapping
 -- 
 Zsolt
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: WebDav Problems

2003-01-11 Thread Zsolt Koppany
I have the problem under Windows-98 and 2000.

If I understand you correctly you don't have this problem with tomcat
and slide and the client it W-2000. Is that correct?

Zsolt

On Sat, 2003-01-11 at 15:37, Andreas Probst wrote:
 Hi Zsolt,
 
 it might be, that it's a client problem, i.e. Webfolders isn't 
 working correctly. I had issues with Webfolders of Windows 98. 
 The same installation of Slide (which does WebDAV) worked on 
 Windows 2000 Webfolders. Unfortunately I can't tell you more 
 about this, it's just a thought.
 
 Andreas
 
 
 On 11 Jan 2003 at 14:52, Zsolt Koppany wrote:
 
  Hi,
  
  I use tomcat-4.1.18 and have the following problems with webdav.
  The Windows Client (webdav folder) does not show the modification
  dates of the files neither over the list nor for properties (I'm
  not sure whether thats called properties because I use German
  Windows, but I mean selecting a file and right mouse and the last
  menu entry to get info about file such last modified size etc.).
  This happens with tomcat after downloading and installation, thus
  we have done NO modification on tomcat. How can I get the date
  listed?
  
  The second problem is that webdav does not work correctly (it
  gets problems with directory names) when I change its url
  mapping. We have to do that because we want to integrate webdav
  into our application. The problems occur with the original
  tomcat-4.1.18 after modifying the url mapping. Any ideas how to
  solve this problem?
  
  Zsolt
  
  Modified web.xml
  servlet-mapping
  servlet-namewebdav/servlet-name
  url-pattern/webdav/*/url-pattern
/servlet-mapping
  
  Original web.xml:
  servlet-mapping
  servlet-namewebdav/servlet-name
  url-pattern//url-pattern
/servlet-mapping
  -- 
  Zsolt
  
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-- 
Zsolt


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: WebDav Problems

2003-01-11 Thread Andreas Probst
Hi Zsolt,

I don't see the dates on Win2k either. So I really think it's a 
client problem. I have also a web interface. It shows the dates 
correctly. I've never realized this problem, because I seldom 
test with webfolders and the date was always far right (outside 
the window) so I didn't see the empty column. Excuse me for the 
irritation.

Andreas



On 11 Jan 2003 at 16:36, Zsolt Koppany wrote:

 I have the problem under Windows-98 and 2000.
 
 If I understand you correctly you don't have this problem with
 tomcat and slide and the client it W-2000. Is that correct?
 
 Zsolt
 
 On Sat, 2003-01-11 at 15:37, Andreas Probst wrote:
  Hi Zsolt,
  
  it might be, that it's a client problem, i.e. Webfolders isn't
  working correctly. I had issues with Webfolders of Windows 98.
  The same installation of Slide (which does WebDAV) worked on
  Windows 2000 Webfolders. Unfortunately I can't tell you more
  about this, it's just a thought.
  
  Andreas
  
  
  On 11 Jan 2003 at 14:52, Zsolt Koppany wrote:
  
   Hi,
   
   I use tomcat-4.1.18 and have the following problems with
   webdav. The Windows Client (webdav folder) does not show the
   modification dates of the files neither over the list nor for
   properties (I'm not sure whether thats called properties
   because I use German Windows, but I mean selecting a file and
   right mouse and the last menu entry to get info about file
   such last modified size etc.). This happens with tomcat after
   downloading and installation, thus we have done NO
   modification on tomcat. How can I get the date listed?
   
   The second problem is that webdav does not work correctly (it
   gets problems with directory names) when I change its url
   mapping. We have to do that because we want to integrate
   webdav into our application. The problems occur with the
   original tomcat-4.1.18 after modifying the url mapping. Any
   ideas how to solve this problem?
   
   Zsolt
   
   Modified web.xml
   servlet-mapping
   servlet-namewebdav/servlet-name
   url-pattern/webdav/*/url-pattern
 /servlet-mapping
   
   Original web.xml:
   servlet-mapping
   servlet-namewebdav/servlet-name
   url-pattern//url-pattern
 /servlet-mapping
   -- 
   Zsolt
   
  


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: WebDav Problems (same problem + hint)

2003-01-11 Thread Stratmann, Holger
 The second problem is that webdav does not work correctly (it gets
 problems with directory names) when I change its url mapping. 

Yes, I have the same problem and I really think it's a bug in the servlet.

It doesn't seem to consider its url mapping internally (not at all or not
correctly).

I tried the following:

MyDavServlet extends WebdavServlet {
protected String getRelativePath(HttpServletRequest request) {
String res = super.getRelativePath(request);
System.err.println(translating path  + res);
if (res.startsWith(/XDAV)) res = res.substring(5);
if (res.length()  1) return /;
return res;
}
}

Without this modification, Windows webfolders do not work at all.
With this modification, they work, but not 100% correctly.
Every folder (collection) also seems to contain itself. Funny effect.

== My patch is not the solution, but probably a pointer to the problem...
I haven't spent more time with it (yet) because I don't use it yet. I just
stumbled across this problem after just 10 minutes of experimenting :-(((

Holger


 We have to
 do that because we want to integrate webdav into our application. The
 problems occur with the original tomcat-4.1.18 after modifying the url
 mapping.
 Any ideas how to solve this problem?
 
 Zsolt
 
 Modified web.xml
 servlet-mapping
 servlet-namewebdav/servlet-name
 url-pattern/webdav/*/url-pattern
   /servlet-mapping
 
 Original web.xml:
 servlet-mapping
 servlet-namewebdav/servlet-name
 url-pattern//url-pattern
   /servlet-mapping
 -- 
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Str. 16
 70565 Stuttgart
 Tel: +49-711-7221873 Fax: +49-1212-5168-29527
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: WebDAV problems -- thank you

2000-11-10 Thread Ray Allis

Remy Maucherat wrote:
 
 First, thanks a lot to your log, since I found a bug into the Catalina's
 HTTP connector because of that :)
 
  I repeat, that looks like an opportunity for Microsoft to show good
  faith.
 
 Well, they've added and used and products huge

I'm often annoyed at Microsoft when they may not deserve it, because I
have been a Unix bigot for 15 years or so.  When I started with the 
Internet, Microsoft and IBM both refused to recognize or support TCP/IP.
And I'm constantly aware of Microsoft's efforts to drive everyone to
use their products, because those products don't run on my machine.

But I can understand, if the webdav spec is fuzzy, that different people
might support it in different ways.

  -This Windows machine does not work ---
 
  192.48.19.135 - - [08/Nov/2000:16:15:10 -0800] "OPTIONS / HTTP/1.1" 200
  -
 I wonder why it tries the root of the namespace ...

My fault.  I was curious whether it would say "Not webdav".  But it
didn't
get that far, cadaver just timed out.

 If you're building from CVS, you can probably give it another shot.
 Otherwise, wait until we release M5 (one week).

I'm behind a firewall here, so I guess I'll wait. ;-) Unless it turns
up in one of the nightly builds I can ftp?

Ray Allis