日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Illegal access:this web application instance has been stopped already

發(fā)布時間:2025/3/20 编程问答 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Illegal access:this web application instance has been stopped already 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

七月 23, 2014 2:34:35 下午 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already.? Could not load com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException.? 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.
java.lang.IllegalStateException
?? ?at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
?? ?at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
?? ?at java.lang.Class.forName0(Native Method)
?? ?at java.lang.Class.forName(Class.java:190)
?? ?at com.mysql.jdbc.Util.getInstance(Util.java:386)
?? ?at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
?? ?at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
?? ?at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
?? ?at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
?? ?at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2412)
?? ?at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
?? ?at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
?? ?at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

原因是:

tomcat重新裝載web應用程序失敗導致的。當應用程序卸載時,并不會關閉所有的線程。當tomcat已經(jīng)關閉了其類加載器后,一些線程依然會繼續(xù)運行,這樣就導致出錯。不過這個不影響正常使用,不管影響不影響,看到異常信息就不順眼。

解決方案:修改tomcat目錄下的context.xml,找到<Context>標簽,把reloadble的屬性值設為:reloadable="false",即<Context reloadable="false">。

轉(zhuǎn)載于:https://www.cnblogs.com/gredswsh/p/Illegal-access-this-web-application.html

總結(jié)

以上是生活随笔為你收集整理的Illegal access:this web application instance has been stopped already的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。