- 浏览: 7667 次
- 性别:
- 来自: 北京
最近访客 更多访客>>
文章分类
最新评论
-
peikona:
最简单的方法是使用可以显示汉字的字体,但是普通的中文字体显示英 ...
linux下安装了netbeans开发环璄后,汉字显示成小方格,怎么解决? -
lewhwa:
Quake Wang 写道在Window -> Opti ...
linux下安装了netbeans开发环璄后,汉字显示成小方格,怎么解决? -
flybypower:
新的版本 ruby on rails
只支持 utf8
...
基础问题疑问 -
flybypower:
新的版本 ruby on rails
只支持 utf8
...
基础问题疑问 -
flybypower:
搞定。
的确是缺少字库的原因,copy过来即可。
linux下安装了netbeans开发环璄后,汉字显示成小方格,怎么解决?
错误:mysql hibernete, 付有错误代码 怎么处理?很是着急
引用
[2008-04-27 18:11:37,359] [JDBCExceptionReporter.java logExceptions 71] [org.hib
ernate.util.JDBCExceptionReporter] [WARN]- SQL Error: 0, SQLState: 08S01
[2008-04-27 18:11:37,359] [JDBCExceptionReporter.java logExceptions 72] [org.hib
ernate.util.JDBCExceptionReporter] [ERROR]- Communications link failure due to u
nderlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
MESSAGE: Can not read response from server. Expected to read 4 bytes, read 0 byt
es before connection was unexpectedly lost.
STACKTRACE:
java.io.EOFException: Can not read response from server. Expected to read 4 byte
s, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2411)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryPageObjs(PersistenceMana
ger.java:632)
at com.ksgl.body.shangshi.BO.queryList(BO.java:46)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
** END NESTED EXCEPTION **
Last packet sent to the server was 93 ms ago.
[2008-04-27 18:11:37,515] [BO.java queryList 49] [com.ksgl.body.shangshi.BO] [ER
ROR]- 查询queryList Infos出错!
org.hibernate.exception.JDBCConnectionException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:72)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2150)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryPageObjs(PersistenceMana
ger.java:632)
at com.ksgl.body.shangshi.BO.queryList(BO.java:46)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure d
ue to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
MESSAGE: Can not read response from server. Expected to read 4 bytes, read 0 byt
es before connection was unexpectedly lost.
STACKTRACE:
java.io.EOFException: Can not read response from server. Expected to read 4 byte
s, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2411)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryPageObjs(PersistenceMana
ger.java:632)
at com.ksgl.body.shangshi.BO.queryList(BO.java:46)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
** END NESTED EXCEPTION **
Last packet sent to the server was 93 ms ago.
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2622)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
... 72 more
Hibernate: select userinfo0_.members_id as members1_7_, userinfo0_.username as u
sername7_, userinfo0_.password as password7_, userinfo0_.name as name7_, userinf
o0_.sex as sex7_, userinfo0_.brief as brief7_, userinfo0_.address as address7_,
userinfo0_.post as post7_, userinfo0_.mobile as mobile7_, userinfo0_.phone as ph
one7_, userinfo0_.fax as fax7_, userinfo0_.principal as principal7_, userinfo0_.
corporation as corpora13_7_, userinfo0_.picture as picture7_, userinfo0_.times a
s times7_, userinfo0_.peak as peak7_, userinfo0_.logtimes as logtimes7_, userinf
o0_.sort as sort7_, userinfo0_.review as review7_, userinfo0_.date_added as date
20_7_, userinfo0_.usernamestate as usernam21_7_, userinfo0_.city as city7_ from
userInfo userinfo0_ where 1=1 and userinfo0_.sort=1 order by userinfo0_.times, u
serinfo0_.peak, userinfo0_.logtimes DESC
[2008-04-27 18:11:37,828] [JDBCExceptionReporter.java logExceptions 71] [org.hib
ernate.util.JDBCExceptionReporter] [WARN]- SQL Error: 0, SQLState: 08S01
[2008-04-27 18:11:37,828] [JDBCExceptionReporter.java logExceptions 72] [org.hib
ernate.util.JDBCExceptionReporter] [ERROR]- Communications link failure due to u
nderlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: socket write error
STACKTRACE:
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2744)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1612)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryObjs(PersistenceManager.
java:298)
at com.ksgl.body.shangshi.BO.queryList(BO.java:66)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
** END NESTED EXCEPTION **
Last packet sent to the server was 0 ms ago.
[2008-04-27 18:11:39,000] [PersistenceManager.java queryObjs 301] [com.core.pers
istence.PersistenceManager] [ERROR]- queryObjs方法出错:org.hibernate.exception.J
DBCConnectionException: could not execute query
[2008-04-27 18:11:39,046] [BO.java queryList 69] [com.ksgl.body.shangshi.BO] [ER
ROR]- 查询queryList Infos出错!
com.core.persistence.PersistenceException: org.hibernate.exception.JDBCConnectio
nException: could not execute query
at com.core.persistence.PersistenceManager.queryObjs(PersistenceManager.
java:303)
at com.ksgl.body.shangshi.BO.queryList(BO.java:66)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute qu
ery
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:72)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2150)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryObjs(PersistenceManager.
java:298)
... 64 more
Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure d
ue to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: socket write error
STACKTRACE:
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2744)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1612)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:298)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:137)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1014)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.core.persistence.PersistenceManager.queryObjs(PersistenceManager.
java:298)
at com.ksgl.body.shangshi.BO.queryList(BO.java:66)
at com.ksgl.body.shangshi.QueryAction.execute(QueryAction.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc
tionInvocation.java:385)
at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau
ltActionInvocation.java:240)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:214)
at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.interce
pt(DefaultWorkflowInterceptor.java:55)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
FileUploadInterceptor.java:82)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte
rceptor.java:99)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around
Interceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:32)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn
vocation.java:212)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.
java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:186)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(Servlet
Dispatcher.java:111)
at com.core.web.MainServlet.service(MainServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:619)
** END NESTED EXCEPTION **
Last packet sent to the server was 0 ms ago.
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2759)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1612)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
1448)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
... 72 more
和数据库连接断了,怎么处理?、
相关推荐
标题中的“mysql+struts+hibernete”指的是一个基于Java技术栈的Web应用程序开发模型,其中Mysql是关系型数据库管理系统,Struts是MVC(Model-View-Controller)框架,而Hibernate则是对象关系映射(ORM)工具。...
- 查询与检索:提供高效的数据查询与检索方法,减少手动编写 SQL 代码的需求。 #### 第一部分:安装配置详解 ##### 下载与准备 - **Hibernate 版本**:2.1.7c - **数据库**:MySQL - **应用服务器**:Tomcat 5.0...
开发者可以在JSP页面中嵌入Java代码,实现页面逻辑,同时可以利用EL(Expression Language)和JSTL(JavaServer Pages Standard Tag Library)简化页面编程。 综上所述,Struts+Hibernate在线考试系统是一个集成了...
- **请求拦截与分发**:Struts 作为一个框架,核心是 **Controller**,即 **ActionServlet**,用于接收并处理来自客户端的请求,然后分发给合适的 **Action** 对象处理。 - **表单元素映射**:Struts 提供了一系列...
在Java开发中,Hibernate是一个非常流行的持久化框架,它简化了与关系数据库的交互,使得开发者无需编写大量的SQL代码即可实现对象与数据库之间的映射。本篇将详细讲解Hibernate配置文件`hibernate.cfg.xml`的创建...
在这个项目中,SSH2被整合到一起,使用myEclipse 8.0作为集成开发环境,JDK 1.6.0作为Java运行时环境,MySQL作为数据库,Tomcat 6.0作为应用服务器。 **Struts2** 是一个基于MVC(Model-View-Controller)设计模式...
精心写的hibernate笔记,使用思维导图的方式。可以用这个免费软件打开http://www.xmind.net/
"pam.rar_spring jsf"这个标题暗示我们关注的是一个与Spring、JSF(JavaServer Faces)相关的项目或教程,可能还涉及到Hibernete,这是一个常用的Java ORM(对象关系映射)工具。下面将详细探讨这三个技术及其集成...
然而,随着技术的发展,现代Web开发可能更倾向于使用Spring Boot、Thymeleaf、JPA(或者Hibernete5)和Vue.js等更新的技术栈,但了解并熟练掌握SSH+A对于理解现代Web架构的发展历程仍然至关重要。
Struts2的核心目标是简化开发过程,提高代码的可维护性和可测试性。 在Struts2中,我们首先需要了解的是Action类,它是处理用户请求的核心组件。当用户通过浏览器发送请求时,Struts2框架会根据配置文件(struts....
以下JAR包: antlr-2.7.5H3.jar asm.jar cglib-2.1.2.jar commons-collections-2.1.1.jar commons-pool.jar dom4j-1.6.1.jar ehcache-1.1.jar hibernate3.jar jta.jar log4j-1.2.11.jar Standard.jar