SHARE
TWEET

Chris

a guest Nov 18th, 2008 156 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [11/18/08 9:42:09:981 EST] 00000021 WebApp        E   [Servlet Error]-[dispatcher]: org.springframework.dao.DataAccessResourceFailureException: could not execute query; nested exception is org.hibernate.exception.JDBCConnectionException: could not execute query
  2.         at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:612)
  3.         at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
  4.         at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)
  5.         at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
  6.         at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:917)
  7.         at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:909)
  8.         at LoginDAO.findByStoreIdandPassword(LoginDAO.java:24)
  9.         at LoginService.findByStoreIdandPassword(LoginService.java:27)
  10.         at LoginValidator.validate(LoginValidator.java:22)
  11.         at org.springframework.validation.ValidationUtils.invokeValidator(ValidationUtils.java:63)
  12.         at org.springframework.web.servlet.mvc.BaseCommandController.bindAndValidate(BaseCommandController.java:395)
  13.         at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:263)
  14.         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  15.         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  16.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  17.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  18.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  19.         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  20.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
  21.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
  22.         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
  23.         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
  24.         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
  25.         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
  26.         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
  27.         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
  28.         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
  29.         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
  30.         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
  31.         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
  32.         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
  33.         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
  34.         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
  35.         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
  36.         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
  37.         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
  38.         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
  39.         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
  40. Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query
  41.         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)
  42.         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  43.         at org.hibernate.loader.Loader.doList(Loader.java:2223)
  44.         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  45.         at org.hibernate.loader.Loader.list(Loader.java:2099)
  46.         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  47.         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  48.         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  49.         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  50.         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  51.         at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:926)
  52.         at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
  53.         ... 35 more
  54. Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: Communication link failure.(Connection reset)
  55.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  56.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
  57.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  58.         at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
  59.         at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
  60.         at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
  61.         at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:909)
  62.         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2118)
  63.         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2017)
  64.         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
  65.         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
  66.         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  67.         at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
  68.         at org.hibernate.loader.Loader.doQuery(Loader.java:673)
  69.         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  70.         at org.hibernate.loader.Loader.doList(Loader.java:2220)
  71.         ... 44 more
  72. ---- Begin backtrace for Nested Throwables
  73. java.sql.SQLException: Communication link failure.(Connection reset)
  74.         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:480)
  75.         at com.ibm.as400.access.AS400JDBCConnection.sendAndReceive(AS400JDBCConnection.java:2603)
  76.         at com.ibm.as400.access.AS400JDBCConnection.sendAndReceive(AS400JDBCConnection.java:2516)
  77.         at com.ibm.as400.access.JDTransactionManager.setCommitMode(JDTransactionManager.java:591)
  78.         at com.ibm.as400.access.JDTransactionManager.setAutoCommit(JDTransactionManager.java:542)
  79.         at com.ibm.as400.access.AS400JDBCConnection.setAutoCommit(AS400JDBCConnection.java:2649)
  80.         at com.ibm.as400.access.AS400JDBCConnectionHandle.setAutoCommit(AS400JDBCConnectionHandle.java:1113)
  81.         at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.enforceAutoCommit(WSRdbManagedConnectionImpl.java:897)
  82.         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:722)
  83.         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2062)
  84.         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2017)
  85.         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
  86.         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
  87.         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  88.         at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
  89.         at org.hibernate.loader.Loader.doQuery(Loader.java:673)
  90.         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  91.         at org.hibernate.loader.Loader.doList(Loader.java:2220)
  92.         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  93.         at org.hibernate.loader.Loader.list(Loader.java:2099)
  94.         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  95.         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  96.         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  97.         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  98.         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  99.         at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:926)
  100.         at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
  101.         at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
  102.         at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:917)
  103.         at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:909)
  104.         at LoginDAO.findByStoreIdandPassword(LoginDAO.java:24)
  105.         at LoginService.findByStoreIdandPassword(LoginService.java:27)
  106.         at LoginValidator.validate(LoginValidator.java:22)
  107.         at org.springframework.validation.ValidationUtils.invokeValidator(ValidationUtils.java:63)
  108.         at org.springframework.web.servlet.mvc.BaseCommandController.bindAndValidate(BaseCommandController.java:395)
  109.         at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:263)
  110.         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  111.         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  112.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  113.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  114.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  115.         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  116.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
  117.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
  118.         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
  119.         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
  120.         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
  121.         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
  122.         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
  123.         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
  124.         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
  125.         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
  126.         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
  127.         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
  128.         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
  129.         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
  130.         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
  131.         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
  132.         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
  133.         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
  134.         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
  135.         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top