项目运行时碰到如下问题:(tomcat6+ JDK1.5 + Struts1.2)项目运行的时候点击某一功能连接*.do调用action时,有时候正常,有时候会出现空白页,出现空白页时tomcat打印出消息如下:
2009-7-13 16:00:12 org.apache.catalina.core.ApplicationContext log  
信息: Servlet execution threw an exception仅以上信息而已,也没有什么详细的信息出来,真是郁闷~~~以上情况不是一直出现,而是偶尔会出现。重新点连接或重起tomcat,又好了。多点几次,可能又会出现。 请高手指点一下,到底是什么原因造成的,如何解决。谢谢了

解决方案 »

  1.   

    2009-7-13 16:00:12 org.apache.catalina.core.ApplicationContext log   
    信息: Servlet execution threw an exception 就只有这些?不可能的 看看log4j里面的信息
      

  2.   

    是啊,至少把相关网页或跳转的Action中的方法什么的贴出来看看啊
      

  3.   

    2010-6-12 16:21:12 org.apache.catalina.startup.Catalina start
    信息: Server startup in 31763 ms
    2010-6-12 16:36:20 org.apache.catalina.core.ApplicationContext log
    信息: Servlet execution threw an exception
    前面是启动tomcat的时间,我真的就这点错误啊。
    请各位大大帮帮。
      

  4.   

    log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    log4j:WARN Please initialize the log4j system properly.
    这是log4j的信息。