DO NOT REPLY [Bug 33068] - StringIndexOutOfBounds in WebdavUtils.getAbsolutePath()

2005-01-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/util WebdavUtils.java

2005-01-26 Thread masonjm
masonjm 2005/01/26 19:35:30 Modified:src/webdav/server/org/apache/slide/webdav/util WebdavUtils.java Log: Fix for bug 33068. Thanks to John Rousseau Revision ChangesPath 1.33 +10 -8 jakarta-slide/src/webdav/server/org/apache/slide/webdav/

Re: How to get the Lucene indexes into slide jdbc?

2005-01-26 Thread Thomas Cataldo
On Tue, 2005-01-25 at 18:48 +0100, Guido Casper wrote: > FWIW, you might want to have a look at these weblog postings (even Doug > Cutting left some comments): > http://epesh.blog-city.com/read/1001351.htm > http://epesh.blog-city.com/read/1002949.htm > http://epesh.blog-city.com/read/1005164.htm

Re: file size limitation in slide 2.1 final

2005-01-26 Thread Oliver Zeigermann
That's bad news :( Sounds like a limitation inside the web container (Tomcat?) then. Seems that request bodies longer than 2GB are not even passed properly to the application. Could you verify this, e.g. by adding output for the actual amount of data copied in the PutMethod lines 421 and 244? If

RE: file size limitation in slide 2.1 final

2005-01-26 Thread Sven Pfeiffer
thank you again for your fast help. now i'm no longer getting exceptions on the server, but the file is still not uploaded. a file with the name is created, and 201 "Created" is printed on the server, but there is no content, the size is 0 kb. Files smaller then 2 GB are copied normal. >-O

Re: file size limitation in slide 2.1 final

2005-01-26 Thread Oliver Zeigermann
Agreed. However, I have just committed a fix that should allow you to store files of any size. The stream is streamed to a file first and the amount of bytes copied now correctly is stored into a long instead of an int. You will need to have true in your configuration section which

cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method PutMethod.java

2005-01-26 Thread ozeigermann
ozeigermann2005/01/26 05:35:55 Modified:src/webdav/server/org/apache/slide/webdav/method PutMethod.java Log: Made at least computed length be a long Revision ChangesPath 1.90 +11 -9 jakarta-slide/src/webdav/server/org/apache/slide/webdav/

RE: file size limitation in slide 2.1 final

2005-01-26 Thread Sven Pfeiffer
if I am right, I am in trouble. I just tried to find out where the problem was and found that the size of the file is read from javax.servlet.http.HttpServletRequests getContentLength()-Method which returns an int. and if the file is larger then 2 GB the maximum capacity of int is exceeded an

RE: file size limitation in slide 2.1 final

2005-01-26 Thread Sven Pfeiffer
it looks like that was a good hint i tried a file with exactly 2 GB, and it worked. then i tried with a file with 3 MB more and I got an error. thank you oliver here is the an excerpt of the log file (i'm just trying to understand it): DEBUG [net.sf.ehcache.store.MemoryStore] org.apache.slide

Re: file size limitation in slide 2.1 final

2005-01-26 Thread Oliver Zeigermann
Does a file that is a bit smaller than 2 GB work? If so maybe there are places inside the Slide code that use integers which can only represent up to 2 GB... Oliver On Wed, 26 Jan 2005 08:59:05 +0100, Sven Pfeiffer <[EMAIL PROTECTED]> wrote: > Hello again, > > I just tried it again. > > This