I'm trying to adapt the provided demo with Oracle. I have followed steps described in User Guide.
But I got the following error while trying to start demo (ant demo.start):
Buildfile: /apps/activiti-5.5/setup/build.xml
demo.install: [echo] installing demo
internal.define.jdbc.driver.libs:
build.webapps: [mkdir] Created dir: /apps/activiti-5.5/setup/build/webapps [copy] Copying 1414 files to /apps/activiti-5.5/setup/build/webapps [copy] Copied 442 empty directories to 5 empty directories under /apps/activiti-5.5/setup/build/webapps [copy] Copying 50 files to /apps/activiti-5.5/setup/build/webapps/activiti-explorer.war/WEB-INF/lib [copy] Copying 50 files to /apps/activiti-5.5/setup/build/webapps/activiti-probe.war/WEB-INF/lib [copy] Copying 50 files to /apps/activiti-5.5/setup/build/webapps/activiti-cycle.war/WEB-INF/lib [copy] Copying 17 files to /apps/activiti-5.5/setup/build/webapps/activiti-kickstart.war/WEB-INF/lib [copy] Copying 25 files to /apps/activiti-5.5/setup/build/webapps/activiti-administrator.war/WEB-INF/lib [copy] Copying 129 files to /apps/activiti-5.5/setup/build/webapps/activiti-rest.war/WEB-INF/lib
internal.db.install.h2:
internal.db.install.h2.unnecessary: [echo] H2 is already installed
internal.db.install.unsupported: [echo] Automatic installation of oracle DB not supported. It is assumed to be installed and running
h2.install:
cfg.create: [mkdir] Created dir: /apps/activiti-5.5/setup/build/activiti-cfg [copy] Copying 1 file to /apps/activiti-5.5/setup/build/activiti-cfg [zip] Building zip: /apps/activiti-5.5/setup/build/activiti-cfg.jar [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config [unzip] Expanding: /apps/activiti-5.5/setup/build/activiti-cfg.jar into /apps/activiti-5.5/workspace/activiti-engine-examples/src/main/config
internal.classpath.libs:
internal.taskdef.launch:
h2.start:
cfg.create: [copy] Copying 1 file to /apps/activiti-5.5/setup/build/activiti-cfg [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config [unzip] Expanding: /apps/activiti-5.5/setup/build/activiti-cfg.jar into /apps/activiti-5.5/workspace/activiti-engine-examples/src/main/config
internal.classpath.libs:
db.create: [echo] creating db [java] May 3, 2011 6:12:54 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource [java] INFO: initializing process engine for resource jar:file:/apps/activiti-5.5/setup/build/activiti-cfg.jar!/activiti.cfg.xml [java] ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found [java] SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6] [java] SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details. [java] May 3, 2011 6:12:56 PM oracle.jdbc.driver.OracleDriver registerMBeans [java] SEVERE: Error while registering Oracle JDBC Diagnosability MBean. [java] java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register) [java] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) [java] at java.lang.SecurityManager.checkPermission(SecurityManager.java:568) [java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824) [java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310) [java] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) [java] at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:345) [java] at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:197) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:193) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:247) [java] at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.initializeDriver(UnpooledDataSource.java:173) [java] at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:57) [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.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDatabaseType(ProcessEngineConfigurationImpl.java:453) [java] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:416) [java] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:285) [java] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:262) [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] May 3, 2011 6:12:59 PM org.activiti.engine.impl.interceptor.CommandContext close [java] SEVERE: Error while closing command context [java] org.apache.ibatis.exceptions.PersistenceException: [java] ### Error querying database. Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] ### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntity.selectProperty-Inline [java] ### The error occurred while setting parameters [java] ### Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:40) [java] at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:207) [java] at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:619) [java] at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:872) [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:263) [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: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) [java] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) [java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) [java] at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) [java] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) [java] at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) [java] at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) [java] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) [java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) [java] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488) [java] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1086) [java] at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:39) [java] at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:55) [java] at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:41) [java] at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:216) [java] at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:95) [java] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:72) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:75) [java] … 56 more [java] May 3, 2011 6:12:59 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource [java] SEVERE: Exception while initializing process engine : [java] ### Error querying database. Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] ### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntity.selectProperty-Inline [java] ### The error occurred while setting parameters [java] ### Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] org.apache.ibatis.exceptions.PersistenceException: [java] ### Error querying database. Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] ### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntity.selectProperty-Inline [java] ### The error occurred while setting parameters [java] ### Cause: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:40) [java] at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:207) [java] at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:619) [java] at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:872) [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:263) [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: java.sql.SQLException: ORA-00942: table or view does not exist [java] [java] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) [java] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) [java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) [java] at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) [java] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) [java] at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) [java] at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) [java] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186) [java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) [java] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488) [java] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1086) [java] at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:39) [java] at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:55) [java] at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:41) [java] at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:216) [java] at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:95) [java] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:72) [java] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:75) [java] … 56 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 /apps/activiti-5.5/setup/build/activiti-cfg [zip] Building zip: /apps/activiti-5.5/setup/build/activiti-cfg.jar [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config [unzip] Expanding: /apps/activiti-5.5/setup/build/activiti-cfg.jar into /apps/activiti-5.5/workspace/activiti-engine-examples/src/main/config
internal.classpath.libs:
db.demo.data: [echo] populating demo data [mkdir] Created dir: /apps/activiti-5.5/setup/build/demo [copy] Copying 1 file to /apps/activiti-5.5/setup/build/demo [sql] Executing resource: /apps/activiti-5.5/setup/build/demo/oracle.data.sql [sql] Failed to execute: insert into ACT_ID_GROUP values ('admin', 1, 'System administrator', 'security-role')
BUILD FAILED /apps/activiti-5.5/setup/build.xml:157: The following error occurred while executing this line: /apps/activiti-5.5/setup/build.xml:227: java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183) at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:942) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1770) at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1739) at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:299) at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:775) at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:745) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction(SQLExec.java:1055) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000(SQLExec.java:985) at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:653) 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)
I saw this topic before posting but it does not solve my problem.
I do not have my oracle db with another schema with activiti tables. Moreover, yes, my demo db user has a DBA role, but when i revoke the dba role from the demo dbuser, and just connection and resource roles remained, the error is still here.