tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabe Wong <gabri...@ngasi.com>
Subject Re: Tomcat 5.5 war takes 4 to 7 minutes to deploy
Date Sat, 27 Sep 2008 05:23:47 GMT
Hi G,

First what is the available memory (RAM) and CPU on your system?
Are you on a VPS or Private JVM in a Hosted environment.
Quite possible it is simply a matter or resources or lack of.
If on VPS, certain ones have a tendency to be slow on disk IO.

G Kontos wrote:
> I'm wondering why I'm seeing such a long deployment time with my project.  4
> to 7 minutes is way longer than I am used to seeing with projects of similar
> or larger size.  My war file is about 15M - and it lives on a red hat
> server.  I'm at a loss about what I could be doing wrong.  I'm even at a
> loss to figure out what I could be doing different than normal.  I'm just
> putting a war into the webapps folder and restarting tomcat.  The output
> looks pretty harmless - it just takes forever.
>
> Any ideas how I can get my deployment to take less time?
>
>
>
> STATUS | wrapper  | 2008/09/26 00:06:02 | --> Wrapper Started as Daemon
> STATUS | wrapper  | 2008/09/26 00:06:03 | Launching a JVM...
> INFO   | jvm 1    | 2008/09/26 00:06:05 | Wrapper (Version 3.2.3)
> http://wrapper.tanukisoftware.org
> INFO   | jvm 1    | 2008/09/26 00:06:05 |   Copyright 1999-2006 Tanuki
> Software, Inc.  All Rights Reserved.
> INFO   | jvm 1    | 2008/09/26 00:06:05 |
> INFO   | jvm 1    | 2008/09/26 00:06:08 | Sep 26, 2008 4:06:08 AM
> org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO   | jvm 1    | 2008/09/26 00:06:08 | INFO: The Apache Tomcat Native
> library which allows optimal performance in production environments was not
> found on the java.library.path: /opt/tomcat5/common/lib
> INFO   | jvm 1    | 2008/09/26 00:06:08 | Sep 26, 2008 4:06:08 AM
> org.apache.coyote.http11.Http11BaseProtocol init
> INFO   | jvm 1    | 2008/09/26 00:06:08 | INFO: Initializing Coyote HTTP/1.1
> on http-8080
> INFO   | jvm 1    | 2008/09/26 00:06:08 | Sep 26, 2008 4:06:08 AM
> org.apache.catalina.startup.Catalina load
> INFO   | jvm 1    | 2008/09/26 00:06:08 | INFO: Initialization processed in
> 2120 ms
> INFO   | jvm 1    | 2008/09/26 00:06:09 | Sep 26, 2008 4:06:09 AM
> org.apache.catalina.core.StandardService start
> INFO   | jvm 1    | 2008/09/26 00:06:09 | INFO: Starting service Catalina
> INFO   | jvm 1    | 2008/09/26 00:06:09 | Sep 26, 2008 4:06:09 AM
> org.apache.catalina.core.StandardEngine start
> INFO   | jvm 1    | 2008/09/26 00:06:09 | INFO: Starting Servlet Engine:
> Apache Tomcat/5.5.26
> INFO   | jvm 1    | 2008/09/26 00:06:09 | Sep 26, 2008 4:06:09 AM
> org.apache.catalina.core.StandardHost start
> INFO   | jvm 1    | 2008/09/26 00:06:09 | INFO: XML validation disabled
> INFO   | jvm 1    | 2008/09/26 00:06:18 | Sep 26, 2008 4:06:18 AM
> org.apache.catalina.startup.HostConfig deployWAR
> INFO   | jvm 1    | 2008/09/26 00:06:18 | INFO: Deploying web application
> archive a1.war
> INFO   | jvm 1    | 2008/09/26 00:13:33 | Initialize->init()->start::Nine
> INFO   | jvm 1    | 2008/09/26 00:13:37 | Sep 26, 2008 4:13:37 AM
> org.apache.catalina.core.ApplicationContext log
> INFO   | jvm 1    | 2008/09/26 00:13:37 | INFO:
> org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
> [org.apache.webapp.balancer.RuleChain:
> [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
> Redirect URL: http://www.cnn.com],
> [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
> paramName / Target param value: paramValue / Redirect URL:
> http://www.yahoo.com],
> [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
> http://jakarta.apache.org]]
> INFO   | jvm 1    | 2008/09/26 00:13:37 | Sep 26, 2008 4:13:37 AM
> org.apache.catalina.core.ApplicationContext log
> INFO   | jvm 1    | 2008/09/26 00:13:37 | INFO: ContextListener:
> contextInitialized()
> INFO   | jvm 1    | 2008/09/26 00:13:37 | Sep 26, 2008 4:13:37 AM
> org.apache.catalina.core.ApplicationContext log
> INFO   | jvm 1    | 2008/09/26 00:13:37 | INFO: SessionListener:
> contextInitialized()
> INFO   | jvm 1    | 2008/09/26 00:13:38 | Sep 26, 2008 4:13:38 AM
> org.apache.catalina.core.ApplicationContext log
> INFO   | jvm 1    | 2008/09/26 00:13:38 | INFO: ContextListener:
> contextInitialized()
> INFO   | jvm 1    | 2008/09/26 00:13:38 | Sep 26, 2008 4:13:38 AM
> org.apache.catalina.core.ApplicationContext log
> INFO   | jvm 1    | 2008/09/26 00:13:38 | INFO: SessionListener:
> contextInitialized()
> INFO   | jvm 1    | 2008/09/26 00:13:41 | Sep 26, 2008 4:13:41 AM
> org.apache.coyote.http11.Http11BaseProtocol start
> INFO   | jvm 1    | 2008/09/26 00:13:41 | INFO: Starting Coyote HTTP/1.1 on
> http-8080
> INFO   | jvm 1    | 2008/09/26 00:13:42 | Sep 26, 2008 4:13:42 AM
> org.apache.jk.common.ChannelSocket init
> INFO   | jvm 1    | 2008/09/26 00:13:42 | INFO: JK: ajp13 listening on /
> 0.0.0.0:8009
> INFO   | jvm 1    | 2008/09/26 00:13:42 | Sep 26, 2008 4:13:42 AM
> org.apache.jk.server.JkMain start
> INFO   | jvm 1    | 2008/09/26 00:13:42 | INFO: Jk running ID=0 time=0/244
> config=null
> INFO   | jvm 1    | 2008/09/26 00:13:42 | Sep 26, 2008 4:13:42 AM
> org.apache.catalina.storeconfig.StoreLoader load
> INFO   | jvm 1    | 2008/09/26 00:13:42 | INFO: Find registry
> server-registry.xml at classpath resource
> INFO   | jvm 1    | 2008/09/26 00:13:42 | Sep 26, 2008 4:13:42 AM
> org.apache.catalina.startup.Catalina start
> INFO   | jvm 1    | 2008/09/26 00:13:42 | INFO: Server startup in 453702 ms
>
>
> Thanks for your help.
>
>   


-- 
Regards

Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement for Cloud Computing
http://www.ngasi.com
NEW! FREE Developer account for Hosted version on Amazon EC2


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message