Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-22 Thread Vince Bonfanti
I now have all testcases passing except for th WebDAV testcases, as described below. I've created a new issue and attached a patch file with my proposed changes (note this also contains the fix for VFS-245): https://issues.apache.org/jira/browse/VFS-266 What are the next steps from here? On M

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-22 Thread Vince Bonfanti
I fixed the HTTP failure by disabling the "welcome" page in welcome.conf (I don't know if this is standard Apache configuration or something peculiar to CentOS). All of the HTTP tests are now passing with my changes. For the WebDAV failure, this is what I see in the access_log file: 192.168.200.1

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-19 Thread Ralph Goers
In both cases I would suggest enabling debugging for httpclient. It will give you a bunch of output to show what is really going on. But an error with "Moved Permanently" leads me to think something isn't right on your server. According to RFC 2616 vfs should not automatically redirect on a

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-19 Thread Vince Bonfanti
I'm trying to run the HTTP and Webdav testcases without any of my changes in order to verify my test environment. I'm running on CentOS 5.3 with the built-in Apache 2.2 server. I believe I've followed the instructions properly, but I'm getting two errors. I'm going to give up for now and try again

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread Vince Bonfanti
Setting MAVEN_OPTS=-Xmx512m did the trick. Thanks. On Thu, Jun 18, 2009 at 3:19 PM, Siegfried Goeschl < siegfried.goes...@it20one.at> wrote: > Hi Vince, > > when you check your mvn script there is a 'MAVEN_OPTS' environment > variable - here you can increase your memory settings for M2 by setting

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread Vince Bonfanti
Got it. I'll start working on this tomorrow. Thanks. On Thu, Jun 18, 2009 at 5:39 PM, ralph.goers @dslextreme.com < ralph.go...@dslextreme.com> wrote: > And after you run mvn site they should show up in target/site/testing.html. > >

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread ralph.goers @dslextreme.com
No. The instructions are in https://svn.apache.org/repos/asf/commons/proper/vfs/trunk/xdocs/testing.xml. Ralph On Thu, Jun 18, 2009 at 9:18 AM, Vince Bonfanti wrote: > I'm finished with my changes to support serialization of AbstractFileName > and AbstractFileObject. The unit tests that are ex

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread ralph.goers @dslextreme.com
And after you run mvn site they should show up in target/site/testing.html. On Thu, Jun 18, 2009 at 2:38 PM, ralph.goers @dslextreme.com < ralph.go...@dslextreme.com> wrote: > No. The instructions are in > https://svn.apache.org/repos/asf/commons/proper/vfs/trunk/xdocs/testing.xml. > > > Ralph >

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread Siegfried Goeschl
Hi Vince, when you check your mvn script there is a 'MAVEN_OPTS' environment variable - here you can increase your memory settings for M2 by setting a poper '-Xmx512m' Cheers, Siegfried Goeschl Vince Bonfanti wrote: > I'm finished with my changes to support serialization of AbstractFileName > a

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-18 Thread Vince Bonfanti
I'm finished with my changes to support serialization of AbstractFileName and AbstractFileObject. The unit tests that are executed via "mvn test" are all passing. I tried to do "mvn site:stage" as you suggest, but got out-of-memory errors. Is this the documentation I need to follow to run the exter

AW: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-07 Thread Mario Ivankovits
Hi! > I think the answer is: the FilesCache is used to optimize resolveFile() > performance, and to reuse FileObject instances, but is not used to cache the > actual file content. Thats correct! Ciao, Mario - To unsubscribe, e

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-07 Thread Vince Bonfanti
In order to solve this serialization problem, I'm trying to understand exactly what the FilesCache is used for. Most importantly, I'm trying to determine whether the FilesCache is used to cache file content. I think the answer is: the FilesCache is used to optimize resolveFile() performance, and t

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-05 Thread Vince Bonfanti
I've added a patch file with a proposed fix to VFS-245. On Thu, Jun 4, 2009 at 6:40 PM, Ralph Goers wrote: > > VFS-245 is opened against AbstractFileName and probably needs to be dealt > with in the context of what you are doing. > >

Re: [vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-04 Thread Ralph Goers
Wow. I'm interested to see if you can really get this to work. Just make sure that after you get the existing unit tests to pass that the functional tests that require external servers also pass - if you do a mvn site:stage you will see the documentation on how to do that. VFS-245 is opene

[vfs] MemcachedFilesCache for Google App Engine (object serialization)

2009-06-04 Thread Vince Bonfanti
I'm investigating creating a memcached-based FilesCache implementation for use with Google App Engine. The basic obstacle is that this requires that all objects that are used as keys or values must be serializable. Before I go too far down this path, I'd like to know if this is a reasonable thing t