3 Replies Latest reply on Sep 22, 2011 4:13 AM by wiwengweng wen

    jBPM 4.4 demo.setup.tomcat (task -> install.jbpm.into.tomcat)

    Andrzej Kulakowski Newbie

      Hello,

      I downloaded jBPM 4., Tomcat 6.0.29, JDK 1.6 (1.6.0_22 64-Bit), Ant 1.81 and following "Getting started quickly" guide - "ant demo.setup.tomcat".

      I ame getting stuck at the step "install.examples.into.tomcat", here's the excerpt of the log:

       

      [jbpm-

      deploy] FINEST: binding 'examples.bar' to parameter: 1

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet
      [jbpm-deploy] FINEST: binding '1291285209289' to parameter: 2
      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet
      [jbpm-deploy] FINEST: binding 'active' to parameter: 3
      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet
      [jbpm-deploy] FINEST: binding '1' to parameter: 4
      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.util.JDBCExceptionReporter logExceptions
      [jbpm-deploy] WARNING: SQL Error: 0, SQLState: null
      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.util.JDBCExceptionReporter logExceptions
      [jbpm-deploy] SEVERE: failed batch
      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.event.def.AbstractFlushingEventListener performExecutions
      [jbpm-deploy] SEVERE: Could not synchronize database state with session
      [jbpm-deploy] org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
      [jbpm-deploy]   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)
      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)
      [jbpm-deploy]   at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      [jbpm-deploy]   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      [jbpm-deploy]   at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
      [jbpm-deploy]   at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      [jbpm-deploy]   at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)
      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)
      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)
      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)
      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)
      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
      [jbpm-deploy]   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
      [jbpm-deploy]   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)
      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)
      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)
      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
      [jbpm-deploy]   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
      [jbpm-deploy]   at org.apache.tools.ant.Main.runBuild(Main.java:801)
      [jbpm-deploy]   at org.apache.tools.ant.Main.startAnt(Main.java:218)
      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      [jbpm-deploy] Caused by: java.sql.BatchUpdateException: failed batch
      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      [jbpm-deploy]   at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      [jbpm-deploy]   ... 61 more
      [jbpm-deploy] 2010-12-02 12.20.11 org.jbpm.internal.log.Jdk14Log info
      [jbpm-deploy] INFO: exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@c481958
      [jbpm-deploy] org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
      [jbpm-deploy]   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)
      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)
      [jbpm-deploy]   at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      [jbpm-deploy]   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      [jbpm-deploy]   at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
      [jbpm-deploy]   at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)
      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      [jbpm-deploy]   at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)
      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)
      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)
      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)
      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)
      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
      [jbpm-deploy]   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
      [jbpm-deploy]   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)
      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)
      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)
      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
      [jbpm-deploy]   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
      [jbpm-deploy]   at org.apache.tools.ant.Main.runBuild(Main.java:801)
      [jbpm-deploy]   at org.apache.tools.ant.Main.startAnt(Main.java:218)
      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      [jbpm-deploy] Caused by: java.sql.BatchUpdateException: failed batch
      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
      [jbpm-deploy]   at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      [jbpm-deploy]   ... 61 more
      [jbpm-deploy] 2010-12-02 12.20.11 org.jbpm.internal.log.Jdk14Log debug
      [jbpm-deploy] FINE: ----- rolling back hibernate tx 1366812340 -----------------------------------------------------
      BUILD FAILED
      C:\Apps\jBPM-4.4\install\build.xml:596: The following error occurred while executing this line:
      C:\Apps\jBPM-4.4\examples\build.xml:95: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
              at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
              at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
              at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
              at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)
              at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)
              at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
              at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
              at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
              at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
              at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
              at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)
              at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)
              at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)
              at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)
              at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)
              at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)
              at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
              at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
              at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
              at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
              at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
              at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
              at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
              at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
              at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
              at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
              at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
              at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)
              at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
              at org.apache.tools.ant.Task.perform(Task.java:348)
              at org.apache.tools.ant.Target.execute(Target.java:390)
              at org.apache.tools.ant.Target.performTasks(Target.java:411)
              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
              at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
              at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
              at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
              at org.apache.tools.ant.Task.perform(Task.java:348)
              at org.apache.tools.ant.Target.execute(Target.java:390)
              at org.apache.tools.ant.Target.performTasks(Target.java:411)
              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
              at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
              at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
              at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
              at org.apache.tools.ant.Main.runBuild(Main.java:801)
              at org.apache.tools.ant.Main.startAnt(Main.java:218)
              at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
              at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      Caused by: java.sql.BatchUpdateException: failed batch
              at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
              at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              ... 61 more

       

      [jbpm-deploy] FINEST: binding 'examples.bar' to parameter: 1

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet

      [jbpm-deploy] FINEST: binding '1291285209289' to parameter: 2

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet

      [jbpm-deploy] FINEST: binding 'active' to parameter: 3

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.type.NullableType nullSafeSet

      [jbpm-deploy] FINEST: binding '1' to parameter: 4

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.util.JDBCExceptionReporter logExceptions

      [jbpm-deploy] WARNING: SQL Error: 0, SQLState: null

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.util.JDBCExceptionReporter logExceptions

      [jbpm-deploy] SEVERE: failed batch

      [jbpm-deploy] 2010-12-02 12.20.11 org.hibernate.event.def.AbstractFlushingEventListener performExecutions

      [jbpm-deploy] SEVERE: Could not synchronize database state with session

      [jbpm-deploy] org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)

      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)

      [jbpm-deploy]   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)

      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)

      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)

      [jbpm-deploy]   at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)

      [jbpm-deploy]   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

      [jbpm-deploy]   at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)

      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)

      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)

      [jbpm-deploy]   at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)

      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)

      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)

      [jbpm-deploy]   at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)

      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)

      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)

      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)

      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)

      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)

      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

      [jbpm-deploy]   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

      [jbpm-deploy]   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)

      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)

      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)

      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTarget(Project.java:1366)

      [jbpm-deploy]   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

      [jbpm-deploy]   at org.apache.tools.ant.Main.runBuild(Main.java:801)

      [jbpm-deploy]   at org.apache.tools.ant.Main.startAnt(Main.java:218)

      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      [jbpm-deploy] Caused by: java.sql.BatchUpdateException: failed batch

      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)

      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)

      [jbpm-deploy]   at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

      [jbpm-deploy]   ... 61 more

      [jbpm-deploy] 2010-12-02 12.20.11 org.jbpm.internal.log.Jdk14Log info

      [jbpm-deploy] INFO: exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@c481958

      [jbpm-deploy] org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)

      [jbpm-deploy]   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)

      [jbpm-deploy]   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)

      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)

      [jbpm-deploy]   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)

      [jbpm-deploy]   at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)

      [jbpm-deploy]   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)

      [jbpm-deploy]   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

      [jbpm-deploy]   at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)

      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)

      [jbpm-deploy]   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)

      [jbpm-deploy]   at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)

      [jbpm-deploy]   at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)

      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)

      [jbpm-deploy]   at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)

      [jbpm-deploy]   at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)

      [jbpm-deploy]   at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)

      [jbpm-deploy]   at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)

      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)

      [jbpm-deploy]   at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)

      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)

      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)

      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)

      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

      [jbpm-deploy]   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

      [jbpm-deploy]   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

      [jbpm-deploy]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

      [jbpm-deploy]   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

      [jbpm-deploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [jbpm-deploy]   at java.lang.reflect.Method.invoke(Method.java:597)

      [jbpm-deploy]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

      [jbpm-deploy]   at org.apache.tools.ant.Task.perform(Task.java:348)

      [jbpm-deploy]   at org.apache.tools.ant.Target.execute(Target.java:390)

      [jbpm-deploy]   at org.apache.tools.ant.Target.performTasks(Target.java:411)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTarget(Project.java:1366)

      [jbpm-deploy]   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

      [jbpm-deploy]   at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

      [jbpm-deploy]   at org.apache.tools.ant.Main.runBuild(Main.java:801)

      [jbpm-deploy]   at org.apache.tools.ant.Main.startAnt(Main.java:218)

      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

      [jbpm-deploy]   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      [jbpm-deploy] Caused by: java.sql.BatchUpdateException: failed batch

      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)

      [jbpm-deploy]   at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)

      [jbpm-deploy]   at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)

      [jbpm-deploy]   at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

      [jbpm-deploy]   ... 61 more

      [jbpm-deploy] 2010-12-02 12.20.11 org.jbpm.internal.log.Jdk14Log debug

      [jbpm-deploy] FINE: ----- rolling back hibernate tx 1366812340 -----------------------------------------------------


      BUILD FAILED

      C:\Apps\jBPM-4.4\install\build.xml:596: The following error occurred while executing this line:

      C:\Apps\jBPM-4.4\examples\build.xml:95: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

              at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)

              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)

              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)

              at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)

              at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)

              at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)

              at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)

              at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)

              at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)

              at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)

              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)

              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)

              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

              at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)

              at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)

              at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)

              at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

              at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)

              at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)

              at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)

              at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)

              at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)

              at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)

              at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)

              at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)

              at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)

              at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)

              at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)

              at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)

              at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)

              at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)

              at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)

              at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)

              at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)

              at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:126)

              at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:61)

              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

              at org.apache.tools.ant.Task.perform(Task.java:348)

              at org.apache.tools.ant.Target.execute(Target.java:390)

              at org.apache.tools.ant.Target.performTasks(Target.java:411)

              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

              at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

              at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

              at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

              at org.apache.tools.ant.Task.perform(Task.java:348)

              at org.apache.tools.ant.Target.execute(Target.java:390)

              at org.apache.tools.ant.Target.performTasks(Target.java:411)

              at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)

              at org.apache.tools.ant.Project.executeTarget(Project.java:1366)

              at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

              at org.apache.tools.ant.Project.executeTargets(Project.java:1249)

              at org.apache.tools.ant.Main.runBuild(Main.java:801)

              at org.apache.tools.ant.Main.startAnt(Main.java:218)

              at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

              at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      Caused by: java.sql.BatchUpdateException: failed batch

              at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)

              at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)

              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)

              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

              ... 61 more

       

       

      Any advice how to bypass this issue is more than welcome.

       

      EDIT: Is mysql necessary for this demo setup, because "Getting started guide" doesn't mention that?

       

      Cheers,

      Andrzej

        • 1. Re: jBPM 4.4 demo.setup.tomcat (task -> install.jbpm.into.tomcat)
          Andrzej Kulakowski Newbie

          I have managed to bypass this error, to be precise - successfully complete step "install.examples.into.tomcat" by doing following steps:

          1) reinstall/start Tomcat and make sure CATALINA_HOME was set to the right Tomcat installation ( in my case i have three Tomcat's on my comp for different software etc.. ); Yeah that's right, Tomcat is supposed to be stopped according to the guide - weird, huh

          2) also i repeated the step "create.jbpm.schema" by calling ant from install dir

          3) also steps: "install.examples.into.tomcat" and "load.example.identities"

          4) I think I have restarted Tomcat at this point though I am not sure, but suffice to say that all ant build tasks done separately have succeeded.

           

          I might be missing something, but this is as much as I recall doing. Also, I understand that these steps have little to no rationale behind them, but out of pure trial&error approach I gave it a try and, who knew, - it helped

           

          So far, I have yet to bypass another problem which is the empty list under the "Share repository" in jBPM Signavio designer - those objects you ought to drag and construct diagrams with are simply not there. I am going to analyze jBPM Developer's guide for clues, but it would be helpful if anyone could give me some insight into this matter?

           

          EDIT: grammar.

           

          Cheers,

          Andrzej

          • 2. Re: jBPM 4.4 demo.setup.tomcat (task -> install.jbpm.into.tomcat)
            Andrzej Kulakowski Newbie

            Problem with jBPM Signavio designer - solved, it doesn't function correct under both Chrome nor IE9 Beta browsers, Firefox remains the sole way here.

            1 of 1 people found this helpful
            • 3. Re: jBPM 4.4 demo.setup.tomcat (task -> install.jbpm.into.tomcat)
              wiwengweng wen Newbie

              mysql is optional, but not the only choice. the default db is hsqldb~