cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Activiti 5.7 does not work

wir33658
Champ in-the-making
Champ in-the-making
Here is what I did (System: Windows 7 64-Bit; Java 1.6.0_26) and what I get :


D:\Downloads\Activiti\activiti-5.7\setup>ant demo.start
Buildfile: build.xml

demo.install:
     [echo] installing demo…

internal.define.jdbc.driver.libs:

internal.build.webapps:
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\setup\build\webapps
     [copy] Copying 545 files to D:\Downloads\Activiti\activiti-5.7\setup\build\
webapps
     [copy] Copied 75 empty directories to 2 empty directories under D:\Download
s\Activiti\activiti-5.7\setup\build\webapps
     [copy] Copying 34 files to D:\Downloads\Activiti\activiti-5.7\setup\build\w
ebapps\activiti-explorer.war\WEB-INF\lib
[propertyfile] Updating property file: D:\Downloads\Activiti\activiti-5.7\setup\
build\webapps\activiti-explorer.war\WEB-INF\classes\db.properties
     [copy] Copying 69 files to D:\Downloads\Activiti\activiti-5.7\setup\build\w
ebapps\activiti-rest.war\WEB-INF\lib

internal.db.install.h2:
     [echo] Installing H2 database in ../apps/h2
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\apps\h2
     [copy] Copying 7 files to D:\Downloads\Activiti\activiti-5.7\apps\h2

internal.db.install.h2.unnecessary:

internal.db.install.unsupported:

h2.install:

internal.cfg.create:
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\setup\build\activiti
-cfg
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\setup\build\act
iviti-cfg
      [zip] Building zip: D:\Downloads\Activiti\activiti-5.7\setup\build\activit
i-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-e
ngine-examples\src\main\config
    [unzip] Expanding: D:\Downloads\Activiti\activiti-5.7\setup\build\activiti-c
fg.jar into D:\Downloads\Activiti\activiti-5.7\workspace\activiti-engine-example
s\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
     [echo] starting H2 database…
   [launch] launching cmd 'D:\Downloads\Activiti\activiti-5.7\apps\h2\h2.start.b
at ' in dir 'D:\Downloads\Activiti\activiti-5.7\apps\h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://192.168.207.1:9092 (others can connect
)
     [echo] H2 database started

internal.cfg.create:
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\setup\build\act
iviti-cfg
      [zip] Building zip: D:\Downloads\Activiti\activiti-5.7\setup\build\activit
i-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [unzip] Expanding: D:\Downloads\Activiti\activiti-5.7\setup\build\activiti-c
fg.jar into D:\Downloads\Activiti\activiti-5.7\workspace\activiti-engine-example
s\src\main\config

internal.classpath.libs:

internal.db.create:
     [echo] creating db
     [java] 23.09.2011 10:58:18 org.activiti.engine.ProcessEngines initProcessEn
ginFromResource
     [java] INFO: initializing process engine for resource jar:file:/D:/Download
