this web application instance has been stopped already
2012-09-13 11:41
417 查看
tomcat 关闭时报异常:
Feb 23, 2012 8:06:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.hsqldb.lib.LongKeyHashMap$Values. The eventual following stack trace is caused by an error
thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
原因:内存库没有关闭。
方法:在监听里contextDestroyed()方法里写
Connection conn = null;
try {
Class.forName("org.hsqldb.jdbcDriver");
conn = DriverManager.getConnection("jdbc:hsqldb:mem:db", "sa", "");
Statement stmt = conn.createStatement();
stmt.execute("SHUTDOWN;");
conn.close();
} catch (Exception e) {
// do nothing
}
Feb 23, 2012 8:06:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.hsqldb.lib.LongKeyHashMap$Values. The eventual following stack trace is caused by an error
thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
原因:内存库没有关闭。
方法:在监听里contextDestroyed()方法里写
Connection conn = null;
try {
Class.forName("org.hsqldb.jdbcDriver");
conn = DriverManager.getConnection("jdbc:hsqldb:mem:db", "sa", "");
Statement stmt = conn.createStatement();
stmt.execute("SHUTDOWN;");
conn.close();
} catch (Exception e) {
// do nothing
}
相关文章推荐
- this web application instance has been stopped already
- Illegal access: this web application instance has been stopped already .
- Tomcat异常:Illegal access: this web application instance has been stopped already. Could not load java.lang.Object.
- Java异常---Illegal access: this web application instance has been stopped already
- Illegal access: this web application instance has been stopped already .Could not load java.net.BindException._转
- tomcat异常:Illegal access: this web application instance has been stopped already. Could not load ...
- Illegal access: this web application instance has been stopped already
- 启动项目报错this web application instance has been stopped already.
- Illegal access: this web application instance has been stopped already.
- 关于tomcat启动报“this web application instance has been stopped already”的处理
- this web application instance has been stopped already问题
- this web application instance has been stopped already解决办法
- Illegal access: this web application instance has been stopped already .【心里的疑惑化解了】
- tomcat服务器,老是报this web application instance has been stopped already 错误
- this web application instance has been stopped already解决办法
- INFO: Illegal access: this web application instance has been stopped already
- 报错:this web application instance has been stopped already
- 使用tomcat manage发布项目报错Illegal access: this web application instance has been stopped already
- 项目跑起来之后,一会儿后台就会报错Illegal access: this web application instance has been stopped already. Could not load [com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask]. The following stack trace
- Illegal access:this web application instance has been stopped already. XXXXXXXX