Apache Commons FTPClient not wokring in Red Hat Linux

2008-06-12 Thread Venkat Guru
Hi friends, Iam using apache commons FTPClient (In "commons-net-1.4.1.jar" ). Iam using it to read files and write a file onto a FTP server. This class works fine in Windows environment, but its not working on linux ( red hat linux) environment. The following snippet code is for reading a file o

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(), destr

Commons-VFS NTML authentication

2008-06-12 Thread Yves Zoundi
Hi guys, Is NTML authentication supported in the filesystemoptions class? Thank you

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:

[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 ex

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 memory,

Re: stiff integration problem

2008-06-12 Thread Arne Dieckmann
Hi Luc, thanks for you immediate reply. I know the odeToJava package, but I do not really like the style of the code that much. Anyhow, this seems to be the only available solution right now. Will there also be a Bader- Deuflhard or Gear algorithm in version 2.0? Can you give a rough estim

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 Committe

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 i

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 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 develop

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

2008-06-12 Thread Stephan Schuster
hi mario, thank you for your answer. The current VFS implementation (if you do not use anything else then the only-working SoftRefFilesCache) ensures that two resolveFile will return the same object if you ask for the same filename, thus, in terms of VFS there is nothing bad with the object c