我用的是TOMCAT5.0.28。JDK是1.4.2。
当我刷新一个页的时候(按住F5)TOMCAT服务器就会自动关闭!!!!!
请问有碰到过这个问题的朋友吗?

解决方案 »

  1.   

    2007-04-28 09:07:10 StandardContext[/balancer]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]]
    2007-04-28 09:07:10 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2007-04-28 09:07:10 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2007-04-28 09:07:10 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2007-04-28 09:07:10 StandardContext[/servlets-examples]SessionListener: contextInitialized()
    日志似乎没什么异常吧??
      

  2.   

    在cmd窗口,cd到tomcat/bin目录,命令catalina run;
    再把日志贴出来
      

  3.   

    还是这个
    2007-04-28 09:31:16 StandardContext[/balancer]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]]
    2007-04-28 09:31:16 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2007-04-28 09:31:16 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2007-04-28 09:31:16 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2007-04-28 09:31:16 StandardContext[/servlets-examples]SessionListener: contextInitialized()但是 cmd中出现:
    library=c:\windows\system32\ntdll.dllcurrent java thread:
                       at sun.jdbc.odbc.JDBCODBC.allocConnect,Native Method.
      

  4.   

    你的tomcat如果被另一个引用就会出现这种情况,不能同时使用,例如,我eclips引用的tomcat服务器,我再到/bin/目录下,手工启动,就是一闪就关了
      

  5.   

    sun.jdbc.odbc.JDBCODBC.allocConnect,Native Method.
    莫非是数据库驱动的问题吗?
      

  6.   

    换成jtds后按住F5   tomcat不自动关闭了。但是网页相应不了了。
      

  7.   

    你的tomcat如果被另一个引用就会出现这种情况,不能同时使用,例如,我eclips引用的tomcat服务器,我再到/bin/目录下,手工启动,就是一闪就关了//这是肯定的阿,断口都被占用了
      

  8.   

    一般来说
    有两种可能会出现这种错误
    1 tomcat端口被占用
    2 tomcat应用后没有关闭 而你再次起用,容易出错
      

  9.   

    Cappuccino_mhc(Cappuccino) 
    关闭tomcat 是什么思路 能详细讲一下吗》