[OT]Re: Réf. : Re: Subject: Ré f. : Re: Réf. : Re: .... .......

2006-11-21 Thread Paul J DeCoursey
OT - can we take a moment to be aware of Subject lines, this is getting out of hand. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[POOL] a conceptual implementation error?

2006-11-21 Thread Tom
Bear with me on this one... The pool implementation splits pools into two parts: a provider of new objects (PoolableObjectFactory) and a pooling behaviour (Pool). This is a good idea, since this allows separation of content and behaviour: the same source of poolable objects can be used in a ro

Re: Subject: Réf. : Re: Réf. : Re: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread Rory Winston
Hmm. So you say that listFiles() actually returns a list of filenames? Without actually being able to access your setup, its difficult to know where to look - are you in a position to to debug/step through the FTPClient code? - Fi

Réf. : Re: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread serge . simon
Hi Rory, Thanks for your input, i didn't knew how to do that. I've just tried it, and obviously, I still don't know what happens. I'm unsure that the problem could be a parsing bug, because I tried to emulate a FTP session directly through a "telnet" command, and I got exactly the same output

[OT] reporting bounced emails

2006-11-21 Thread Lance Semmens
Hi, I'm looking to report bounced emails so I'm going to set the "Errors-To" header on my mail then periodically poll the errors email account and report any emails with "X-Failed-Recipients" headers. I'm looking for an open source library to help me out. Have any users on this list had good exp

Re: [POOL] a conceptual implementation error?

2006-11-21 Thread Sandy McArthur
On 11/21/06, Tom <[EMAIL PROTECTED]> wrote: > It's non-trivial to accept code that wasn't written by Apache members > because of licensing issues but I'm happy to look and learn from a > good idea when I see one. Interesting. I didn't know that. I'll put it up once I add the priority pool. An is

Re: [POOL] a conceptual implementation error?

2006-11-21 Thread Sandy McArthur
On 11/20/06, Tom <[EMAIL PROTECTED]> wrote: >> Currently the StackedObjectPool goes into a very CPU consuming >> busy-waiting loop > > If you can create an issue with some sample code that pegs the CPU > with StackObjectPool when it should be wait()ing I'd appreciate it > because that would be a

Re: [NET] empty result with listFiles() method whereas I should get files

2006-11-21 Thread Rory Winston
Hi Serge You could try to look at the commands being passed back and forth between the FTPClient and the server by adding a PrintCommandListener instance to the client (see the FTP example classes for details), and see what the server is passing back. Its possible that there is a dormant bug in

Re: [POOL] a conceptual implementation error?

2006-11-21 Thread Tom
Okay, I think I now have an idea of what you are trying to achieve. In terms of Pool you would want a pool with a maxActive setting set to 4 and make sure there is no minIdle or idle object evictor or anything else that could cause the pool to loose poolable objects. Correct. Only I think it i

Re: [NET] empty result with listFiles() method whereas I should get files

2006-11-21 Thread Rory Winston
Hi Serge You could try to look at the commands being passed back and forth between the FTPClient and the server by adding a PrintCommandListener instance to the client (see the FTP example classes for details), and see what the server is passing back. Its possible that there is a dormant bug in

Re: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread Rory Winston
Hi FTPClient should be able to handle this issue - see http://svn.apache.org/viewvc/jakarta/commons/proper/net/trunk/src/test/org/apache/commons/net/ftp/parser/FTPConfigEntryParserTest.java?revision=165675&view=markup specifically, the setDefaultFormatDateString() Thanks Rory [EMAIL PROTECTED

Re: [OT] reporting bounced emails

2006-11-21 Thread Rory Winston
[net] has a POP3 implementation - it may be too basic for your needs, but feel free to take a look Rory Lance Semmens wrote: Hi, I'm looking to report bounced emails so I'm going to set the "Errors-To" header on my mail then periodically poll the errors email account and report any emails wit

RE: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread Nelson, Tracy
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | Subject: Re: [NET] empty result with listFiles () method whereas I should | get files | | Indeed, but that mean that I would have to put in my code something like | "for this server, use this format", whereas any other server use the same | for

Re: [POOL] a conceptual implementation error?

2006-11-21 Thread Sandy McArthur
On 11/21/06, Tom <[EMAIL PROTECTED]> wrote: I have a pool of 4 services. Every time a task needs to be performed, I borrow one service from the pool, have it execute the task, and return it. This seems to me as being a sensible pool. Okay, I think I now have an idea of what you are trying to ac

Re: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread Rory Winston
Hi In answer to your questions: 1. Its a good point about the ParseException being swallowed, I'll make a note to have a look at that. 2. This is probably just a result of the way that the client parsing code was developed (on the assumption that the date format would be one of a certain nu

Re: [compress] Re: VFS & jar files

2006-11-21 Thread C. Grobmeier
Cheers, sorry for my delay with compress i was quite busy last months. 1) you finish the compress api change so that we can release it (and add your code for sure) :-) There is not much to do there- look at this: http://wiki.apache.org/jakarta-commons/Compress I would like to simplify the ap

RE: [net] reporting bounced emails

2006-11-21 Thread Lance Semmens
Thanks Rory, [net] looks quite lightweight compared to apache JAMES which I have been looking at. A couple of questions: 1. The javadoc for POP3Client.retrieveMessage() states "You must not issue any commands to the POP3 server (i.e., call any other methods) until you finish reading the message

Re: [NET] empty result with listFiles () method whereas I should get files

2006-11-21 Thread Rory Winston
Hi In answer to your questions: 1. Its a good point about the ParseException being swallowed, I'll make a note to have a look at that. 2. This is probably just a result of the way that the client parsing code was developed (on the assumption that the date format would be one of a certain nu