Re: APR with tomcat - long boot

2007-06-18 Thread Ilja S.
tomcat is running with apache and mod_jk? Clarification would be very appreciated! Thanks in advance.. * Best Regards Ilja Markus Schönhaber wrote: Ilja S. wrote: Startup time of tomcat became very slow after installing APR. Tomcat version is 5.5.23 APR 1.

Re: APR installation Question

2007-06-15 Thread Ilja S.
hat should I do now? Richard On Fri, 2007-06-15 at 13:52 +0300, Ilja S. wrote: Hi Your tomcat should start with option: -Djava.library.path=/usr/local/apr/lib in this case APR libs are in /usr/local/apr/lib, change to wherever you got your libs Usually you add this line to tomcat

APR with tomcat - long boot

2007-06-15 Thread Ilja S.
Hi Startup time of tomcat became very slow after installing APR. Tomcat version is 5.5.23 APR 1.2.7 Ubuntu, kernel 2.6.20 Logs says INFO: Server startup in 192631 ms Which is more 3 minutes! Is that normal? -- * Best Regards Ilja -

Re: APR installation Question

2007-06-15 Thread Ilja S.
Hi Your tomcat should start with option: -Djava.library.path=/usr/local/apr/lib in this case APR libs are in /usr/local/apr/lib, change to wherever you got your libs Usually you add this line to tomcat startup script... * Best Regards Ilja Andre Prasetya

Re: Trouble with APR and Tomcat 5.5.15

2007-06-15 Thread Ilja S.
Hi I had similar problem on Ubunutu Linux. Logs have been saying something about inability to bind to socket. If log clearly says that address already in use (probably 8080). Check that no other application using this port. If log says something like: java.lang.Exception: Socket bind failed:

Re: tomcat 5.5 stdout

2007-06-13 Thread Ilja S.
Thanks a lot for quick reply! To conclude: 1. stdout can NOT be redirected to multiple files and can be only in one file (usually catalina.out) 2. All uncaught exceptions / System.out from ALL applications are going to this one file. And we can not do anything about this. Right? *

tomcat 5.5 stdout

2007-06-13 Thread Ilja S.
Hi It seems there is a lot of confusion around new tomcat 5.5 internal logging. I also have a question: Is there a way to separate stdout (which is all by default written to one file catalina.out) to be in files by virtual hosts / context. i.e. each application could have its own file where sta