Hi there! I'm running Cocoon 2.1.4 within Tomcat 5.0.19 on Linux.
I currently face the problem that cocoon stops to work with various exceptions (i.e. FileNotFoundException), all stating "too many open files". I tracked down the problem to the use of the xpath function 'document($phrase_list)' in one of my XSLT stylesheets. (I have to look-up some additional data in a separate XML file while transforming.) It seems that cocoon opens the referenced XML file every time document() is called, resulting in the creation of a new file descriptor for this file. A new file descriptor is even created if the same file within the same transformation has already been opened. And even worse these files stay open -- for a while at least. Normally there wouldn't be a problem, but if requests come in to frequently the limit of 1024 open files is reached quite soon. And after that Cocoon will not recover any more... Is there a possibility to configure that these files shall be closes earlier? Or is the access via document() handled entirely by the XSL-Transformer (i.e. Xalan)? Are there any other suggestions how to implement looking-up data within other (quite large) XML files while transforming. Thanks in advance. Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
