cancel
Showing results for 
Search instead for 
Did you mean: 

connection broken error during installation

cervisias
Champ in-the-making
Champ in-the-making
hi all together

i have some troubles with the installation of activiti. i typed "ant demo.start" into the command prompt and it started working…but then the trouble began…

ant (apache-ant-1.8.2) and java (jdk1.6.0_25) versions are working correctly…

does somebody see the matter here?

C:\Program Files (x86)\activiti-5.6\setup>
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]     at org.h2.Driver.connect(Driver.java:58)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]     at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]     … 55 more
     [java] 03.06.2011 00:17:58 org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext rollback
     [java] INFO: Exception during transaction:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] 03.06.2011 00:17:58 org.activiti.engine.impl.interceptor.CommandContext exception
     [java] SCHWERWIEGEND: masked exception in command context. for root cause, see below as it will be rethrown later.
     [java] org.apache.ibatis.exceptions.PersistenceException:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java]     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
     [java]     at org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:84)
     [java]     at org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
     [java]     at org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
     [java]     at org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext.getDbSqlSession(StandaloneMybatisTransactionContext.java:77)
     [java]     at org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext.rollback(StandaloneMybatisTransactionContext.java:91)
     [java]     at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:120)
     [java]     at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49)
     [java]     at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
     [java]     at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
     [java]     at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:280)
     [java]     at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]     at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]     at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]     at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]     at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]     at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java]     at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]     at org.h2.message.DbException.get(DbException.java:167)
     [java]     at org.h2.message.DbException.get(DbException.java:144)
     [java]     at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]     at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]     at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]     at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]     at org.h2.Driver.connect(Driver.java:58)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]     at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]     … 56 more
     [java] 03.06.2011 00:17:58 org.activiti.engine.ProcessEngines initProcessEnginFromResource
     [java] SCHWERWIEGEND: Exception while initializing process engine :
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] ### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
     [java] ### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] org.apache.ibatis.exceptions.PersistenceException:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java] ### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
     [java] ### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java]     at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
     [java]     at org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:84)
     [java]     at org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
     [java]     at org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
     [java]     at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
     [java]     at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
     [java]     at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
     [java]     at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
     [java]     at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
     [java]     at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:280)
     [java]     at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]     at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]     at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]     at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]     at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]     at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
     [java] Connection is broken: "session closed" [90067-132]
     [java]     at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]     at org.h2.message.DbException.get(DbException.java:167)
     [java]     at org.h2.message.DbException.get(DbException.java:144)
     [java]     at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]     at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]     at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]     at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]     at org.h2.Driver.connect(Driver.java:58)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]     at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]     at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]     at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]     … 55 more
     [java] java.lang.NullPointerException
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: java.lang.NullPointerException
     [java]     at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:35)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]     … 33 more
     [java] Java Result: -1

cfg.create:
     [copy] Copying 1 file to C:\Program Files (x86)\activiti-5.6\setup\build\activiti-cfg
      [zip] Building zip: C:\Program Files (x86)\activiti-5.6\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [unzip] Expanding: C:\Program Files (x86)\activiti-5.6\setup\build\activiti-cfg.jar into C:\Program Files (x86)\activiti-5.6\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

db.demo.data:
     [echo] populating demo data
    [mkdir] Created dir: C:\Program Files (x86)\activiti-5.6\setup\build\demo
     [copy] Copying 1 file to C:\Program Files (x86)\activiti-5.6\setup\build\demo

BUILD FAILED
C:\Program Files (x86)\activiti-5.6\setup\build.xml:157: The following error occurred while executing this line:
C:\Program Files (x86)\activiti-5.6\setup\build.xml:227: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
Connection is broken: "session closed" [90067-132]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.message.DbException.get(DbException.java:144)
        at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
        at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
        at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
        at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
        at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
        at org.h2.Driver.connect(Driver.java:58)
        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:370)
        at org.apache.tools.ant.taskdefs.SQLExec.getConnection(SQLExec.java:942)
        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:614)
        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:1399)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        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:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 2 minutes 16 seconds

C:\Program Files (x86)\activiti-5.6\setup>


Cervisias
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Be sure to end all running instances of the demo (ant demo.stop) and H2 databases ("ps -ef | grep java" or something simmilar to find out if something is still running).

Does this help?