商城运行一段时间后,tomcat就自己崩掉了,而且不报错!来牛人分析下原因!
服务器是linux系统   apache+jk+tomcat      

解决方案 »

  1.   

    是不是垃圾没有回收,导致jvm崩溃而引起的tomcat崩溃啊~
      

  2.   

    我之前也遇到过,我用的是ssh框架,在applicationContext.xml中加上红色部分就好了<property name="hibernateProperties">
    <props>
    <prop key="hibernate.dialect">
    org.hibernate.dialect.MySQLDialect
    </prop>
    <prop key="hibernate.connection.autocommit">true</prop>
    <prop key="hibernate.show_sql">false</prop>
    <prop key="hibernate.connection.release_mode">after_transaction</prop> </props>
    </property>详细的你可以看这个
    http://hi.baidu.com/zhlmblc/blog/item/72d7b30150a7bfc1267fb574.html
      

  3.   

    查看tomcat\bin 下 有没类似 hs_err_pid3480.log  这样的文件
      

  4.   

    看看tomcat的log,肯定要有log的。