s/Activiti/activiti-5.7/setup/build/activiti-cfg.jar!/activiti.cfg.xml
     [java] log4j:WARN No appenders could be found for logger (org.springframewo
rk.beans.factory.xml.XmlBeanDefinitionReader).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] ScriptEngineManager providers.next(): javax.script.ScriptEngineFacto
ry: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
     [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
     [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
     [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for fu
rther details.
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.db.DbSqlSession execute
SchemaResource
     [java] INFO: performing create on engine with resource org/activiti/db/crea
te/activiti.h2.create.engine.sql
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.db.DbSqlSession execute
SchemaResource
     [java] INFO: performing create on history with resource org/activiti/db/cre
ate/activiti.h2.create.history.sql
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.db.DbSqlSession execute
SchemaResource
     [java] INFO: performing create on identity with resource org/activiti/db/cr
eate/activiti.h2.create.identity.sql
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.db.DbSqlSession execute
SchemaResource
     [java] INFO: performing create on cycle with resource org/activiti/db/creat
e/activiti.h2.create.cycle.sql
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.ProcessEngineImpl <init
>
     [java] INFO: ProcessEngine default created
     [java] 23.09.2011 10:58:20 org.activiti.engine.ProcessEngines initProcessEn
ginFromResource
     [java] INFO: initialised process engine default
     [java] 23.09.2011 10:58:20 org.activiti.engine.impl.jobexecutor.JobAcquisit
ionThread run
     [java] INFO: JobAcquisitionThread starting to acquire jobs

internal.cfg.create:
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\setup\build\act
iviti-cfg
      [zip] Building zip: D:\Downloads\Activiti\activiti-5.7\setup\build\activit
i-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [unzip] Expanding: D:\Downloads\Activiti\activiti-5.7\setup\build\activiti-c
fg.jar into D:\Downloads\Activiti\activiti-5.7\workspace\activiti-engine-example
s\src\main\config

internal.classpath.libs:

internal.db.demo.data:
     [echo] populating demo data
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\setup\build\demo
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\setup\build\dem
o
      [sql] Executing resource: D:\Downloads\Activiti\activiti-5.7\setup\build\d
emo\h2.data.sql
      [sql] 34 of 34 SQL statements executed successfully

bar:
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-e
ngine-examples\target
      [zip] Building zip: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-
engine-examples\target\activiti-engine-examples.bar

inflate.libs.and.deploy.cfg:

internal.cfg.create:
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\setup\build\act
iviti-cfg
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [unzip] Expanding: D:\Downloads\Activiti\activiti-5.7\setup\build\activiti-c
fg.jar into D:\Downloads\Activiti\activiti-5.7\workspace\activiti-engine-example
s\src\main\config

inflate.examples:
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-e
ngine-examples\libs-runtime
     [copy] Copying 11 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-engine-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-e
ngine-examples\libs-test
     [copy] Copying 15 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-engine-examples\libs-test
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-g
roovy-examples\libs-runtime
     [copy] Copying 11 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-groovy-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-g
roovy-examples\libs-test
     [copy] Copying 23 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-groovy-examples\libs-test
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-j
pa-examples\libs-runtime
     [copy] Copying 11 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-jpa-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-j
pa-examples\libs-test
     [copy] Copying 23 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-jpa-examples\libs-test
     [move] Moving 1 file to D:\Downloads\Activiti\activiti-5.7\workspace\activi
ti-jpa-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-s
pring-examples\libs-runtime
     [copy] Copying 23 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-spring-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-s
pring-examples\libs-test
     [copy] Copying 31 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-spring-examples\libs-test
     [move] Moving 1 file to D:\Downloads\Activiti\activiti-5.7\workspace\activi
ti-spring-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-c
xf-examples\libs-runtime
     [copy] Copying 53 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-cxf-examples\libs-runtime
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-c
xf-examples\libs-test
     [copy] Copying 15 files to D:\Downloads\Activiti\activiti-5.7\workspace\act
iviti-cxf-examples\libs-test

compile.classpath:

compile:
    [mkdir] Created dir: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-e
ngine-examples\target\classes
    [javac] Compiling 24 source files to D:\Downloads\Activiti\activiti-5.7\work
space\activiti-engine-examples\target\classes

jar:
      [jar] Building jar: D:\Downloads\Activiti\activiti-5.7\workspace\activiti-
engine-examples\target\activiti-engine-examples.jar

deploy:
     [copy] Copying 1 file to D:\Downloads\Activiti\activiti-5.7\apps\apache-tom
cat-6.0.32\webapps\activiti-rest\WEB-INF\lib
[deploy-bar] Initializing process engine default
[deploy-bar] 23.09.2011 10:58:21 org.activiti.engine.ProcessEngines initProcessE
nginFromResource
[deploy-bar] INFO: initializing process engine for resource file:/D:/Downloads/A
ctiviti/activiti-5.7/workspace/activiti-engine-examples/src/main/config/activiti
.cfg.xml
[deploy-bar] 23.09.2011 10:58:21 org.activiti.engine.ProcessEngines initProcessE
nginFromResource
[deploy-bar] SCHWERWIEGEND: Exception while initializing process engine Smiley Surprisedrg.apa
che.commons.logging.LogConfigurationException: No suitable Log constructor [Ljav
a.lang.Class;@592fa617 for org.apache.commons.logging.impl.Log4JLogger (Caused b
y java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apac
he.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava
.lang.Class;@592fa617 for org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
[deploy-bar] org.apache.commons.logging.LogConfigurationException: org.apache.co
mmons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang
.Class;@592fa617 for org.apache.commons.logging.impl.Log4JLogger (Caused by java
.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.com
mons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.
Class;@592fa617 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.
lang.NoClassDefFoundError: org/apache/log4j/Category))
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:543)
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:235)
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:209)
[deploy-bar]    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
351)
[deploy-bar]    at org.springframework.beans.factory.support.DefaultSingletonBea
nRegistry.<init>(DefaultSingletonBeanRegistry.java:83)
[deploy-bar]    at org.springframework.beans.factory.support.FactoryBeanRegistry
Support.<init>(FactoryBeanRegistrySupport.java:43)
[deploy-bar]    at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:172)
[deploy-bar]    at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:154)
[deploy-bar]    at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:148)
[deploy-bar]    at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:32)
[deploy-bar]    at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfigurationFromInputStream(BeansConfigurationHelper.java:43)
[deploy-bar]    at org.activiti.engine.ProcessEngineConfiguration.createProcessE
ngineConfigurationFromInputStream(ProcessEngineConfiguration.java:163)
[deploy-bar]    at org.activiti.engine.ProcessEngineConfiguration.createProcessE
ngineConfigurationFromInputStream(ProcessEngineConfiguration.java:159)
[deploy-bar]    at org.activiti.engine.ProcessEngines.buildProcessEngine(Process
Engines.java:176)
[deploy-bar]    at org.activiti.engine.ProcessEngines.initProcessEnginFromResour
ce(ProcessEngines.java:150)
[deploy-bar]    at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:8
😎
[deploy-bar]    at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarT
ask.java:72)
[deploy-bar]    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[deploy-bar]    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[deploy-bar]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[deploy-bar]    at java.lang.reflect.Method.invoke(Method.java:597)
[deploy-bar]    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[deploy-bar]    at org.apache.tools.ant.Task.perform(Task.java:348)
[deploy-bar]    at org.apache.tools.ant.Target.execute(Target.java:357)
[deploy-bar]    at org.apache.tools.ant.Target.performTasks(Target.java:385)
[deploy-bar]    at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[deploy-bar]    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:38)
[deploy-bar]    at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[deploy-bar]    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[deploy-bar]    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[deploy-bar]    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[deploy-bar]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[deploy-bar]    at java.lang.reflect.Method.invoke(Method.java:597)
[deploy-bar]    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[deploy-bar]    at org.apache.tools.ant.Task.perform(Task.java:348)
[deploy-bar]    at org.apache.tools.ant.Target.execute(Target.java:357)
[deploy-bar]    at org.apache.tools.ant.Target.performTasks(Target.java:385)
[deploy-bar]    at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[deploy-bar]    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:38)
[deploy-bar]    at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[deploy-bar]    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[deploy-bar]    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
ava:105)
[deploy-bar]    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[deploy-bar]    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[deploy-bar]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[deploy-bar]    at java.lang.reflect.Method.invoke(Method.java:597)
[deploy-bar]    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[deploy-bar]    at org.apache.tools.ant.Task.perform(Task.java:348)
[deploy-bar]    at org.apache.tools.ant.Target.execute(Target.java:357)
[deploy-bar]    at org.apache.tools.ant.Target.performTasks(Target.java:385)
[deploy-bar]    at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[deploy-bar]    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

