Slow Tomcat startup...

Anthony Ginepro anthony.ginepro at laposte.net
Tue Mar 15 10:20:00 PST 2005


Le Mardi 15 mars 2005 à 15:35 +0100, Jiri Novak a écrit :
> Hello list...
> I'm having troubles with FreeBSD 5.3-RELEASE-p5 on amd64, with Apache2 
> and Tomcat 5.0.30 (jdk1.5.0) installed. The problem I'm experiencing is 
> very strange - Tomcat startup times are very very long, about 3-4 
> minutes, with three virtual hosts. Each virtual host does stall on 
> startup for some time. At first I thought, that there is some DNS 
> misconfiguration, but it isn't, I don't even see any DNS traffic using 
> tcpdump. To ensure, that problem is not the JDK, I tried 
> linux-sun-jdk-1.4, with same results. What puzzles me most is that I 
> have i686 machine with almost the same config 
> (apache/tomcat/webapps/dns), on which startup of tomcat lasts about 
> 10-12 seconds.
> I'm not totally convinced, that the problem lies in architecture, so I'm 
> asking on this list - anybody seen this behavior? Is it really 
> architecture bound problem?
> TIA!

It has already been reported in
http://www.freebsd.org/cgi/query-pr.cgi?pr=java/77162

You can apply the patch in order to fix this until freebsd-java team
release a new patchset.

Anthony.


More information about the freebsd-stable mailing list