我的TOMCAT启动好慢啊,高手给看看
我的TOMCAT 每次加载带有struts2项目时 启动都超级慢!求高手解答,以下是启动信息
2011-11-15 19:43:26 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Program Files\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;E:\Program Files\Apache Software Foundation\apache-tomcat-7.0.22\bin
2011-11-15 19:43:26 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
2011-11-15 19:43:26 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
2011-11-15 19:43:26 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 711 ms
2011-11-15 19:43:26 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2011-11-15 19:43:26 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.22
2011-11-15 19:43:26 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-11-15 19:43:26 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-11-15 19:43:27 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-11-15 19:43:27 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-11-15 19:43:27 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@d75c47')
2011-11-15 19:43:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory host-manager
2011-11-15 19:43:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory manager
2011-11-15 19:43:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-11-15 19:43:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory StrutsTwo
2011-11-15 19:43:38 com.sun.faces.config.ConfigureListener contextInitialized
信息: 初始化上下文 '/StrutsTwo' 的 Mojarra 2.0.3 (FCS b03)
2011-11-15 19:43:39 com.sun.faces.spi.InjectionProviderFactory createInstance
信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。
2011-11-15 19:43:40 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts-default.xml]
2011-11-15 19:43:40 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
2011-11-15 19:43:40 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts-plugin.xml]
2011-11-15 19:43:40 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts.xml]
2011-11-15 19:43:40 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
2011-11-15 19:43:40 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2011-11-15 19:43:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 13751 ms
------解决方案--------------------
10000多 很正常啊,这个不用纠结,我做的SSH项目 加载时间都是25000左右,你的算少的,因为有很多的配置文件需要加载