Re: Trinidad jar - too many open files Exception

2007-09-12 Thread Steve
Hi Adam, I've since tried the 1.0.2-SNAPSHOT version and the problem is still there. In the mean time I'm running garbage collection periodically to mop up the unwanted file descriptors Check modification is false and I'm pretty sure we don't have any debug flags on. The application is

Re: Trinidad jar - too many open files Exception

2007-09-12 Thread Adam Winer
On 9/12/07, Steve [EMAIL PROTECTED] wrote: Hi Adam, I've since tried the 1.0.2-SNAPSHOT version and the problem is still there. In the mean time I'm running garbage collection periodically to mop up the unwanted file descriptors Check modification is false and I'm pretty sure we don't have

Trinidad jar - too many open files Exception

2007-09-11 Thread Steve
I've been getting the following exception: java.net.SocketException: Too many open files on a Tomcat server running on Linux. I ran lsof - p tomcat_pid to see what was going on and it seems that the trinidad jar file is being opened far too many times: . java3693 tomcat 1004r REG

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Matthias Wessendorf
Hi, we had something, mentioned with a SNAPSHOT of 1.0.2. Adam fixed something related to this. My guess is, you are using the release, isn't it ? Peter, is this still an issue for you guys ? Thanks! Matthias On 9/11/07, Steve [EMAIL PROTECTED] wrote: I've been getting the following

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Steve
Hi, Yes I'm using the 1.0.2 release. I've just had a look at the thread you mentioned: http://www.mail-archive.com/users@myfaces.apache.org/msg39055.html So is this fixed in the latest SNAPSHOT? Cheers, Steve Matthias Wessendorf wrote: Hi, we had something, mentioned with a SNAPSHOT of

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Matthias Wessendorf
the commit by Adam, was before we released 1.0.2, as far as I know. Greetings, Matthias On 9/11/07, Steve [EMAIL PROTECTED] wrote: Hi, Yes I'm using the 1.0.2 release. I've just had a look at the thread you mentioned: http://www.mail-archive.com/users@myfaces.apache.org/msg39055.html So

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Steve
Thanks Matthias. I'll take a look. Any idea of stability problems with the snapshot? When is the next release planned? Steve Matthias Wessendorf wrote: the commit by Adam, was before we released 1.0.2, as far as I know. Greetings, Matthias On 9/11/07, Steve [EMAIL PROTECTED] wrote:

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Matthias Wessendorf
@stability issues: not that I know. @release: usually every one/two month, we release something. On 9/11/07, Steve [EMAIL PROTECTED] wrote: Thanks Matthias. I'll take a look. Any idea of stability problems with the snapshot? When is the next release planned? Steve Matthias Wessendorf

Re: Trinidad jar - too many open files Exception

2007-09-11 Thread Adam Winer
Yeah, it was before 1.0.2. The big problem was calls to java.net.URLConnection.lastModified() that didn't close the input stream. (Bizarrely, an input stream gets opened on the File just to retrieve lastModified when you go through java.net.URL, at least for a typical JAR URLConnection