2 Replies Latest reply on Mar 29, 2006 12:31 PM by Khoya Raaz

    upgrade to 4.0.4RC1, Error

    Dave Chen Master

      I downloaded JBoss 4.0.4RC1, and installed with the first EJB3 config with clustering.

      I got the following errors during start:

      ....

      WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: TransactionManager not bound

      ....

      WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used

      --------------
      After deploying my web application, transaction did not work.
      In ejb3-entity-cache-service.xml

      <!-- Configure the TransactionManager -->
      org.jboss.cache.JBossTransactionManagerLookup


      Any help is greatly appreciated. I am stuck.
      Thanks!

        • 1. Re: upgrade to 4.0.4RC1, Error
          Dave Chen Master

          The error above is for using the 4.0.4RC1 installer directly.

          This time I downloaded the JBoss 4.0.4RC1 zip file. Unzip the zip file.
          Downloaded the EJB3.
          Installed EJB3 into the JBoss according to the instruction.

          I can start JBoss without any error.
          But I got error when I deployed my web application.

          ObjectName: jboss.j2ee:service=EJB3,ear=emp.ear,jar=emp.ejb3,name=EmployeeManagerBean
          State: NOTYETINSTALLED
          I Depend On:
          persistence.units:unitName=emp

          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
          ObjectName: persistence.units:unitName=emp
          State: NOTYETINSTALLED

          At runtime the session bean not found.

          InitialContext ctx = new InitialContext();
          ctx.lookup(EmployeeManager.getName());

          will throw NameNotFoundException.


          public class EmployeeManagerBean implements EmployeeManager {
          @PersistenceContext (unitName="emp")
          protected EntityManager em;
          ...

          }

          The web application runs well with JBoss 4.0.3SP1.

          Did I miss anything?

          Thanks for help.

          • 2. Re: upgrade to 4.0.4RC1, Error
            Khoya Raaz Newbie

            I am getting the same errors after migrating my code. Even after changing the application according to the wiki instructions. Take a look at these:
            http://docs.jboss.com/TrailBlazer/ejb3/EJB3RC3toRC5.html
            http://www.hibernate.org/371.html
            http://wiki.jboss.org/wiki/Wiki.jsp?page=FromJBossEJB3.0RC3ToRC4PFD

            I am still getting the above errors though. I am going live in July, and need to migrate soon to tackle clustering and aliasing, so would appreciate any tips. I am using eclipse jboss-IDE, so packaging tips would help too for the migration. I have a post in the ejb 3.0 forum.