4 Replies Latest reply on Sep 29, 2004 10:50 AM by Peter Ryan

    Error creating databse Dukes Bank sample

    leduke Newbie

      Hi !


      I use JBoss 3.2.3 and i'm installing the dukes bank sample.

      I'm at the step of creating the database and when i excute this line :

      ant -f jboss-build.xml db-create-table

      I got this error message, can anyone help me ? Thanks a lot !!



      Buildfile: jboss-build.xml

      db-create-table:
      [java] java.sql.SQLException: Connection is broken: Connection refused: con
      nect
      [java] at org.hsqldb.Trace.getError(Unknown Source)
      [java] at org.hsqldb.Trace.error(Unknown Source)
      [java] at org.hsqldb.jdbcConnection.reconnectHSQL(Unknown Source)
      [java] at org.hsqldb.jdbcConnection.openHSQL(Unknown Source)
      [java] at org.hsqldb.jdbcConnection.<init>(Unknown Source)
      [java] at org.hsqldb.jdbcDriver.connect(Unknown Source)
      [java] at java.sql.DriverManager.getConnection(DriverManager.java:512)
      [java] at java.sql.DriverManager.getConnection(DriverManager.java:172)
      [java] at org.hsqldb.util.ScriptTool.execute(Unknown Source)
      [java] ScriptTool.init error: Connection is broken: Connection refused: con
      nect
      [java] at org.hsqldb.util.ScriptTool.main(Unknown Source)
      [java] java.lang.NullPointerException
      [java] at org.hsqldb.util.ScriptTool.execute(Unknown Source)
      [java] at org.hsqldb.util.ScriptTool.main(Unknown Source)
      [java] Exception in thread "main"

      [java] Java Result: 1

      BUILD SUCCESSFUL
      Total time: 1 second