You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by John Williams <jw...@typefi.com> on 2004/10/20 02:37:50 UTC

Slide 2.1b2 Tomcat bundle & Mac Errors

I'm getting errors trying to copy files to a webdav folder from a Macintosh when I run the Slide Tomcat bundle. I can put files just fine from a PC when mounting the folder using WebDrive.
 
To reproduce:
   Configure & start tomcat according to directions
   Mount the slide/files volume from the Macintosh using 'root', 'root' as user & password
   Drag a file from a mac local disk to the files volume.
   File starts to get copied and then you get a finder error "The operation could not be completed because the file is in use."
   
Here is a dump of the tomcat log for a file copy:
 
http-8080-Processor22, 20-Oct-2004 10:30:12, root, PUT, 201 "Created", 235 ms, /files/Test1/TestDocument.rtf
http-8080-Processor22, 20-Oct-2004 10:30:12, root, PROPFIND, 207 "Multi-Status", 16 ms, /files/Test1/TestDocument.rtf
java.lang.IllegalStateException
        at org.apache.coyote.tomcat5.CoyoteResponseFacade.setBufferSize(CoyoteResponseFacade.java:197)
        at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:148)
        at org.apache.slide.webdav.method.GetMethod.executeRequest(GetMethod.java:244)
        at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:386)
        at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:164)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
http-8080-Processor22, 20-Oct-2004 10:30:12, root, GET, 500 "Internal Server Error", 93 ms,/files/Test1/TestDocument.rtf
 
As a further issue related to the Mac, I've noticed that the Mac does not update the Finder windows when mounted to a Slide webdav volume. However, if I setup a WebDAV volume using Apache & mod_dav the mac will update the folder contents periodically just fine. The Mac appears to be sending PROPFIND requests to slide at about 1 minute intervals (more or less). Could it be that Slide isn't returning updated information?
 
Any ideas?
 
Thanks
__________________________________________
John Williams
 
Typéfi 
Innovation Centre Sunshine Coast
PO Box 7081
90 Sippy Downs Drive
Sunshine Coast QLD 4556 Australia

Phone: +61 7 5459 4591
Fax: +61 7 5459 4547

HYPERLINK "http://www.typefi.com/"http://www.typefi.com
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
 

Re: Slide 2.1b2 Tomcat bundle & Mac Errors

Posted by Carlos Villegas <ca...@uniscope.jp>.
>As a further issue related to the Mac, I've noticed that the Mac does not update the Finder windows when mounted to a Slide webdav volume. However, if I setup a WebDAV volume using Apache & mod_dav the mac will update the folder contents periodically just fine. The Mac appears to be sending PROPFIND requests to slide at about 1 minute intervals (more or less). Could it be that Slide isn't returning updated information?
> 
>Any ideas?
> 
>  
>
I noticed this also on Windows using NetDrive and Slide 2.0, it doesn't 
notice changes on the server, I need to flush the directory cache 
manually or disable it completly. I'm in the process of upgrading to 
2.1b2 and will test this soon. Maybe IF header processing is still wrong 
on the server.

Carlos

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Slide 2.1b2 Tomcat bundle & Mac Errors

Posted by Oliver Zeigermann <ol...@gmail.com>.
Did this work with 2.1b1? Or with 2.0?

Oliver


