5 Replies Latest reply on Jan 13, 2014 6:38 AM by Tomas Remes

    Can not generate Seam entity

    amir avarzamani Newbie

      Hi all,

      I have followed the CRUD tutorial (Chapter 13. Generate a CRUD Database Application) and when I reached to the point that I should be able to generate the seam entities from reverse engineering, the following error raises. I appreciate any help.

       

      Can't generate seam entities

        org.hibernate.exception.GenericJDBCException: Getting database metadata

        Getting database metadata

          org.hibernate.exception.GenericJDBCException: Getting database metadata

          Getting database metadata

          java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@9ca0eb04[file =/usr/local/jbdevstudio/studio/jdbc:hsqldb:hsql:/localhost:1701.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2014-01-13 04:47:50 heartbeat - read: -5183 ms.

          Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@9ca0eb04[file =/usr/local/jbdevstudio/studio/jdbc:hsqldb:hsql:/localhost:1701.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2014-01-13 04:47:50 heartbeat - read: -5183 ms.

          org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@9ca0eb04[file =/usr/local/jbdevstudio/studio/jdbc:hsqldb:hsql:/localhost:1701.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2014-01-13 04:47:50 heartbeat - read: -5183 ms.

          Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@9ca0eb04[file =/usr/local/jbdevstudio/studio/jdbc:hsqldb:hsql:/localhost:1701.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2014-01-13 04:47:50 heartbeat - read: -5183 ms.