Hello,

Here is the environment:

* Tomcat 7.0.x, where x is 8 or 11;
* RHEL 6, x86_64 ;
* 64bit Sun JVM 1.6.0.24 ;
* this is a VM on ESX, 2 vCPUs, 2 GB RAM;

I build my own CATALINA_HOME, the difference between the bundled
tar.gz and my home are:

* no i18n jars;
* only the manager webapp, I don't need the others;
* changes in logging, I only use the consolehandler;
* Coyote connector only listens on localhost;
* I use my own startup scripts, and the java command line is as such:

/usr/lib/jvm/jre/bin/java -server -XX:-UsePerfData
-Djava.awt.headless=true -Djava.awt.headlesslib=true
-XX:+AggressiveHeap -classpath
:/home/o3/tomcat/bin/bootstrap.jar:/home/o3/tomcat/bin/commons-daemon.jar:/home/o3/tomcat/bin/tomcat-juli.jar
-Dcatalina.base=/home/o3/tomcat -Dcatalina.home=/home/o3/tomcat
-Djava.endorsed.dirs= -Djava.io.tmpdir=/home/o3/tomcat/temp
-Djava.util.logging.config.file=/home/o3/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
org.apache.catalina.startup.Bootstrap start

The trouble is: most of the time, when Tomcat starts, the manager
application takes 30 seconds or more to deploy (I've seen 60, 120 and
as far as 260 seconds!). When all goes well, the startup time is 600
ms. If I remove the webapp (and therefore start Tomcat with no webapp
at all), the startup time is fast as well (~50 ms). Shutdown time is
consistent, though, and perfectly normal.

I don't even know where to start to debug. I've tried to switch the
loglevel to TRACE in logging.properties but it doesn't change anything
in catalina.out, which is strange.

How do I go about logging wh
-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to