0 Replies Latest reply on Oct 17, 2009 1:49 PM by subsonnic

    Error while craeting a new Seam Web Project in Eclipse

    subsonnic

      Hy,


      when i create a new Seam Web Project in Eclipse i get a Error while Connecting to my database.


      JBOSS AS 5.1
      Eclipse 3.5.1
      Apache derby 10.5.1.1 plugins
      JBoss Tools
      Seam 2.2


      1. create a new database connection - ping succeeded
      2. start jboss AS - ok
      3. create seam web project




      13:30:02,232 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
      org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Failed to start database '/home/subsonnic/TestDB', see the next exception for details.)
      
      Caused by: java.sql.SQLException: Failed to start database '/home/subsonnic/TestDB', see the next exception for details.
      
      Caused by: java.sql.SQLException: Another instance of Derby may have already booted the database /home/subsonnic/TestDB.
      
      Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /home/subsonnic/TestDB.
      
      Caused by: javax.resource.ResourceException: Unable to get managed connection for TestSeamDatasource
      
      13:30:02,277 ERROR [SchemaUpdate] could not complete schema update
      org.jboss.util.NestedSQLException: Unable to get managed connection for TestSeamDatasource; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for TestSeamDatasource)







      and so on.


      when you need a complete stack trace i post it.


      Whats the problem here?



      Thanks


      subsonnic