日期:2014-05-18  浏览次数:20636 次

加了Context后,Tomcat不能启动
配置FileStore时,在server.xml加了
<Context   path= "/helloapp "   docBase= "helloapp "   debug= "0 "   reloadable= "true "/>
                      <Manager   className= "org.apache.catalina.session.PersistentManager "   >
                                                      debug=0;
                                                    saveOnRestart= "true "
                                                  maxActiveSessions= "-1 "
                                                  minIdleSwap= "-1 "
                                                  maxIdleSwap= "-1 "
                                                  maxIdleBackup= "-1 "
                    <Store   className= "org.apache.catalina.session.FileStore "   directory= "mydir "   />
                      </Manager>
                </Context>
后,tomcat就不能启动,但是加别的Context可以,不知为什么?

------解决方案--------------------
It 's greate!