Hello,
I attached small web application to winstone application server with JDK
1.6. It is very easy:
reader = new SAXReader();
reader.setEncoding("UTF-8");
Document document = reader.read(url);
But I found that it fails with too many open files exception. I searched
javadoc and there is no close method in SAXReader. I looked at source
code and it internally opens input stream, but it never closes it. It
calls XMLReader.parse() but its javadoc says nothing about closing
passed stream. So is there a bug, that the input stream is not closed?
Leos
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
dom4j-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dom4j-user