0 Replies Latest reply on Dec 22, 2005 2:30 AM by laga nassim

    can any one help me????

    laga nassim Newbie

      hi evry body,
      i have problems when starting "hsqldb.server"; the server doasn't start normaly, i have these error:
      java.lang.NoClassDefFoundError
      at org.hsqldb.persist.Logger.closeLog(Unknown Source)
      at org.hsqldb.Database.reopen(Unknown Source)
      at org.hsqldb.Database.open(Unknown Source)
      at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
      at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
      at org.hsqldb.Server.openDatabases(Unknown Source)
      at org.hsqldb.Server.run(Unknown Source)
      at org.hsqldb.Server.access$000(Unknown Source)
      at org.hsqldb.Server$ServerThread.run(Unknown Source)

      and when i try this example on eclipse
      public static void main(String[] args) {
      // TODO Auto-generated method stub

      JbpmSessionFactory jbpmSessionFactory = JbpmSessionFactory.buildJbpmSessionFactory();

      jbpmSessionFactory.getJbpmSchema().createSchema();
      JbpmSession jbpmSession = jbpmSessionFactory.openJbpmSession();

      ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(
      "<process-definition name='hello world'>" +
      " <start-state name='start'>" +
      " " +
      " </start-state>" +
      " " +
      " " +
      " " +
      " <end-state name='end' />" +
      "</process-definition>"
      );

      // Let's open a new persistence session

      // ... and begin a transaction on the persistence session
      jbpmSession.beginTransaction();

      // Save the process definition in the database
      jbpmSession
      .getGraphSession()
      .saveProcessDefinition(processDefinition);

      // Commit the transaction
      jbpmSession.commitTransaction();
      // And close the jbpmSession.
      jbpmSession.close();


      }


      it give this message at the end and the execution stops

      Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1df8b99 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@d6a05e [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxIdleTime -> 0, maxPoolSize -> 3, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@10a6ae2 [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:hsqldb:hsql://localhost:1701, properties -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1df8b99 ]



      thank you for any help
      Nassim