javax.ejb.EJBTransactionRolledbackException: The transaction has been marked rollback only because the bean encountered a non-application exception :org.apache.openjpa.persistence.OptimisticLockException : Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: [ai.ilikeplaces.entities.Url-Url{url='5@akila.com', type=0}]

openejb-users | Ravindranath Akila | 6 years ago
  1. 0

    Non-Application Exception in Session Bean Cascades Destruction of Other Session Beans?

    openejb-users | 6 years ago | Ravindranath Akila
    javax.ejb.EJBTransactionRolledbackException: The transaction has been marked rollback only because the bean encountered a non-application exception :org.apache.openjpa.persistence.OptimisticLockException : Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: [ai.ilikeplaces.entities.Url-Url{url='5@akila.com', type=0}]
  2. 0

    JPA ArgumentException error when doing JOIN FETCH on EAGER shared relation oneToOne

    Stack Overflow | 3 years ago | kij
    javax.ejb.EJBTransactionRolledbackException: The transaction has been marked rollback only because the bean encountered a non-application exception :javax.ejb.EJBTransactionRolledbackException : The transaction has been marked rollback only because the bean encountered a non-application exception :org.apache.openjpa.persistence.ArgumentException : The specified parameter of type "class org.apache.openjpa.util.LongId" is not a valid query parameter.
  3. 0

    Transaction rollback int hibernate lazy after child remove from parent

    Stack Overflow | 2 years ago | Rasoul Taheri
    javax.ejb.EJBTransactionRolledbackException: Transaction was rolled back, presumably because setRollbackOnly was called during a synchronization
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TomEE + EclipseLink: EntityManager injection not working

    Stack Overflow | 5 years ago | Alex Averbuch
    javax.ejb.EJBTransactionRolledbackException: The transaction has been marked rollback only because the bean encountered a non-application exception :javax.ejb.EJBException : null
  6. 0

    TomEE Users - How can I catch OptimisticLockException?

    nabble.com | 1 year ago
    javax.ejb.EJBTransactionRolledbackException: Transaction was rolled back, presum ably because setRollbackOnly was called during a synchronization

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ejb.EJBTransactionRolledbackException

      The transaction has been marked rollback only because the bean encountered a non-application exception :org.apache.openjpa.persistence.OptimisticLockException : Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: [ai.ilikeplaces.entities.Url-Url{url='5@akila.com', type=0}]

      at org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException()
    2. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:345)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:291)[openejb-core-3.1.jar:3.1]
      2 frames
    3. Unknown
      $Proxy101.create
      1. $Proxy101.create(Unknown Source)[na:na]
      1 frame
    4. ai.ilikeplaces.logic
      UHumansIdentity.doUHumansPublicURL
      1. ai.ilikeplaces.logic.crud.unit.UHumansIdentity.doUHumansPublicURL(UHumansIdentity.java:53)[UHumansIdentity.class:na]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_16]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_16]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      4 frames
    6. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)[openejb-core-3.1.jar:3.1]
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211)[openejb-core-3.1.jar:3.1]
      5. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)[openejb-core-3.1.jar:3.1]
      6. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)[openejb-core-3.1.jar:3.1]
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)[openejb-core-3.1.jar:3.1]
      8. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)[openejb-core-3.1.jar:3.1]
      8 frames
    7. Unknown
      $Proxy92.doUHumansPublicURL
      1. $Proxy92.doUHumansPublicURL(Unknown Source)[na:na]
      1 frame
    8. ai.ilikeplaces.logic
      HumanCRUDHuman.doUHumansPublicURL
      1. ai.ilikeplaces.logic.crud.HumanCRUDHuman.doUHumansPublicURL(HumanCRUDHuman.java:305)[HumanCRUDHuman.class:na]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_16]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_16]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      4 frames
    10. OpenEJB :: OSGi :: Core
      ReflectionInvocationContext.proceed
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      2 frames
    11. ai.ilikeplaces.util
      RuntimeExceptionWrapper.profile
      1. ai.ilikeplaces.util.RuntimeExceptionWrapper.profile(RuntimeExceptionWrapper.java:21)[RuntimeExceptionWrapper.class:na]
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      3 frames
    13. OpenEJB :: OSGi :: Core
      ReflectionInvocationContext.proceed
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      2 frames
    14. ai.ilikeplaces.util
      MethodParams.profile
      1. ai.ilikeplaces.util.MethodParams.profile(MethodParams.java:44)[MethodParams.class:na]
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      3 frames
    16. OpenEJB :: OSGi :: Core
      ReflectionInvocationContext.proceed
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      2 frames
    17. ai.ilikeplaces.util
      MethodTimer.profile
      1. ai.ilikeplaces.util.MethodTimer.profile(MethodTimer.java:46)[MethodTimer.class:na]
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      3 frames
    19. OpenEJB :: OSGi :: Core
      ReflectionInvocationContext.proceed
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      2 frames
    20. ai.ilikeplaces.util
      ParamValidator.validate
      1. ai.ilikeplaces.util.ParamValidator.validate(ParamValidator.java:48)[ParamValidator.class:na]
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_16]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_16]
      3 frames
    22. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)[openejb-core-3.1.jar:3.1]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)[openejb-core-3.1.jar:3.1]
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)[openejb-core-3.1.jar:3.1]
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211)[openejb-core-3.1.jar:3.1]
      5. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)[openejb-core-3.1.jar:3.1]
      6. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)[openejb-core-3.1.jar:3.1]
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)[openejb-core-3.1.jar:3.1]
      8. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)[openejb-core-3.1.jar:3.1]
      8 frames
    23. Unknown
      $Proxy80.doUHumansPublicURL
      1. $Proxy80.doUHumansPublicURL(Unknown Source)[na:na]
      1 frame
    24. ai.ilikeplaces.logic
      Profile$2.handleEvent
      1. ai.ilikeplaces.logic.Listeners.widgets.Profile$2.handleEvent(Profile.java:90)[Profile$2.class:na]
      1 frame
    25. org.itsnat.impl
      ItsNatHttpServletImpl.processRequest
      1. org.itsnat.impl.core.listener.EventListenerUtil.handleEventListeners(EventListenerUtil.java:38)[ItsNat.jar:0.7]
      2. org.itsnat.impl.core.listener.EventListenerUtil.handleEventListeners(EventListenerUtil.java:59)[ItsNat.jar:0.7]
      3. org.itsnat.impl.core.listener.EventListenerUtil.handleEventIncludingGlobalListeners(EventListenerUtil.java:86)[ItsNat.jar:0.7]
      4. org.itsnat.impl.core.listener.ItsNatDOMEventListenerWrapperImpl.handleEvent(ItsNatDOMEventListenerWrapperImpl.java:150)[ItsNat.jar:0.7]
      5. org.itsnat.impl.core.listener.domstd.ItsNatDOMStdEventListenerWrapperImpl.handleEvent(ItsNatDOMStdEventListenerWrapperImpl.java:73)[ItsNat.jar:0.7]
      6. org.itsnat.impl.core.listener.ItsNatDOMEventListenerWrapperImpl.processEvent(ItsNatDOMEventListenerWrapperImpl.java:115)[ItsNat.jar:0.7]
      7. org.itsnat.impl.core.resp.norm.ResponseNormalEventImpl.processEvent(ResponseNormalEventImpl.java:75)[ItsNat.jar:0.7]
      8. org.itsnat.impl.core.resp.norm.ResponseNormalEventImpl.process(ResponseNormalEventImpl.java:59)[ItsNat.jar:0.7]
      9. org.itsnat.impl.core.resp.ResponseImpl.process(ResponseImpl.java:77)[ItsNat.jar:0.7]
      10. org.itsnat.impl.core.req.norm.RequestNormalEventImpl.processClientDocumentThreadSync(RequestNormalEventImpl.java:120)[ItsNat.jar:0.7]
      11. org.itsnat.impl.core.req.norm.RequestNormalEventImpl$1.syncMethod(RequestNormalEventImpl.java:105)[ItsNat.jar:0.7]
      12. org.itsnat.impl.core.doc.ItsNatDocSynchronizerImpl.exec(ItsNatDocSynchronizerImpl.java:56)[ItsNat.jar:0.7]
      13. org.itsnat.impl.core.req.norm.RequestNormalEventImpl.processClientDocument(RequestNormalEventImpl.java:108)[ItsNat.jar:0.7]
      14. org.itsnat.impl.core.req.norm.RequestNormalEventImpl.processClientDocument(RequestNormalEventImpl.java:85)[ItsNat.jar:0.7]
      15. org.itsnat.impl.core.req.RequestEventImpl.process(RequestEventImpl.java:137)[ItsNat.jar:0.7]
      16. org.itsnat.impl.core.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:212)[ItsNat.jar:0.7]
      17. org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)[ItsNat.jar:0.7]
      18. org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)[ItsNat.jar:0.7]
      18 frames
    26. org.itsnat.core
      HttpServletWrapper.doPost
      1. org.itsnat.core.http.HttpServletWrapper.processRequest(HttpServletWrapper.java:79)[ItsNat.jar:0.7]
      2. org.itsnat.core.http.HttpServletWrapper.doPost(HttpServletWrapper.java:104)[ItsNat.jar:0.7]
      2 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)[servlet-api.jar:na]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)[servlet-api.jar:na]
      2 frames
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    29. ai.ilikeplaces.servlets
      LogoutNRedirect.doFilter
      1. ai.ilikeplaces.servlets.filters.LogoutNRedirect.doFilter(LogoutNRedirect.java:68)[LogoutNRedirect.class:na]
      1 frame
    30. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:na]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)[catalina.jar:na]
      4 frames
    31. OpenEJB :: Assembly :: Tomcat :: Catalina
      OpenEJBValve.invoke
      1. org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)[openejb-tomcat-catalina-3.1.jar:3.1]
      1 frame
    32. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)[catalina.jar:na]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:na]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:na]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)[catalina.jar:na]
      4 frames
    33. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)[tomcat-coyote.jar:na]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)[tomcat-coyote.jar:na]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)[tomcat-coyote.jar:na]
      3 frames
    34. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)[na:1.6.0_16]
      1 frame