-
Is there a reason you choose to use stdout for all your logging? It is really annoying when deployed in JBoss that you have to see all the output from the poller. I might be interested in helping you convert it over to using log4j if you are interested. Let me know.
2009-10-12 21:33:06 UTC by serff
-
One thing which should be easy to do is to add a printstacktrace when the exception is caught - so that you can see exactly what is the original exception (I've been thinking of doing this for every try-catch, but havent yet got around to it :( ).
I dont have a java compiler right now but will try to send you a recompiled "class" file by email - with which you can replace the...
2009-04-27 08:38:28 UTC by crsadun
-
Hi,
we use Websphere Application Server v5.1 running on JRE 1.4.2. We use the latest version of JPoller.
What I forgot to mention: The files are written into the controlled directory by a remote server that temporarily connects the controlled directory as a network drive and releases it as soon as all files have been written. Both machines run on Windows 2003 Server.
Again, thanks for...
2009-04-25 13:43:05 UTC by jannes76
-
Hm. The message is caused by a FileNotFoundException raised in the main execution cycle (see http://jpoller.cvs.sourceforge.net/viewvc/jpoller/jpoller/source/org/sadun/util/polling/DirectoryPoller.java?revision=1.21&view=markup, lines 955-995). If bypasslocked is set, a RandomAccessFile is created on the file in readwrite mode, so that its io channel can be retrieved and a lock acquired over...
2009-04-24 14:53:41 UTC by crsadun
-
Hi Christiano,
I experience a strange AutoMove-Problem:
From time to time the poll manger tells it "Could not verify lock on <filename>". That's okay, because the respective file is processed correctly in the next poll cycle, as the "bypassLockedFile"-property is set to true. However, the problem is, that all other files that have already been moved to the...
2009-04-24 07:22:44 UTC by jannes76
-
Ciao Cristiano.
Grazie per la modifica. Provvisoriamente, avevo implementato la modifica a mano, quando ho un attimo di tempo provo la tua. Ti assicuro che nel mio caso le performance sono migliorate di parecchio, anche perché devo spazzare 100 directory da 15'000 files l'una, i file non vengono quasi mai modificati e non possono essere spostati.
In ogni caso, avevo trovato un problema.....
2009-02-03 07:39:23 UTC by essebibi
-
Hei. Posted on CVS a change that realizes the behaviour you describe - it's an excellent idea.
Havent managed to test yet tough, but you can try to build and see if you see an improvement in performance.
-cristiano.
2009-02-02 21:24:50 UTC by crsadun
-
crsadun committed patchset 46 of module jpoller to the Directory Poller CVS repository, changing 4 files.
2009-01-29 18:44:54 UTC by crsadun
-
Hi,
First of all thanks for the directory poller!!
But, looking at it, it seems that this poller scans the directory "always".
I mean, if I have a directory with 5'000 files, and the directory last modify date is unchanged, it's not better to simply skip it?
I noticed that if i modify or add a file in a directory, the last modification time of the directory changes on the...
2009-01-23 12:14:15 UTC by essebibi
-
Do you have the bypasslockedfile feature on?.
2008-03-05 12:38:32 UTC by crsadun