1 Reply Latest reply on Aug 20, 2009 12:30 PM by panpur

    Seam 2.0.0 BETA1 disable transaction problem

    panpur

      Hello, I was developing some app 2 years ago using Seam 2.0.0 BETA1, MySQL 5, JBOSS AS 4.2.1 GA on 64 bit Debian server. There were no problem, because my client only using dummy data back then.


      Now the real data is ready, generated every minutes, very large quantity and must be saved to database.


      After the app scheduler running for a few minutes, I got this error:



      javax.ejb.EJBTransactionRolledbackException: EntityManager must be access within a transaction




      I don't really need a transaction on my app anyway, so I disabled it   on components.xml




      <core:init transaction-management-enabled="false"/>



      Unfortunately, adding this line causing error on startup:



      error while reading /WEB-INF/components.xml



      Is this Seam BETA problem ? or am I missing something ?


      Thank's in advance



        • 1. Re: Seam 2.0.0 BETA1 disable transaction problem
          panpur

          doh, silly me, I added a new core:init line.


          Ok then so now the server starts fine, but after a few minutes the same transaction error shows up again.


          I don't understand why is this still happening when the transaction has been disabled ?


          Thank's in advance