以前不会,最近慢到吐血。。下面是启动信息:
2007-8-31 18:36:50 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\MainSoftware\jdk1.6\bin;D:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
2007-8-31 18:36:50 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2007-8-31 18:36:50 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2281 ms
2007-8-31 18:36:50 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-8-31 18:36:51 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.10
2007-8-31 18:36:54 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:36:54 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:36:55 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:36:57 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:36:57 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:36:59 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources ', returnNull=true
2007-8-31 18:37:17 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:17 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:19 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:21 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2007-8-31 18:37:21 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2007-8-31 18:37:24 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:24 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:26 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:28 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:28 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:30 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:32 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:32 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:33 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:34 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:36 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:36 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:37 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:37 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
2007-8-31 18:37:40 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:40 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:41 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources ', returnNull=true
2007-8-31 18:37:48 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:37:48 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:37:50 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources_zh_CN ', returnNull=true
init plugin
2007-8-31 18:38:36 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.util.LocalStrings ', returnNull=true
2007-8-31 18:38:36 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'org.apache.struts.action.ActionResources ', returnNull=true
2007-8-31 18:38:38 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config= 'com.magnate.struts.ApplicationResources ', returnNull=true
2007-8-31 18:38:38 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml '
2007-8-31 18:38:39 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml '
2007-8-31 18:38:39 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2007-8-31 18:38:40 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2007-8-31 18:38:40 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/140 config=null
2007-8-31 18:38:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 109781 ms
最奇怪得是。。居然输出了以前项目PlugIn中inti()中的信息,,
怎么回事啊????好像把以前做过的项目都启动了。。。。。
进tomcat控制台把过去的项目sotp就可以了,在tomcat manager中
方法1:将原来部署到Tomcat中的不必要的工程都删除。
方法2: 重新解压一个新的Tomcat,将Tomcat部署路径改为新的Tomcat,只将现在需要的工程部署进去,这样就启动快了。 常用后者。
Tomcat部署过的项目会一直驻留到服务器里,
启动时,部署到服务器里的工程全部启动 项目多了 自然启动时间就慢
解决:
tomcat安装目录\webapps 在webapps 目录下,把以前的工程删除就好了
对于myeclipse(内置tomcat)
那么
找到myeclipse路径,如F:\software\myeclipse8.6,搜索webbapps
则打开看到tomcat服务器以往项目残留,全部删掉就好了
现在
信息: Server startup in 1304 ms