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

查询数据库显示记录时jboss提示这些错误,但记录已显示出来,有谁知道,请说说问题在哪?
10:37:34,546   INFO     [WebappClassLoader]   Illegal   access:   this   web   application   instance   has   been   stoppe
d   already.     Could   not   load   java.io.PrintWriter.     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   i
llegal   access,   and   has   no   functional   impact.
java.lang.IllegalStateException
                at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
                at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
                at   java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                at   com.mysql.jdbc.Util.stackTraceToString(Util.java:320)
                at   com.mysql.jdbc.SQLError.createLinkFailureMessageBasedOnHeuristics(SQLError.java:1244)
                at   com.mysql.jdbc.CommunicationsException. <init> (CommunicationsException.java:53)
                at   com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1070)
                at   com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2720)
                at   com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1380)
                at   com.mysql.jdbc.Connection.realClose(Connection.java:4048)
                at   com.mysql.jdbc.Connection.cleanup(Connection.java:1247)
                at   com.mysql.jdbc.Connection.finalize(Connection.java:2556)
                at   java.lang.ref.Finalizer.invokeFinalizeMethod(Native   Method)
                at   java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
                at   java.lang.ref.Finalizer.access$100(Finalizer.java:14)
                at   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

------解决方案--------------------
帮顶