2 Replies Latest reply on Sep 28, 2005 5:40 AM by tom.baeyens

    trouble with "ant -f build.deploy.xml deploy.processes"

    davidsan1001

      I reinstalled a brand new jbpm starter kit, got the test example to run then issued the command "ant -f build.deploy.xml deploy.processes"

      I got the following error message:

      build.processes:
      [mkdir] Created dir: C:\jbpm-starters-kit-3.0.1\jbpm\build\websale\classes
      [copy] Copying 3 files to C:\jbpm-starters-kit-3.0.1\jbpm\build\websale
      [copy] Copying 4 files to C:\jbpm-starters-kit-3.0.1\jbpm\build\websale\classes
      [zip] Building zip: C:\jbpm-starters-kit-3.0.1\jbpm\build\websale.par
      [deploypar] log4j:WARN No appenders could be found for logger (org.jbpm.ant.AntTaskJbpmSessionFactory).
      [deploypar] log4j:WARN Please initialize the log4j system properly.
      [deploypar] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1977b9b [ connectionPoolDataSou
      rce -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@12f9ee [ acquireIncrement -> 1, acquireRetryAttempt
      s -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireF
      ailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnection
      Tester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod ->
      0, initialPoolSize -> 1, maxIdleTime -> 0, maxPoolSize -> 3, maxStatements -> 0, maxStatementsPerConnection ->
      0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2bd3a [ description -> n
      ull, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:hsqldb:hsql://localhost:1701, properti
      es -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnChe
      ckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLo
      cation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1977b9b ]
      [deploypar] java.sql.SQLException: socket creation error

      Seems like it is having trouble connecting to the database. Any suggestions on how to fix?

      Dave

        • 1. Re: trouble with
          davidsan1001

          Found the solution, stemmed from Hypersonic not running. I manually started it at..

          /jpbm-starters-kit-3.0.1\jbpm\lib\jboss\hsqld.server.bat

          • 2. Re: trouble with
            tom.baeyens

            actually that is a bug that we introduced lately, because of a security issue, we had to disable tcp connections of the hsqldb that is inside jboss.

            instead of starting it separate, you should customize the database configuration to allow for tcp connections. (note that you open up a security vulnerability that way)

            regards, tom.