tomcat从压缩包里面重新解压出来
myeclipse重装了
电脑也重启
tomcat的webapps里没项目,tomcat是新的,干净的
为什么这样启动就要500多秒
我到bin的startup。bat可以在50秒里面启动,虽然也久,但是没像myeclipse里启动那样超级慢!!!
高手啊

解决方案 »

  1.   

      你到workspace下面找是否有work文件
        将它下面的内容删掉
        我的路径是这样的
        
        D:\workspace\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\work
        
      

  2.   

    workspace\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\work
    覆盖安装的话,上面的目录里面还有你原来部署的项目,可能哪个项目一初始化就在连数据库。
    先清空掉。
      

  3.   

    2009-12-29 9:36:51 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: F:\Program Files\Java\jre1.5.0_04\bin;F:\apache-tomcat-6.0.18\bin
    2009-12-29 9:37:04 org.apache.coyote.http11.Http11Protocol init
    信息: Initializing Coyote HTTP/1.1 on http-8080
    2009-12-29 9:37:04 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 178094 ms
    2009-12-29 9:37:16 org.apache.catalina.core.StandardService start
    信息: Starting service Catalina
    2009-12-29 9:37:16 org.apache.catalina.core.StandardEngine start
    信息: Starting Servlet Engine: Apache Tomcat/6.0.18
    2009-12-29 9:43:19 org.apache.catalina.core.ApplicationContext log
    信息: ContextListener: contextInitialized()
    2009-12-29 9:43:19 org.apache.catalina.core.ApplicationContext log
    信息: SessionListener: contextInitialized()
    2009-12-29 9:45:21 org.apache.coyote.http11.Http11Protocol start
    信息: Starting Coyote HTTP/1.1 on http-8080
    2009-12-29 9:46:20 org.apache.jk.common.ChannelSocket init
    信息: JK: ajp13 listening on /0.0.0.0:8009
    2009-12-29 9:46:23 org.apache.jk.server.JkMain start
    信息: Jk running ID=0 time=0/10234  config=null
    2009-12-29 9:46:30 org.apache.catalina.startup.Catalina start
    信息: Server startup in 566447 ms
      

  4.   

    无work文件,/tomcat目录下面就conf和temp文件夹
      

  5.   

    改个workspace就好了
    可能就是.metadata里面太乱了吧
      

  6.   

     myeclipse的配置问题吧。。
      

  7.   

    把你wabapp下边不用的项目删掉,下次部署就会在出来,如果你现在专注这一个项目,那就把其他项目先删掉,那么Tomcat就不会加载了,肯定快
      

  8.   

    又学了一点...
    不过加载的时候LZ没有仔细看
    The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on .....
      

  9.   

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\Program Files\Java\jre1.5.0_04\bin;F:\apache-tomcat-6.0.18\bin
    这个是另外正常版本的启动的那行,是一样的,但是速度比较正常
      

  10.   

    好东东 学习了  我以前试过tomcat启动很慢 然后把webbs里面的项目删除了就可以了  现在遇到这种问题又多了一条新思路