176142998

            BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
            116 Posts :: 0 Stories :: 45 Comments :: 0 Trackbacks
          信息: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException.  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.ClassLoader.loadClassInternal(Unknown Source)
           at com.mysql.jdbc.SQLError.createLinkFailureMessageBasedOnHeuristics(SQLError.java:1220)
           at com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:51)
           at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1070)
           at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3246)
           at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1656)
           at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4261)
           at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1248)
           at com.mysql.jdbc.ConnectionImpl.finalize(ConnectionImpl.java:2655)
           at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
           at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
           at java.lang.ref.Finalizer.access$100(Unknown Source)
           at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
          log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
          log4j:WARN Please initialize the log4j system properly.
          2008-7-10 8:56:40 org.apache.catalina.core.ApplicationContext log
          信息: Initializing WebApplicationContext for Struts ActionServlet 'action', module ''


          Question: What causes these frequent Tomcat catalina.log messages "INFO: Illegal access: this web application instance has been stopped already."? I do not want to disable INFO level logging, so it would be nice to stop the root of the problem. I tried disabling RSS and Lucence and they still keep coming out. The full log entry looks like this: May 8, 2005 9:34:09 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load org.xml.sax.helpers.XMLReaderFactory. 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.

          A:I found this explanation from web: It is possible that this is caused by Tomcat unsuccessfully reloading the web application. The app is unloaded, but all threads don't get shut down properly. As a result, when the threads try to run, they get clobbered by the fact that Tomcat has shut down its classloader, and an error is logged. The best fix is to turn off automatic webapp reloading for the application: in Tomcat's server.xml , find the <Context> declaration, and ensure it is set to: reloadable="false"

          posted on 2008-07-10 09:00 飛飛 閱讀(12519) 評(píng)論(6)  編輯  收藏

          Feedback

          # re: Illegal access: this web application instance has been stopped already[未登錄](méi) 2009-01-18 13:14 Jeff
          Even though im not asian and have a hard time figuring out what all those "asian"-characters mean, I am very happy your answer is in english!

          It helped me alot!
          Thanks and kind regards from the Netherlands! :)  回復(fù)  更多評(píng)論
            

          # re: Illegal access: this web application instance has been stopped already[未登錄](méi) 2009-02-26 14:19 qq
          Illegal access: this web application instance has been stopped already. Could not load java.net.BindException. 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.  回復(fù)  更多評(píng)論
            

          # re: Illegal access: this web application instance has been stopped already[未登錄](méi) 2009-05-13 16:59 king
          看下是不是數(shù)據(jù)庫(kù)的jar包房重復(fù)了呢!  回復(fù)  更多評(píng)論
            

          # re: Illegal access: this web application instance has been stopped already 2012-06-12 14:24 likaiminjiejie
          我也遇到過(guò)這樣的問(wèn)題,可能是由于重啟tomcat所造成的,把myeclipse關(guān)了,重啟啟動(dòng)一下,就好了,可以嘗試一下~  回復(fù)  更多評(píng)論
            

          # re: Illegal access: this web application instance has been stopped already 2012-11-30 16:59 Byyuchendengyue
          I meet this today,What a fuck day !Hope the right resolves can be posted in time to make it;and I found that RESTART does not have any use of this.......  回復(fù)  更多評(píng)論
            

          # re: Illegal access: this web application instance has been stopped already 2012-12-14 11:35 遺失的天使
          java太難學(xué)了  回復(fù)  更多評(píng)論
            


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 资中县| 南充市| 锡林浩特市| 花莲市| 金塔县| 凤城市| 石家庄市| 翁源县| 岗巴县| 綦江县| 建瓯市| 兴隆县| 曲麻莱县| 凤山县| 宜昌市| 平谷区| 普兰县| 寿阳县| 增城市| 卢龙县| 泗水县| 寻甸| 临海市| 奇台县| 辽阳市| 漳浦县| 紫金县| 琼海市| 台江县| 读书| 承德市| 六安市| 绥芬河市| 舞阳县| 锦州市| 彰化市| 武功县| 商城县| 永济市| 綦江县| 靖宇县|