You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Funk <fu...@joedog.org> on 2003/05/06 18:43:45 UTC

Re: Problem with webapp

Google!

http://www.google.com/search?num=30&hl=en&lr=&ie=UTF-8&oe=UTF-8&q=windows+%22Too+many+open+files%22&btnG=Google+Search


-Tim

Cemil Oeruem - Skillworks AG wrote:
> Hello there,
> 
> I have a problem with a JSP-Application running under Tomcat 4 and I
> have no idea how to solve the following problem:
> 
> The application runs fine for a while. When logging in, the users name
> and the current time is logged in a log file. 
> The user is redirected to a main page where a menu is generated by a
> DOM-Tree, which is transformed with XSL:
> 
> public void render(Writer out) {
>     TransformerFactory transFac = TransformerFactory.newInstance();
>     Transformer transformer= transFac.newTransformer(new
> StreamSource(stylesheet));
>     transformer.transform(new DOMSource(doc),
>     new StreamResult(out));
> }
> 
> This all works for a while, until the stdout of tomcat prints the
> following error:
> 
> java.io.FileNotFoundException:
> c:\Programme\ApacheTomcat_4_1\webapps\intranet\log\info.05-05-2003.txt
> (Too many open files)
> 
>>>From this time on this txt-file cannot be accessed by the application.
> Neither other log-files can.
> At the main page, where the menu should be generated, a
> NullPointerException is thrown by the render-method above and nobody can
> login any more. 
> 
> Another problem is, that restarting the tomcat does not solve the
> problem. 
> Only by installing the webapp by the .war-file lets the application run
> again. Until it crashes again...
> 
> Does anybody have an idea where the problem might be ?
> 
> Thanks a lot,
> 
> Cemil
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org