<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error checking for a transaction in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162135#M116031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your answer! I guess you are right. I transformed my class that access Activitiy into a EJB, and then I used the REQUIRES_NEW transaction management type. So, it worked. Oddly, when I was using Jboss EAP 5, it was working. The "issue" occurs with Jboss AS 7.1.Final. Anyway, thanks for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brazilian note: começamos um projeto com o Activiti e até agora está nos atendendo muito bem!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 14:42:03 GMT</pubDate>
    <dc:creator>andremonteiro</dc:creator>
    <dc:date>2013-09-17T14:42:03Z</dc:date>
    <item>
      <title>Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162130#M116026</link>
      <description>Hi,I'm using activit-cdi with Jboss AS 7 and facing the following issue:1) I have a Listner in a flow process of type Expression, that calls a application's class method (let's say, myMethod), to validate some data;2) When the user clicks into "Save" button of type submit into a xhml page, the listn</description>
      <pubDate>Thu, 12 Sep 2013 18:26:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162130#M116026</guid>
      <dc:creator>andremonteiro</dc:creator>
      <dc:date>2013-09-12T18:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162131#M116027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bit difficult to say. Is that the whole stacktrace? Is there no Activiti class being listed in the stacktrace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 07:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162131#M116027</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-13T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162132#M116028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for that. The issue ocurrs due a closed transaction, but I don't know if it's due jboss or Activiti. There's the full stacktrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/Execution.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while executing a query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:306) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.ExecutionEntityManager.findExecutionById(ExecutionEntityManager.java:94) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:49) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:31) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:60) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.RuntimeServiceImpl.getVariables(RuntimeServiceImpl.java:103) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.bpm.activiti.ServicoBpmActiviti.obterListaExplicacao(ServicoBpmActiviti.java:515) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.bpm.activiti.ServicoBpmActiviti$Proxy$_$$_WeldClientProxy.obterListaExplicacao(ServicoBpmActiviti$Proxy$_$$_WeldClientProxy.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction.getListaExplicacaoZIM(ExecutarTarefaAction.java:113) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction$Proxy$_$$_WeldSubclass.getListaExplicacaoZIM(ExecutarTarefaAction$Proxy$_$$_WeldSubclass.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:114) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:143) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.util.interceptors.TratamentoErrosEsperadosInterceptor.tratamentoDeErrosEsperados(TratamentoErrosEsperadosInterceptor.java:30) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 79 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.transaction.managed.ManagedTransaction.openConnection(ManagedTransaction.java:84) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.transaction.managed.ManagedTransaction.getConnection(ManagedTransaction.java:58) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:271) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:69) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:56) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:259) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:132) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 101 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 111 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple &amp;lt; ac, BasicAction: 0:ffff0a0392f0:3577ace2:52332207:4b status: ActionStatus.ABORT_ONLY &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 113 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:33:19,448 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sgf].[Faces Servlet]] (http-localhost-127.0.0.1-8080-5) Servlet.service() for servlet Faces Servlet threw exception: javax.enterprise.event.ObserverException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.newInstance0(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.newInstance(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:343) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:173) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:340) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:33) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:73) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:162) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:569) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:559) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:554) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.servlet.ServletException: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/Execution.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while executing a query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:77) [primefaces-3.5.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.0.Final.jar:3.1.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 17 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: br.jus.trt3.sistemas.sgf.util.exceptions.ErroInesperado: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/Execution.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while executing a query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.util.interceptors.TratamentoErrosEsperadosInterceptor.tratamentoDeErrosEsperados(TratamentoErrosEsperadosInterceptor.java:40) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) [:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction$Proxy$_$$_WeldSubclass.getListaExplicacaoZIM(ExecutarTarefaAction$Proxy$_$$_WeldSubclass.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction$Proxy$_$$_WeldClientProxy.getListaExplicacaoZIM(ExecutarTarefaAction$Proxy$_$$_WeldClientProxy.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.el.parser.AstValue.getValue(AstValue.java:159) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) [jbossweb-7.0.13.Final.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UISelectItems.getValue(UISelectItems.java:129) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.renderkit.SelectItemsIterator.initializeItems(SelectItemsIterator.java:202) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.renderkit.SelectItemsIterator.hasNext(SelectItemsIterator.java:135) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.renderkit.html_basic.MenuRenderer.renderOptions(MenuRenderer.java:762) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:844) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:298) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:104) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:523) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:984) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.render(CodiLifecycleWrapper.java:126) [myfaces-extcdi-jsf20-module-impl-1.0.3.jar:1.0.3]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 26 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/Execution.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while executing a query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:306) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.ExecutionEntityManager.findExecutionById(ExecutionEntityManager.java:94) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:49) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:31) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:60) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.RuntimeServiceImpl.getVariables(RuntimeServiceImpl.java:103) [activiti-engine-5.13.jar:5.13]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.bpm.activiti.ServicoBpmActiviti.obterListaExplicacao(ServicoBpmActiviti.java:515) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.bpm.activiti.ServicoBpmActiviti$Proxy$_$$_WeldClientProxy.obterListaExplicacao(ServicoBpmActiviti$Proxy$_$$_WeldClientProxy.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction.getListaExplicacaoZIM(ExecutarTarefaAction.java:113) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.action.lancamentos.ExecutarTarefaAction$Proxy$_$$_WeldSubclass.getListaExplicacaoZIM(ExecutarTarefaAction$Proxy$_$$_WeldSubclass.java) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_39]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:114) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:143) [jboss-interceptor-core-2.0.0.Final.jar:2.0.0.Final]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at br.jus.trt3.sistemas.sgf.util.interceptors.TratamentoErrosEsperadosInterceptor.tratamentoDeErrosEsperados(TratamentoErrosEsperadosInterceptor.java:30) [classes:]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 79 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.transaction.managed.ManagedTransaction.openConnection(ManagedTransaction.java:84) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.transaction.managed.ManagedTransaction.getConnection(ManagedTransaction.java:58) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:271) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:69) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:56) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:259) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:132) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104) [mybatis-3.2.2.jar:3.2.2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 101 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 111 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple &amp;lt; ac, BasicAction: 0:ffff0a0392f0:3577ace2:52332207:4b status: ActionStatus.ABORT_ONLY &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 113 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162132#M116028</guid>
      <dc:creator>andremonteiro</dc:creator>
      <dc:date>2013-09-13T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162133#M116029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Complementing, there's a way to check if the transaction is closed, and then open a new?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging, I discovered that the BeanELResolver.java captured my exception and throwed a ELException. This exception was caught by JuelExpression.java, that throwed a ActivitiException, that was caught by AbstractEventAtomicOperation, by ExecutionEntity and then by CommandContextInterceptor. Finally, the Activiti's class JtaTransactionInterceptor captured this exception and then called the doRollback() method. At this point, I think the transaction was been closed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 20:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162133#M116029</guid>
      <dc:creator>andremonteiro</dc:creator>
      <dc:date>2013-09-13T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162134#M116030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When a exception is thrown in a EJB or another transactional scope, the container automatically handle the transaction to rollback it. More information about the EJB behavior &lt;/SPAN&gt;&lt;A href="http://palkonyves.blogspot.com.br/2013/04/exceptions-and-transactions-in-ejb.html" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, I think that your validation can be performed by a ServiceTask after your UserTask that set a variable to indicate a business validation error. So, a ExclusiveGateway with a SequenceFlow will check the variable contents and if had a business validation error, back to previous UserTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brazilian note: Fico feliz em saber que há brasileiros trabalhando com Activiti. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 01:28:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162134#M116030</guid>
      <dc:creator>mikedias</dc:creator>
      <dc:date>2013-09-15T01:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error checking for a transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162135#M116031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your answer! I guess you are right. I transformed my class that access Activitiy into a EJB, and then I used the REQUIRES_NEW transaction management type. So, it worked. Oddly, when I was using Jboss EAP 5, it was working. The "issue" occurs with Jboss AS 7.1.Final. Anyway, thanks for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brazilian note: começamos um projeto com o Activiti e até agora está nos atendendo muito bem!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 14:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-checking-for-a-transaction/m-p/162135#M116031</guid>
      <dc:creator>andremonteiro</dc:creator>
      <dc:date>2013-09-17T14:42:03Z</dc:date>
    </item>
  </channel>
</rss>

