Could you please raise a JIRA, I think I found a fix for that. Btw, you could also try with the new saxon SE, which should not have this problem. See http://servicemix.goopen.org/site/servicemix-saxon.html
On 10/9/06, Hélène JOANIN <[EMAIL PROTECTED]> wrote:
Hi Everybody, I think that a close of a stream or a socket is missing in a servicemix component or a component used by servicemix. Here is an very sample example to reproduce the problem. No idea ? Thanks. Hélène. Hélène JOANIN wrote: Hi, I did an example of using the component servicemix-http and the LW component XSLT. This example causes a "java.io.IOException: Too many open files" error when I execute it quite often to exceed the limit of the number of file descriptors a process may have on my system. Did I miss something or is there a bug in a servicemix component which forget to close a stream or a socket ? You can find in attachment a very simple example to reproduce the problem. To run this example: - the SERVICEMIX_HOME variable must be setting, - then under the sm-http-xslt directory do: $ ant setup $ servicemix ./servicemix.xml $ ant run "ant run" will execute 1024 times the client. Just do it quite often to exceed the limit of the number of file descriptors a process may have on your system. Note that I can't reproduce this problem with the example "bridge" delivery with servicemix. Regards. Hélène.
-- Cheers, Guillaume Nodet
