-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: WAS7.0.0.23,HIBERNATE 4.1.4,SPRING3.1 Exception
PostPosted: Fri Jun 29, 2012 12:00 pm 
Newbie

Joined: Fri Jun 29, 2012 11:45 am
Posts: 1
my application deployed on hibernate + WAS ,everything is ok,but was generate logs with exception every transaction(CMT), how fix it ?

hibernate configration:
Code:
<jee:jndi-lookup id="dataSource" jndi-name="${jndi.name}" cache="true" resource-ref="true" lookup-on-startup="false" proxy-interface="javax.sql.DataSource" />
<tx:annotation-driven />
<tx:jta-transaction-manager />
<!--
<bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager">
  <property name="sessionFactory" ref="sessionFactory"></property>
</bean>
  -->
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
  <property name="dataSource" ref="dataSource" />
  <property name="namingStrategy">
   <bean class="config.LocalNamingStrategy" />
  </property>
  <property name="packagesToScan">
   <list>
    <value>models</value>
 
   </list>
  </property>
  <property name="hibernateProperties">
   <props>
    <prop key="hibernate.dialect">${hibernate.dialect}</prop>
    <prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop>
    <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
    <prop key="hibernate.default_schema">${hibernate.default_schema}</prop>
    <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>
    <prop key="hibernate.current_session_context_class">jta</prop>
    <prop key="hibernate.transaction.flush_before_completion">true</prop>
    <prop key="hibernate.transaction.auto_close_session">true</prop>
    <prop key="hibernate.transaction.factory_class">org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory</prop>
    <prop key="hibernate.transaction.jta.platform">org.hibernate.service.jta.platform.internal.WebSphereExtendedJtaPlatform</prop   </props>
  </property>
</bean>

<bean id="hibernateDAO" class="dao.HibernateDAO">
  <property name="sessionFactory" ref="sessionFactory" />
</bean>




exception:(log4j use DEBUG level)


Quote:


