org.springframework.dao.DataAccessResourceFailureException: Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Asik Gongaju, 1 year ago
Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
via Kuali JIRA by Asik Gongaju, 1 year ago
Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
via Kuali JIRA by Andy Orahood, 1 year ago
Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
via Kuali JIRA by Andy Orahood, 1 year ago
Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
via Kuali JIRA by Sharon Thelen, 1 year ago
Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
org.springframework.dao.DataAccessResourceFailureException: Could not open OJB PersistenceBroker; nested exception is org.apache.ojb.broker.PBFactoryException: Transaction synchronization failed - wrong status of external JTA tx. Expected was an 'active' or 'no transaction', found status is 'STATUS_MARKED_ROLLBACK'
at org.apache.ojb.broker.core.PersistenceBrokerFactorySyncImpl.searchForValidTx(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerFactorySyncImpl.createPersistenceBroker(Unknown Source)
at org.springmodules.orm.ojb.OjbFactoryUtils.getPersistenceBroker(OjbFactoryUtils.java:86)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.getPersistenceBroker(PersistenceBrokerTemplate.java:286)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:139)
at org.springmodules.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:185)
at org.kuali.rice.kew.routeheader.dao.impl.DocumentRouteHeaderDAOOjbImpl.findRouteHeader(DocumentRouteHeaderDAOOjbImpl.java:152)
at org.kuali.rice.kew.routeheader.service.impl.RouteHeaderServiceImpl.getRouteHeader(RouteHeaderServiceImpl.java:54)
at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.kuali.rice.kew.service.impl.WorkflowUtilityWebServiceImpl.getDocumentInitiatorPrincipalId(WorkflowUtilityWebServiceImpl.java:1019)
at sun.reflect.GeneratedMethodAccessor449.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.kuali.rice.kew.service.WorkflowInfo.getDocumentInitiatorPrincipalId(WorkflowInfo.java:555)
at org.kuali.rice.kew.role.service.impl.RouteLogDerivedRoleTypeServiceImpl.hasApplicationRole(RouteLogDerivedRoleTypeServiceImpl.java:107)
at org.kuali.rice.kim.service.impl.RoleServiceImpl.principalHasRole(RoleServiceImpl.java:983)
at org.kuali.rice.kim.service.impl.RoleServiceImpl.principalHasRole(RoleServiceImpl.java:763)
at org.kuali.rice.kim.service.impl.RoleManagementServiceImpl.principalHasRole(RoleManagementServiceImpl.java:388)
at org.kuali.rice.kim.service.impl.PermissionServiceImpl.isAuthorizedByTemplateName(PermissionServiceImpl.java:185)
at org.kuali.rice.kim.service.impl.IdentityManagementServiceImpl.isAuthorizedByTemplateName(IdentityManagementServiceImpl.java:533)
at org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase.isAuthorizedByTemplate(BusinessObjectAuthorizerBase.java:136)
at org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase.getDocumentActions(DocumentAuthorizerBase.java:71)
at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.populateAuthorizationFields(KualiDocumentActionBase.java:1674)
at org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase.populateAuthorizationFields(KualiTransactionalDocumentActionBase.java:65)
at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:163)
at org.kuali.kits.kms.web.KmsDocumentAction.execute(KmsDocumentAction.java:87)
at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503)
at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499)
at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:273)
at edu.iu.uis.cas.filter.CASFilter.redirectOrForwardChain(CASFilter.java:410)
at edu.iu.uis.cas.filter.CASFilter.doFilterUnsynchronized(CASFilter.java:336)
at edu.iu.uis.cas.filter.CASFilter.doFilter(CASFilter.java:315)
at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:266)
at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:164)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.