On Wed, 20 Oct 2004 10:37:50 +1000, John Williams <jw...@typefi.com> wrote:
> I'm getting errors trying to copy files to a webdav folder from a Macintosh when I run the Slide Tomcat bundle. I can put files just fine from a PC when mounting the folder using WebDrive.
> 
> To reproduce:
>    Configure & start tomcat according to directions
>    Mount the slide/files volume from the Macintosh using 'root', 'root' as user & password
>    Drag a file from a mac local disk to the files volume.
>    File starts to get copied and then you get a finder error "The operation could not be completed because the file is in use."
> 
> Here is a dump of the tomcat log for a file copy:
> 
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, PUT, 201 "Created", 235 ms, /files/Test1/TestDocument.rtf
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, PROPFIND, 207 "Multi-Status", 16 ms, /files/Test1/TestDocument.rtf
> java.lang.IllegalStateException
>         at org.apache.coyote.tomcat5.CoyoteResponseFacade.setBufferSize(CoyoteResponseFacade.java:197)
>         at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:148)
>         at org.apache.slide.webdav.method.GetMethod.executeRequest(GetMethod.java:244)
>         at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:386)
>         at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:164)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:534)
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, GET, 500 "Internal Server Error", 93 ms,/files/Test1/TestDocument.rtf
> 
> As a further issue related to the Mac, I've noticed that the Mac does not update the Finder windows when mounted to a Slide webdav volume. However, if I setup a WebDAV volume using Apache & mod_dav the mac will update the folder contents periodically just fine. The Mac appears to be sending PROPFIND requests to slide at about 1 minute intervals (more or less). Could it be that Slide isn't returning updated information?
> 
> Any ideas?
> 
> Thanks
> __________________________________________
> John Williams
> 
> Typéfi
> Innovation Centre Sunshine Coast
> PO Box 7081
> 90 Sippy Downs Drive
> Sunshine Coast QLD 4556 Australia
> 
> Phone: +61 7 5459 4591
> Fax: +61 7 5459 4547
> 
> HYPERLINK "http://www.typefi.com/"http://www.typefi.com
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Slide 2.1b2 Tomcat bundle & Mac Errors

Posted by Oliver Zeigermann <ol...@gmail.com>.
Have you made sure this is not the "usual" Mac Bug as described in 

http://jakarta.apache.org/slide/faq.html

(last entry)?

Oliver


On Wed, 20 Oct 2004 10:37:50 +1000, John Williams <jw...@typefi.com> wrote:
> I'm getting errors trying to copy files to a webdav folder from a Macintosh when I run the Slide Tomcat bundle. I can put files just fine from a PC when mounting the folder using WebDrive.
> 
> To reproduce:
>    Configure & start tomcat according to directions
>    Mount the slide/files volume from the Macintosh using 'root', 'root' as user & password
>    Drag a file from a mac local disk to the files volume.
>    File starts to get copied and then you get a finder error "The operation could not be completed because the file is in use."
> 
> Here is a dump of the tomcat log for a file copy:
> 
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, PUT, 201 "Created", 235 ms, /files/Test1/TestDocument.rtf
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, PROPFIND, 207 "Multi-Status", 16 ms, /files/Test1/TestDocument.rtf
> java.lang.IllegalStateException
>         at org.apache.coyote.tomcat5.CoyoteResponseFacade.setBufferSize(CoyoteResponseFacade.java:197)
>         at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:148)
>         at org.apache.slide.webdav.method.GetMethod.executeRequest(GetMethod.java:244)
>         at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:386)
>         at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:164)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:534)
> http-8080-Processor22, 20-Oct-2004 10:30:12, root, GET, 500 "Internal Server Error", 93 ms,/files/Test1/TestDocument.rtf
> 
> As a further issue related to the Mac, I've noticed that the Mac does not update the Finder windows when mounted to a Slide webdav volume. However, if I setup a WebDAV volume using Apache & mod_dav the mac will update the folder contents periodically just fine. The Mac appears to be sending PROPFIND requests to slide at about 1 minute intervals (more or less). Could it be that Slide isn't returning updated information?
> 
> Any ideas?
> 
> Thanks
> __________________________________________
> John Williams
> 
> Typéfi
> Innovation Centre Sunshine Coast
> PO Box 7081
> 90 Sippy Downs Drive
> Sunshine Coast QLD 4556 Australia
> 
> Phone: +61 7 5459 4591
> Fax: +61 7 5459 4547
> 
> HYPERLINK "http://www.typefi.com/"http://www.typefi.com
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org