Results 1 to 6 of 6
  1. #1
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    40
    Rep Power
    0

    Default persistance error

    Hi all,
    i got this exception in one of my methods after half an hour, maybe 1 hour after the application start:
    javax.persistence.PersistenceException: org.hibernate.TransactionException: cannot re-start transaction after failed commit

    i got this error in
    PHP Code:
     public Intermed getIntermed(int agentId) {
    
            Intermed intermedObj = null;       
            List rs = new ArrayList();
            String sql = "FROM Intermed WHERE agentID=:agId AND connect!=0 AND complete=0 AND error=NULL OR error=0";
            Query q = this.em.createQuery(sql).setHint("org.hibernate.cacheable", false).setParameter("agId", agentId);
            rs = q.getResultList();
            if(rs.size() == 1)
                intermedObj = (Intermed) rs.get(0);
           
            return intermedObj;
        }
    at this line : Query q = this.em.createQuery(sql)....

    any ideeas ?

    thanks

    ps. i use JPA 1, hibernate, spring dependency injection and struts2
    Last edited by videanuadrian; 12-09-2010 at 07:14 AM. Reason: forgot something

  2. #2
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    40
    Rep Power
    0

    Default

    ps. i use JPA 1, hibernate, spring dependency injection and struts2

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default

    Are there any other SQL statements run prior to this as part of this transaction?

    Also have you got the full stack trace (just in case)?

  4. #4
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    40
    Rep Power
    0

    Default

    Hi, thanks for reply.
    This method is called from a struts2 action every second, due the fact that a have a ajax call to that struts action. So, it seems that after half an hour or so i got this error.


    Struts has detected an unhandled exception:
    Messages:

    1. cannot re-start transaction after failed commit
    2. org.hibernate.TransactionException: cannot re-start transaction after failed commit

    File: org/hibernate/transaction/JDBCTransaction.java
    Line number: 51
    Stacktraces
    javax.persistence.PersistenceException: org.hibernate.TransactionException: cannot re-start transaction after failed commit

    org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :637)
    org.hibernate.ejb.TransactionImpl.begin(Transactio nImpl.java:41)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.enli stInCurrentTransaction(ExtendedEntityManagerCreato r.java:414)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.doJo inTransaction(ExtendedEntityManagerCreator.java:39 1)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.invo ke(ExtendedEntityManagerCreator.java:349)
    $Proxy117.createQuery(Unknown Source)
    xxx.vs.common.services.IntermedServiceImpl.getInte rmed(IntermedServiceImpl.java:20)
    xxx.vs.common.services.IntermedServiceImpl$$FastCl assByCGLIB$$f5fcb6a7.invoke()
    net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy. java:149)
    org.springframework.aop.framework.Cglib2AopProxy$C glibMethodInvocation.invokeJoinpoint(Cglib2AopProx y.java:700)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
    org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:106)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    org.springframework.aop.framework.Cglib2AopProxy$D ynamicAdvisedInterceptor.intercept(Cglib2AopProxy. java:635)
    xxx.vs.common.services.IntermedServiceImpl$$Enhanc erByCGLIB$$d67800a8.getIntermed()
    xxx.vs.common.actions.PopupAction.execute(PopupAct ion.java:34)
    sun.reflect.GeneratedMethodAccessor113.invoke(Unkn own Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    com.opensymphony.xwork2.DefaultActionInvocation.in vokeAction(DefaultActionInvocation.java:441)
    com.opensymphony.xwork2.DefaultActionInvocation.in vokeActionOnly(DefaultActionInvocation.java:280)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:243)
    com.opensymphony.xwork2.interceptor.DefaultWorkflo wInterceptor.doIntercept(DefaultWorkflowIntercepto r.java:165)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.validator.ValidationInterc eptor.doIntercept(ValidationInterceptor.java:252)
    org.apache.struts2.interceptor.validation.Annotati onValidationInterceptor.doIntercept(AnnotationVali dationInterceptor.java:68)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ConversionErro rInterceptor.intercept(ConversionErrorInterceptor. java:122)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ParametersInte rceptor.doIntercept(ParametersInterceptor.java:195 )
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ParametersInte rceptor.doIntercept(ParametersInterceptor.java:195 )
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.StaticParamete rsInterceptor.intercept(StaticParametersIntercepto r.java:179)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.MultiselectIntercep tor.intercept(MultiselectInterceptor.java:75)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.CheckboxInterceptor .intercept(CheckboxInterceptor.java:94)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.FileUploadIntercept or.intercept(FileUploadInterceptor.java:235)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ModelDrivenInt erceptor.intercept(ModelDrivenInterceptor.java:89)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ScopedModelDri venInterceptor.intercept(ScopedModelDrivenIntercep tor.java:130)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.debugging.Debugging Interceptor.intercept(DebuggingInterceptor.java:26 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ChainingInterc eptor.intercept(ChainingInterceptor.java:126)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.PrepareInterce ptor.doIntercept(PrepareInterceptor.java:138)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.I18nIntercepto r.intercept(I18nInterceptor.java:165)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.ServletConfigInterc eptor.intercept(ServletConfigInterceptor.java:164)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.AliasIntercept or.intercept(AliasInterceptor.java:179)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ExceptionMappi ngInterceptor.intercept(ExceptionMappingIntercepto r.java:176)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    xxx.vs.common.utils.AuthenticationInterceptor.inte rcept(AuthenticationInterceptor.java:57)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.impl.StrutsActionProxy.execute( StrutsActionProxy.java:52)
    org.apache.struts2.dispatcher.Dispatcher.serviceAc tion(Dispatcher.java:488)
    org.apache.struts2.dispatcher.ng.ExecuteOperations .executeAction(ExecuteOperations.java:77)
    org.apache.struts2.dispatcher.ng.filter.StrutsPrep areAndExecuteFilter.doFilter(StrutsPrepareAndExecu teFilter.java:91)
    org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:256)
    org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:215)
    org.springframework.orm.jpa.support.OpenEntityMana gerInViewFilter.doFilterInternal(OpenEntityManager InViewFilter.java:112)
    org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:256)
    org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:215)
    org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:277)
    org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:188)
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:97)
    com.sun.enterprise.web.PESessionLockingStandardPip eline.invoke(PESessionLockingStandardPipeline.java :85)
    org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:185)
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    org.apache.catalina.connector.CoyoteAdapter.doServ ice(CoyoteAdapter.java:322)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:226)
    com.sun.enterprise.v3.services.impl.ContainerMappe r.service(ContainerMapper.java:165)
    com.sun.grizzly.http.ProcessorTask.invokeAdapter(P rocessorTask.java:791)
    com.sun.grizzly.http.ProcessorTask.doProcess(Proce ssorTask.java:693)
    com.sun.grizzly.http.ProcessorTask.process(Process orTask.java:954)
    com.sun.grizzly.http.DefaultProtocolFilter.execute (DefaultProtocolFilter.java:170)
    com.sun.grizzly.DefaultProtocolChain.executeProtoc olFilter(DefaultProtocolChain.java:135)
    com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:102)
    com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:88)
    com.sun.grizzly.http.HttpProtocolChain.execute(Htt pProtocolChain.java:76)
    com.sun.grizzly.ProtocolChainContextTask.doCall(Pr otocolChainContextTask.java:53)
    com.sun.grizzly.SelectionKeyContextTask.call(Selec tionKeyContextTask.java:57)
    com.sun.grizzly.ContextTask.run(ContextTask.java:6 9)
    com.sun.grizzly.util.AbstractThreadPool$Worker.doW ork(AbstractThreadPool.java:330)
    com.sun.grizzly.util.AbstractThreadPool$Worker.run (AbstractThreadPool.java:309)
    java.lang.Thread.run(Thread.java:636)


    org.hibernate.TransactionException: cannot re-start transaction after failed commit

    org.hibernate.transaction.JDBCTransaction.begin(JD BCTransaction.java:51)
    org.hibernate.impl.SessionImpl.beginTransaction(Se ssionImpl.java:1326)
    org.hibernate.ejb.TransactionImpl.begin(Transactio nImpl.java:38)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.enli stInCurrentTransaction(ExtendedEntityManagerCreato r.java:414)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.doJo inTransaction(ExtendedEntityManagerCreator.java:39 1)
    org.springframework.orm.jpa.ExtendedEntityManagerC reator$ExtendedEntityManagerInvocationHandler.invo ke(ExtendedEntityManagerCreator.java:349)
    $Proxy117.createQuery(Unknown Source)
    xxx.vs.common.services.IntermedServiceImpl.getInte rmed(IntermedServiceImpl.java:20)
    xxx.vs.common.services.IntermedServiceImpl$$FastCl assByCGLIB$$f5fcb6a7.invoke()
    net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy. java:149)
    org.springframework.aop.framework.Cglib2AopProxy$C glibMethodInvocation.invokeJoinpoint(Cglib2AopProx y.java:700)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
    org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:106)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    org.springframework.aop.framework.Cglib2AopProxy$D ynamicAdvisedInterceptor.intercept(Cglib2AopProxy. java:635)
    xxx.vs.common.services.IntermedServiceImpl$$Enhanc erByCGLIB$$d67800a8.getIntermed()
    xxx.vs.common.actions.PopupAction.execute(PopupAct ion.java:34)
    sun.reflect.GeneratedMethodAccessor113.invoke(Unkn own Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    com.opensymphony.xwork2.DefaultActionInvocation.in vokeAction(DefaultActionInvocation.java:441)
    com.opensymphony.xwork2.DefaultActionInvocation.in vokeActionOnly(DefaultActionInvocation.java:280)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:243)
    com.opensymphony.xwork2.interceptor.DefaultWorkflo wInterceptor.doIntercept(DefaultWorkflowIntercepto r.java:165)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.validator.ValidationInterc eptor.doIntercept(ValidationInterceptor.java:252)
    org.apache.struts2.interceptor.validation.Annotati onValidationInterceptor.doIntercept(AnnotationVali dationInterceptor.java:68)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ConversionErro rInterceptor.intercept(ConversionErrorInterceptor. java:122)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ParametersInte rceptor.doIntercept(ParametersInterceptor.java:195 )
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ParametersInte rceptor.doIntercept(ParametersInterceptor.java:195 )
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.StaticParamete rsInterceptor.intercept(StaticParametersIntercepto r.java:179)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.MultiselectIntercep tor.intercept(MultiselectInterceptor.java:75)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.CheckboxInterceptor .intercept(CheckboxInterceptor.java:94)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.FileUploadIntercept or.intercept(FileUploadInterceptor.java:235)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ModelDrivenInt erceptor.intercept(ModelDrivenInterceptor.java:89)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ScopedModelDri venInterceptor.intercept(ScopedModelDrivenIntercep tor.java:130)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.debugging.Debugging Interceptor.intercept(DebuggingInterceptor.java:26 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ChainingInterc eptor.intercept(ChainingInterceptor.java:126)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.PrepareInterce ptor.doIntercept(PrepareInterceptor.java:138)
    com.opensymphony.xwork2.interceptor.MethodFilterIn terceptor.intercept(MethodFilterInterceptor.java:8 7)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.I18nIntercepto r.intercept(I18nInterceptor.java:165)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.interceptor.ServletConfigInterc eptor.intercept(ServletConfigInterceptor.java:164)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.AliasIntercept or.intercept(AliasInterceptor.java:179)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    com.opensymphony.xwork2.interceptor.ExceptionMappi ngInterceptor.intercept(ExceptionMappingIntercepto r.java:176)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    xxx.vs.common.utils.AuthenticationInterceptor.inte rcept(AuthenticationInterceptor.java:57)
    com.opensymphony.xwork2.DefaultActionInvocation.in voke(DefaultActionInvocation.java:237)
    org.apache.struts2.impl.StrutsActionProxy.execute( StrutsActionProxy.java:52)
    org.apache.struts2.dispatcher.Dispatcher.serviceAc tion(Dispatcher.java:488)
    org.apache.struts2.dispatcher.ng.ExecuteOperations .executeAction(ExecuteOperations.java:77)
    org.apache.struts2.dispatcher.ng.filter.StrutsPrep areAndExecuteFilter.doFilter(StrutsPrepareAndExecu teFilter.java:91)
    org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:256)
    org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:215)
    org.springframework.orm.jpa.support.OpenEntityMana gerInViewFilter.doFilterInternal(OpenEntityManager InViewFilter.java:112)
    org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:256)
    org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:215)
    org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:277)
    org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:188)
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:97)
    com.sun.enterprise.web.PESessionLockingStandardPip eline.invoke(PESessionLockingStandardPipeline.java :85)
    org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:185)
    org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
    org.apache.catalina.connector.CoyoteAdapter.doServ ice(CoyoteAdapter.java:322)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:226)
    com.sun.enterprise.v3.services.impl.ContainerMappe r.service(ContainerMapper.java:165)
    com.sun.grizzly.http.ProcessorTask.invokeAdapter(P rocessorTask.java:791)
    com.sun.grizzly.http.ProcessorTask.doProcess(Proce ssorTask.java:693)
    com.sun.grizzly.http.ProcessorTask.process(Process orTask.java:954)
    com.sun.grizzly.http.DefaultProtocolFilter.execute (DefaultProtocolFilter.java:170)
    com.sun.grizzly.DefaultProtocolChain.executeProtoc olFilter(DefaultProtocolChain.java:135)
    com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:102)
    com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:88)
    com.sun.grizzly.http.HttpProtocolChain.execute(Htt pProtocolChain.java:76)
    com.sun.grizzly.ProtocolChainContextTask.doCall(Pr otocolChainContextTask.java:53)
    com.sun.grizzly.SelectionKeyContextTask.call(Selec tionKeyContextTask.java:57)
    com.sun.grizzly.ContextTask.run(ContextTask.java:6 9)
    com.sun.grizzly.util.AbstractThreadPool$Worker.doW ork(AbstractThreadPool.java:330)
    com.sun.grizzly.util.AbstractThreadPool$Worker.run (AbstractThreadPool.java:309)
    java.lang.Thread.run(Thread.java:636)


    You are seeing this page because development mode is enabled. Development mode, or devMode, enables extra debugging behaviors and reports to assist developers. To disable this mode, set:

    struts.devMode=false

    in your WEB-INF/classes/struts.properties file.

  5. #5
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    40
    Rep Power
    0

    Default

    i see in the glassfish logs messages like :
    [#|2010-12-09T11:19:31.992+0200|INFO|glassfish3.0.1|javax.ent erprise.system.std.com.sun.enterprise.v3.services. impl|_ThreadID=28;_ThreadName=Thread-1;|
    INFO [http-thread-pool-80-(4)] (GooGooStatementCache.java:441) - Multiply prepared statement! select intermed0_.id as id96_, intermed0_.agentID as agentID96_,
    intermed0_.callerID as callerID96_, intermed0_.complete as complete96_, intermed0_.connect as connect96_, intermed0_.dnid as dnid96_, intermed0_.enterQueue as enterQueue96_,
    intermed0_.error as error96_, intermed0_.queueID as queueID96_, intermed0_.toBeDeleted as toBeDel10_96_, intermed0_.uniqueID as uniqueID96_ from intermed intermed0_ where
    intermed0_.agentID=? and intermed0_.connect<>0 and intermed0_.complete=0 and (intermed0_.error is null) or intermed0_.error=0

    maybe this are related to my problem. (this is the query that generates my earlier exception)

  6. #6
    videanuadrian is offline Member
    Join Date
    Dec 2010
    Location
    Bucharest Romania
    Posts
    40
    Rep Power
    0

    Default

    my service class uses @Transactional annotation from spring. Maybe this will help

Similar Threads

  1. Struts 2 persistance for Table values
    By aaruviswa in forum Web Frameworks
    Replies: 1
    Last Post: 12-30-2010, 04:12 AM
  2. Replies: 1
    Last Post: 03-10-2010, 01:53 PM
  3. Multiple persistance unit simultaneously, issue.
    By afrodom in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 03-06-2010, 05:04 PM
  4. Replies: 1
    Last Post: 12-05-2009, 07:28 AM
  5. Intellij-Hibernate persistance model warnings
    By eborix13 in forum IntelliJ IDEA
    Replies: 0
    Last Post: 04-20-2009, 08:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •