4 Replies Latest reply on Feb 2, 2012 8:41 AM by pushpak1981

    Issue : JTA EntityManager cannot use getTransaction()

    Prashanth Karnam Newbie

      2012-02-02 13:37:09,601 ERROR [STDERR] (NioProcessor-1) java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

      2012-02-02 13:37:09,601 ERROR [STDERR] (NioProcessor-1)         at org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction(AbstractEntityManagerImpl.java:324)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:965)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:171)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:109)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)

      2012-02-02 13:37:09,602 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)

      2012-02-02 13:37:09,603 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)

      2012-02-02 13:37:09,604 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)

      2012-02-02 13:37:09,604 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)

      2012-02-02 13:37:09,604 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)

      2012-02-02 13:37:09,604 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)

      2012-02-02 13:37:09,604 ERROR [STDERR] (NioProcessor-1)         at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)