[deploy-bar]    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:41)
[deploy-bar]    at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[deploy-bar]    at org.apache.tools.ant.Main.runBuild(Main.java:758)
[deploy-bar]    at org.apache.tools.ant.Main.startAnt(Main.java:217)
[deploy-bar]    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[deploy-bar]    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[deploy-bar] Caused by: org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@592fa617 for org.apache.commons.log
ging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4
j/Category)
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstruc
tor(LogFactoryImpl.java:413)
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:529)
[deploy-bar]    … 57 more
[deploy-bar] Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Categor
y
[deploy-bar]    at java.lang.Class.getDeclaredConstructors0(Native Method)
[deploy-bar]    at java.lang.Class.privateGetDeclaredConstructors(Class.java:238
9)
[deploy-bar]    at java.lang.Class.getConstructor0(Class.java:2699)
[deploy-bar]    at java.lang.Class.getConstructor(Class.java:1657)
[deploy-bar]    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstruc
tor(LogFactoryImpl.java:410)
[deploy-bar]    … 58 more
[deploy-bar] Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Categ
ory
[deploy-bar]    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[deploy-bar]    at java.security.AccessController.doPrivileged(Native Method)
[deploy-bar]    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[deploy-bar]    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[deploy-bar]    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[deploy-bar]    … 63 more

