Re: VFS problem with StaticUserAuthenticator

2008-06-12 Thread Stephan Schuster
hi mario, hi james, i just wanted to do the same, but it seems that i'm too stupid. how do you add yourself as a developer. i found no related links, neither on the page you mentioned nor on the vfs homepage. sorry! cheers, stephan James Carman wrote: Done. I added myself as a

Re: VFS problem with StaticUserAuthenticator

2008-06-12 Thread James Carman
Just change the root level pom.xml file of the vfs project. At least that's all I did. The update won't show up until someone builds a new site and publishes it, though. On Thu, Jun 12, 2008 at 6:06 AM, Stephan Schuster [EMAIL PROTECTED] wrote: hi mario, hi james, i just wanted to do the

Re: [vfs] Why doesn't AbstractFileObject override equals?

2008-06-12 Thread Mario Ivankovits
Hi! I'd go that way: 1. in AbstractFileObject.getParent(): replace if (this == fs.getRoot()) { ... }; with FileObject root = fs.getRoot(); if (root instanceof DecoratedFileObject) { root = ((DecoratedFileObject) root).getDecoratedFileObject(); } if (this == root) { ... } But

Re: VFS problem with StaticUserAuthenticator

2008-06-12 Thread Mario Ivankovits
Hi Stephan! i just wanted to do the same, but it seems that i'm too stupid. how do you add yourself as a developer. i found no related links, neither on the page you mentioned nor on the vfs homepage. sorry! You aren't an Apache Commiter yet, no? You have to become an Apache Commons Committer

Streaming

2008-06-12 Thread Pedro Ribeiro
Hello. I was reading the documentation of FileUpload, and i have some doubts. With the DiskFileItemFactory we can specify the bytes that will be retained in memory and the temporary directory used when a item size exceed the threshold. With this we can have more control with the allocated

[daemon] daemonize existing application - samples?

2008-06-12 Thread Steve Cohen
I have used commons-daemon and jsvc to make Tomcat a service and found it worked well following the directions on the Tomcat site. Now I have a standalone java application with a main() that I would also like to daemonize and I'm finding the directions a little daunting in that they don't

VFS NTLM authentification

2008-06-12 Thread Yannick PIERSON
Hi, I would like to make a NTLM authentification but I get this error: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication:

Re: [daemon] daemonize existing application - samples?

2008-06-12 Thread Johnny Luong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, It's probably because people have different thoughts on what the static method main() does in a given class. You will need to identify how the lifecycle of your application corresponds to the explicit operations of init(), start(), stop(),