************ Start Display Current Environment ************
WebSphere Platform 7.0.0.23 [ND 7.0.0.23 cf231218.02] running with process name was179Cell01\was179Node01\btc179 and process id 29851
Host Operating System is Linux, version 2.6.18-274.el5
Java version = 1.6.0, Java Compiler = j9jit24, Java VM name = IBM J9 VM
was.install.root = /opt/WAS
user.install.root = /opt/WAS/profiles/AppSrv01
Java Home = /opt/WAS/java/jre
ws.ext.dirs = /opt/WAS/java/lib:/opt/WAS/profiles/AppSrv01/classes:/opt/WAS/classes:/opt/WAS/lib:/opt/WAS/installedChannels:/opt/WAS/lib/ext:/opt/WAS/web/help:/opt/WAS/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /opt/WAS/profiles/AppSrv01/properties:/opt/WAS/properties:/opt/WAS/lib/startup.jar:/opt/WAS/lib/bootstrap.jar:/opt/WAS/lib/jsf-nls.jar:/opt/WAS/lib/lmproxy.jar:/opt/WAS/lib/urlprotocols.jar:/opt/WAS/deploytool/itp/batchboot.jar:/opt/WAS/deploytool/itp/batch2.jar:/opt/WAS/java/lib/tools.jar
Java Library path = /opt/WAS/java/jre/lib/amd64/compressedrefs:/opt/WAS/java/jre/lib/amd64:/opt/WAS/bin::/usr/lib
************* End Display Current Environment *************
[6/29/12 21:22:49:186 GMT+08:00] 0000003f RegisteredSyn E WTRN0074E: Exception caught from after_completion synchronization operation: org.hibernate.HibernateException: proxy handle is no longer valid
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.errorIfInvalid(AbstractProxyHandler.java:63)
at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:100)
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
at $Proxy59.getWrappedObject(Unknown Source)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:215)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.cleanup(JdbcResourceRegistryImpl.java:189)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:206)
at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.close(LogicalConnectionImpl.java:197)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:141)
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(TransactionCoordinatorImpl.java:276)
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:353)
at org.hibernate.internal.SessionImpl.managedClose(SessionImpl.java:544)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.afterCompletion(SynchronizationCallbackCoordinatorImpl.java:132)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.afterCompletion(RegisteredSynchronization.java:61)
at org.hibernate.service.jta.platform.internal.WebSphereExtendedJtaPlatform$TransactionManagerAdapter$TransactionAdapter$1.invoke(WebSphereExtendedJtaPlatform.java:173)
at $Proxy57.afterCompletion(Unknown Source)
at com.ibm.ws.jtaextensions.SynchronizationCallbackWrapper.afterCompletion(SynchronizationCallbackWrapper.java:75)
at com.ibm.tx.jta.RegisteredSyncs.coreDistributeAfter(RegisteredSyncs.java:357)
at com.ibm.ws.tx.jta.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:317)
at com.ibm.tx.jta.TransactionImpl.distributeAfter(TransactionImpl.java:2949)
at com.ibm.tx.jta.TransactionImpl.postCompletion(TransactionImpl.java:2908)
at com.ibm.tx.jta.TransactionImpl.postCompletion(TransactionImpl.java:2821)
at com.ibm.tx.jta.TransactionImpl.commitXAResources(TransactionImpl.java:1783)
at com.ibm.ws.tx.jta.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:553)
at com.ibm.tx.jta.TransactionImpl.processCommit(TransactionImpl.java:986)
at com.ibm.tx.jta.TransactionImpl.commit(TransactionImpl.java:920)
at com.ibm.ws.tx.jta.TranManagerImpl.commit(TranManagerImpl.java:436)
at com.ibm.tx.jta.TranManagerSet.commit(TranManagerSet.java:161)
at com.ibm.ws.uow.UOWManagerImpl.uowCommit(UOWManagerImpl.java:1224)
at com.ibm.ws.uow.UOWManagerImpl.uowEnd(UOWManagerImpl.java:1194)
at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:1142)
at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:629)
at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:127)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at dao.HibernateDAO$$EnhancerByCGLIB$$443bb4c4.findByCriteria(<generated>)
at com.wanda.btc.common.service.WorkIsReadMarkService.workIsReadMark(WorkIsReadMarkService.java:40)
at com.wanda.btc.common.action.ProjectAction.warning_mark(ProjectAction.java:294)
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:878)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1280)
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1356)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1332)
at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.callMethod(CompoundRootAccessor.java:232)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1356)
at ognl.ASTMethod.getValueBody(ASTMethod.java:90)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.Ognl.getValue(Ognl.java:494)
at com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:233)
at com.opensymphony.xwork2.ognl.OgnlValueStack.getValue(OgnlValueStack.java:355)
at com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:344)
at com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValueWhenExpressionIsNotNull(OgnlValueStack.java:320)
at com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:306)
at org.apache.struts2.components.Component.findValue(Component.java:382)
at org.apache.struts2.components.If.start(If.java:86)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53)
at com.ibm._jsp._project_2D_tenderPlanList._jspx_meth_s_if_2(_project_2D_tenderPlanList.java:737)
at com.ibm._jsp._project_2D_tenderPlanList._jspx_meth_s_if_1(_project_2D_tenderPlanList.java:784)
at com.ibm._jsp._project_2D_tenderPlanList._jspx_meth_s_iterator_0(_project_2D_tenderPlanList.java:1590)
at com.ibm._jsp._project_2D_tenderPlanList._jspx_meth_s_form_0(_project_2D_tenderPlanList.java:1738)
at com.ibm._jsp._project_2D_tenderPlanList._jspService(_project_2D_tenderPlanList.java:152)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:259)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:372)
at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:157)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:374)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:278)
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.wanda.btc.common.interceptor.FlowParameterInterceptor.doIntercept(FlowParameterInterceptor.java:32)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at interceptor.AuthInterceptor.doIntercept(AuthInterceptor.java:84)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at sso.interceptor.SsoLoginInterceptor.doIntercept(SsoLoginInterceptor.java:55)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:510)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:997)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:1062)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:982)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
[6/29/12 21:22:49:238 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,238 DEBUG [org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl] - <successfully registered Synchronization>
[6/29/12 21:22:49:239 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,238 DEBUG [org.hibernate.internal.SessionImpl] - <Opened session at timestamp: 13409761692>
[6/29/12 21:22:49:239 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,239 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] - <Obtaining JDBC connection>
[6/29/12 21:22:49:239 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,239 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] - <Obtained JDBC connection>
[6/29/12 21:22:49:239 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,239 DEBUG [org.hibernate.SQL] - <select * from ( select supplierty0_.id as id62_, supplierty0_.code as code62_, supplierty0_.create_time as create3_62_, supplierty0_.edit_time as edit4_62_, supplierty0_.history as history62_, supplierty0_.if_disabled as if6_62_, supplierty0_.name as name62_, supplierty0_.parent_id as parent8_62_, supplierty0_.position as position62_, supplierty0_.root_id as root10_62_, supplierty0_.short_name as short11_62_, (select COUNT(*) from btc_tender_supplier_type_cate d where d.parent_id=0 or d.parent_id is NULL) as formula17_, (select COUNT(*) from btc_tender_supplier_type_cate d where d.parent_id = supplierty0_.id) as formula18_ from BTC11.btc_tender_supplier_type_cate supplierty0_ where supplierty0_.code=? ) where rownum <= ?>
[6/29/12 21:22:49:239 GMT+08:00] 0000003f SystemOut O Hibernate: select * from ( select supplierty0_.id as id62_, supplierty0_.code as code62_, supplierty0_.create_time as create3_62_, supplierty0_.edit_time as edit4_62_, supplierty0_.history as history62_, supplierty0_.if_disabled as if6_62_, supplierty0_.name as name62_, supplierty0_.parent_id as parent8_62_, supplierty0_.position as position62_, supplierty0_.root_id as root10_62_, supplierty0_.short_name as short11_62_, (select COUNT(*) from btc_tender_supplier_type_cate d where d.parent_id=0 or d.parent_id is NULL) as formula17_, (select COUNT(*) from btc_tender_supplier_type_cate d where d.parent_id = supplierty0_.id) as formula18_ from BTC11.btc_tender_supplier_type_cate supplierty0_ where supplierty0_.code=? ) where rownum <= ?
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 WARN [org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl] - <HHH000387: ResultSet's statement was not registered>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.loader.Loader] - <Result set row: 0>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.loader.Loader] - <Result row: EntityKey[com.wanda.btc.tender.outside.model.SupplierTypeCate#15385]>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] - <Skipping aggressive release due to registered resources>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.engine.internal.TwoPhaseLoad] - <Resolving associations for [com.wanda.btc.tender.outside.model.SupplierTypeCate#15385]>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.engine.internal.TwoPhaseLoad] - <Done materializing entity [com.wanda.btc.tender.outside.model.SupplierTypeCate#15385]>
[6/29/12 21:22:49:240 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,240 DEBUG [org.hibernate.engine.internal.StatefulPersistenceContext] - <Initializing non-lazy collections>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] - <Processing flush-time cascades>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] - <Dirty checking collections>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] - <Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] - <Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.internal.util.EntityPrinter] - <Listing entities:>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.internal.util.EntityPrinter] - <com.wanda.btc.tender.outside.model.SupplierTypeCate{parentId=15383, shortName=浜岀被, createTime=null, position=2, parent=com.wanda.btc.tender.outside.model.SupplierTypeCate#null, name=浜岀被鏍? isRoot=2, code=ELZB, history=(15385)(15383), editTime=null, subDictCount=4, ifDisabled=false, id=15385, rootId=15383}>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] - <Skipping aggressive release due to registered resources>
[6/29/12 21:22:49:241 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,241 INFO [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] - <HHH000106: Forcing container resource cleanup on transaction completion>
[6/29/12 21:22:49:242 GMT+08:00] 0000003f SystemOut O 2012-06-29 21:22:49,242 DEBUG [org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler] - <HHH000162: *** Logical connection closed ***>
[6/29/12 21:22:49:242 GMT+08:00] 0000003f RegisteredSyn E WTRN0074E: Exception caught from after_completion synchronization operation: org.hibernate.HibernateException: proxy handle is no longer valid
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.errorIfInvalid(AbstractProxyHandler.java:63)
at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:100)
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
at $Proxy59.getWrappedObject(Unknown Source)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:215)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.cleanup(JdbcResourceRegistryImpl.java:189)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:206)
at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.close(LogicalConnectionImpl.java:197)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:141)
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(TransactionCoordinatorImpl.java:276)
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:353)
at org.hibernate.internal.SessionImpl.managedClose(SessionImpl.java:544)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.afterCompletion(SynchronizationCallbackCoordinatorImpl.java:132)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.afterCompletion(RegisteredSynchronization.java:61)
at org.hibernate.service.jta.platform.internal.WebSphereExtendedJtaPlatform$TransactionManagerAdapter$TransactionAdapter$1.invoke(WebSphereExtendedJtaPlatform.java:173)
at $Proxy57.afterCompletion(Unknown Source)
at com.ibm.ws.jtaextensions.SynchronizationCallbackWrapper.afterCompletion(SynchronizationCallbackWrapper.java:75)
at com.ibm.tx.jta.RegisteredSyncs.coreDistributeAfter(RegisteredSyncs.java:357)
at com.ibm.ws.tx.jta.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:317)
at com.ibm.tx.jta.TransactionImpl.distributeAfter(TransactionImpl.java:2949)
at com.ibm.tx.jta.TransactionImpl.postCompletion(TransactionImpl.java:2908)
at com.ibm.tx.jta.TransactionImpl.postCompletion(TransactionImpl.java:2821)
at com.ibm.tx.jta.TransactionImpl.commitXAResources(TransactionImpl.java:1783)
at com.ibm.ws.tx.jta.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:553)
at com.ibm.tx.jta.TransactionImpl.processCommit(TransactionImpl.java:986)
at com.ibm.tx.jta.TransactionImpl.commit(TransactionImpl.java:920)
at com.ibm.ws.tx.jta.TranManagerImpl.commit(TranManagerImpl.java:436)
at com.ibm.tx.jta.TranManagerSet.commit(TranManagerSet.java:161)
at com.ibm.ws.uow.UOWManagerImpl.uowCommit(UOWManagerImpl.java:1224)
at com.ibm.ws.uow.UOWManagerImpl.uowEnd(UOWManagerImpl.java:1194)
at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:1142)
at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:629)
at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:127)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at dao.HibernateDAO$$EnhancerByCGLIB$$443bb4c4.getByProperty(<generated>)
at service.impl.CommonService.getByProperty(CommonService.java:32)
at com.wanda.btc.common.action.FlowBaseAction.getTypeCateNameByCode(FlowBaseAction.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:878)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1280)
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:101)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1356)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1332)
at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.callMethod(CompoundRootAccessor.java:232)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1356)
at ognl.ASTMethod.getValueBody(ASTMethod.java:90)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.Ognl.getValue(Ognl.java:494)



Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.