BUILD FAILED
D:\Downloads\Activiti\activiti-5.7\setup\build.xml:127: The following error occu
rred while executing this line:
D:\Downloads\Activiti\activiti-5.7\setup\build.xml:177: The following error occu
rred while executing this line:
D:\Downloads\Activiti\activiti-5.7\workspace\activiti-engine-examples\build.xml:
75: org.activiti.engine.ActivitiException: Could not find a process engine with
name default, engines loaded:
Process engine name: unknown - resource: file:/D:/Downloads/Activiti/activiti-5.
7/workspace/activiti-engine-examples/src/main/config/activiti.cfg.xml - status:
Error while initializing engine. Stacktrace: org.apache.commons.logging.LogConfi
gurationException: org.apache.commons.logging.LogConfigurationException: No suit
able Log constructor [Ljava.lang.Class;@592fa617 for org.apache.commons.logging.
impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Cat
egory) (Caused by org.apache.commons.logging.LogConfigurationException: No suita
ble Log constructor [Ljava.lang.Class;@592fa617 for org.apache.commons.logging.i
mpl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Cate
gory))
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.<init>(DefaultSingletonBeanRegistry.java:83)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
<init>(FactoryBeanRegistrySupport.java:43)
        at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(
AbstractBeanFactory.java:172)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.<init>(AbstractAutowireCapableBeanFactory.java:154)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
<init>(DefaultListableBeanFactory.java:148)
        at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parseProcessEng
ineConfiguration(BeansConfigurationHelper.java:32)
        at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parseProcessEng
ineConfigurationFromInputStream(BeansConfigurationHelper.java:43)
        at org.activiti.engine.ProcessEngineConfiguration.createProcessEngineCon
figurationFromInputStream(ProcessEngineConfiguration.java:163)
        at org.activiti.engine.ProcessEngineConfiguration.createProcessEngineCon
figurationFromInputStream(ProcessEngineConfiguration.java:159)
        at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.
java:176)
        at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(Proce
ssEngines.java:150)
        at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
        at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarTask.java
:72)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@592fa617 for org.apache.commons.logging.impl.Log
4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
        … 57 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
        at java.lang.Class.getConstructor0(Class.java:2699)
        at java.lang.Class.getConstructor(Class.java:1657)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
        … 58 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Category
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        … 63 more
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

Strange. Did you retry it already in a clean directory?

Best regards,

wir33658
Champ in-the-making
Champ in-the-making
Yes, I tried it in many different flavours (Java 1.5, put it in C:\activiti, …).

No idea what "clean directory" maens, I unziped the latest release moved to the setup folder and used "ant demo.start".

Cheers, Rob.

wir33658
Champ in-the-making
Champ in-the-making
Found it, its the Ant-Version. In the doc it says Ant-Version 1-7-1 and higher, so I have actually 1-7-1 installed and it should work, but I thought I give it a try with the newest Ant Version 1-8-2 ……. and ? ……. it works.

Maybe someone from the Activiti folks should update the documentation.

Cheers, Rob.

trademak
Star Contributor
Star Contributor
Okay, thanks for the update. We'll update the documentation.

Best regards,