|
|
|
org.springframework.orm.hibernate3.HibernateSystemException: JDBC commit failed; nested exception is org.hibernate.TransactionException: JDBC commit failed
|
|
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
|
|
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:102)
|
|
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:471)
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
|
|
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
|
|
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
|
|
at $Proxy484.getUserSettings(Unknown Source)
|
|
at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:130)
|
|
at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:87)
|
|
at com.silverpeas.gallery.control.ejb.GalleryBmEJB.notifyUsers(GalleryBmEJB.java:778)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
|
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
|
|
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
|
|
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
|
|
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
|
|
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
|
|
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
|
|
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
|
|
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
|
|
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
|
|
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
|
|
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
|
|
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
|
|
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
|
|
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
|
|
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
|
|
at org.jboss.ejb.Container.invoke(Container.java:1072)
|
|
at sun.reflect.GeneratedMethodAccessor419.invoke(Unknown Source)
|
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
|
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
|
|
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
|
|
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
|
|
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
|
|
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
|
|
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
|
|
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
|
|
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
|
|
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
|
|
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
|
|
at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
|
|
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
|
|
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
|
|
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
|
|
at $Proxy315.notifyUsers(Unknown Source)
|
|
at com.silverpeas.gallery.control.GallerySessionController.sendAskOrder(GallerySessionController.java:1494)
|
|
at com.silverpeas.gallery.servlets.GalleryRequestRouter.getDestination(GalleryRequestRouter.java:1445)
|
|
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:195)
|
|
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:84)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
|
|
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
|
|
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
|
|
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
|
|
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
|
|
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
|
|
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
|
|
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
|
|
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
|
|
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
|
|
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
|
|
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
|
|
at java.lang.Thread.run(Thread.java:662)
|
|
Caused by: org.hibernate.TransactionException: JDBC commit failed
|
|
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
|
|
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:76)
|
|
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:467)
|
|
... 81 more
|
|
Caused by: java.sql.SQLException: You cannot commit during a managed transaction!
|
|
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:661)
|
|
at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:496)
|
|
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166)
|
|
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
|
|
... 83 more
|