cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot deploy bar file thru ANt in 5.7

ruedesilva
Champ in-the-making
Champ in-the-making
Hi,

I am trying to deploy a bar file thru the Ant script and getting the error below. I used to do this without any issues in 5.5. (basically the: " Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc tiviti\libs-runtime\activiti.cfg.xml:" error.

Is there anything new I need to do? I cannot upload/attach any files as any extention I try .bar, .txt, .xml are not allowed.


W:\activiti-5.7\workspace\RevChainActiviti>ant deploy
Buildfile: W:\activiti-5.7\workspace\RevChainActiviti\build.xml

bar:

compile.classpath:

compile:
[javac] W:\activiti-5.7\workspace\RevChainActiviti\build.xml:29: warning: 'i
ncludeantruntime' was not set, defaulting to build.sysclasspath=last; set to fal
se for repeatable builds
[javac] W:\activiti-5.7\workspace\RevChainActiviti\build.xml:32: warning: 'i
ncludeantruntime' was not set, defaulting to build.sysclasspath=last; set to fal
se for repeatable builds

jar:

deploy:
[copy] Copying 1 file to W:\activiti-5.7\apps\apache-tomcat-6.0.32\webapps\
activiti-rest\WEB-INF\lib
[deploy-bar] Initializing process engine default
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextE
lement(AntClassLoader.java:130)
[deploy-bar] at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration
.nextElement(CollectionUtils.java:241)
[deploy-bar] at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:8
7)
[deploy-bar] at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarT
ask.java:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[deploy-bar] Aug 23, 2011 10:42:13 AM org.activiti.engine.ProcessEngines initPro
cessEnginFromResource
[deploy-bar] INFO: initializing process engine for resource file:/W:/activiti-5.
7/workspace/RevChainActiviti/src/main/config/activiti.cfg.xml
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init
>(AntClassLoader.java:110)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoa
der.java:949)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClas
sLoader.java:918)
[deploy-bar] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntC
lassLoader5.java:54)
[deploy-bar] at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1
388)
[deploy-bar] at org.apache.commons.logging.LogFactory.getResources(LogFactory
.java:1408)
[deploy-bar] at org.apache.commons.logging.LogFactory.getConfigurationFile(Lo
gFactory.java:1469)
[deploy-bar] at org.apache.commons.logging.LogFactory.getFactory(LogFactory.j
ava:457)
[deploy-bar] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
685)
[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:46)
[deploy-bar] at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:120)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:33)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
r.java:884)
[deploy-bar] at org.apache.log4j.helpers.Loader.getResource(Loader.java:97)
[deploy-bar] at org.apache.log4j.LogManager.<clinit>(LogManager.java:103)
[deploy-bar] at org.apache.log4j.Logger.getLogger(Logger.java:104)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLo
gger.java:289)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogge
r.java:109)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[deploy-bar] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[deploy-bar] at java.lang.reflect.Constructor.newInstance(Constructor.java:51
3)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromC
lass(LogFactoryImpl.java:1116)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImp
lementation(LogFactoryImpl.java:914)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:604)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:336)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:310)
[deploy-bar] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
685)
[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:46)
[deploy-bar] at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:120)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:33)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
r.java:884)
[deploy-bar] at org.apache.log4j.helpers.Loader.getResource(Loader.java:110)
[deploy-bar] at org.apache.log4j.LogManager.<clinit>(LogManager.java:103)
[deploy-bar] at org.apache.log4j.Logger.getLogger(Logger.java:104)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLo
gger.java:289)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogge
r.java:109)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[deploy-bar] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[deploy-bar] at java.lang.reflect.Constructor.newInstance(Constructor.java:51
3)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromC
lass(LogFactoryImpl.java:1116)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImp
lementation(LogFactoryImpl.java:914)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:604)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:336)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:310)
[deploy-bar] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
685)
[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:46)
[deploy-bar] at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:120)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:33)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
r.java:884)
[deploy-bar] at org.apache.log4j.helpers.Loader.getResource(Loader.java:97)
[deploy-bar] at org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
[deploy-bar] at org.apache.log4j.Logger.getLogger(Logger.java:104)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLo
gger.java:289)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogge
r.java:109)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[deploy-bar] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[deploy-bar] at java.lang.reflect.Constructor.newInstance(Constructor.java:51
3)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromC
lass(LogFactoryImpl.java:1116)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImp
lementation(LogFactoryImpl.java:914)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:604)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:336)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:310)
[deploy-bar] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
685)
[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:46)
[deploy-bar] at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:120)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:33)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
r.java:884)
[deploy-bar] at org.apache.log4j.helpers.Loader.getResource(Loader.java:110)
[deploy-bar] at org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
[deploy-bar] at org.apache.log4j.Logger.getLogger(Logger.java:104)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLo
gger.java:289)
[deploy-bar] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogge
r.java:109)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[deploy-bar] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
[deploy-bar] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
[deploy-bar] at java.lang.reflect.Constructor.newInstance(Constructor.java:51
3)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromC
lass(LogFactoryImpl.java:1116)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImp
lementation(LogFactoryImpl.java:914)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
gFactoryImpl.java:604)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:336)
[deploy-bar] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:310)
[deploy-bar] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
685)
[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:46)
[deploy-bar] at org.springframework.beans.factory.support.AbstractBeanFactory
.<init>(AbstractBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.AbstractAutowireCap
ableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:115)
[deploy-bar] at org.springframework.beans.factory.support.DefaultListableBean
Factory.<init>(DefaultListableBeanFactory.java:120)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:33)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[deploy-bar] log4j:WARN No appenders could be found for logger (org.springframew
ork.beans.factory.xml.XmlBeanDefinitionReader).
[deploy-bar] log4j:WARN Please initialize the log4j system properly.
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init
>(AntClassLoader.java:110)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoa
der.java:949)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClas
sLoader.java:918)
[deploy-bar] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntC
lassLoader5.java:54)
[deploy-bar] at org.springframework.core.io.support.PropertiesLoaderUtils.loa
dAllProperties(PropertiesLoaderUtils.java:103)
[deploy-bar] at org.springframework.beans.factory.xml.PluggableSchemaResolver
.getSchemaMappings(PluggableSchemaResolver.java:144)
[deploy-bar] at org.springframework.beans.factory.xml.PluggableSchemaResolver
.resolveEntity(PluggableSchemaResolver.java:110)
[deploy-bar] at org.springframework.beans.factory.xml.DelegatingEntityResolve
r.resolveEntity(DelegatingEntityResolver.java:85)
[deploy-bar] at org.springframework.beans.factory.xml.ResourceEntityResolver.
resolveEntity(ResourceEntityResolver.java:74)
[deploy-bar] at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper
.resolveEntity(EntityResolverWrapper.java:107)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.reso
lveEntity(XMLEntityManager.java:1100)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.re
solveDocument(XMLSchemaLoader.java:595)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
.findSchemaGrammar(XMLSchemaValidator.java:2403)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
.handleStartElement(XMLSchemaValidator.java:1753)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator
.startElement(XMLSchemaValidator.java:685)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI
mpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI
mpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc
annerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3088)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImp
l$PrologDriver.next(XMLDocumentScannerImpl.java:914)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImp
l.next(XMLDocumentScannerImpl.java:647)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI
mpl.next(XMLNSDocumentScannerImpl.java:140)
[deploy-bar] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc
annerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
[deploy-bar] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration
.parse(XML11Configuration.java:807)
[deploy-bar] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration
.parse(XML11Configuration.java:737)
[deploy-bar] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XM
LParser.java:109)
[deploy-bar] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO
MParser.java:225)
[deploy-bar] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p
arse(DocumentBuilderImpl.java:284)
[deploy-bar] at org.springframework.beans.factory.xml.DefaultDocumentLoader.l
oadDocument(DefaultDocumentLoader.java:75)
[deploy-bar] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader
.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
[deploy-bar] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader
.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
[deploy-bar] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader
.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
[deploy-bar] at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parsePr
ocessEngineConfiguration(BeansConfigurationHelper.java:35)
[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:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextE
lement(AntClassLoader.java:130)
[deploy-bar] at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration
.nextElement(CollectionUtils.java:241)
[deploy-bar] at sun.misc.Service$LazyIterator.hasNext(Service.java:258)
[deploy-bar] at javax.script.ScriptEngineManager.initEngines(ScriptEngineMana
ger.java:107)
[deploy-bar] at javax.script.ScriptEngineManager.access$000(ScriptEngineManag
er.java:37)
[deploy-bar] at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.ja
va:81)
[deploy-bar] at javax.script.ScriptEngineManager.init(ScriptEngineManager.jav
a:84)
[deploy-bar] at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.j
ava:51)
[deploy-bar] at org.activiti.engine.impl.scripting.ScriptingEngines.<init>(Sc
riptingEngines.java:40)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.i
nitScriptingEngines(ProcessEngineConfigurationImpl.java:780)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.i
nit(ProcessEngineConfigurationImpl.java:283)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.b
uildProcessEngine(ProcessEngineConfigurationImpl.java:270)
[deploy-bar] at org.activiti.engine.ProcessEngines.buildProcessEngine(Process
Engines.java:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init
>(AntClassLoader.java:110)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoa
der.java:949)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClas
sLoader.java:918)
[deploy-bar] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntC
lassLoader5.java:54)
[deploy-bar] at sun.misc.Service$LazyIterator.hasNext(Service.java:249)
[deploy-bar] at java.sql.DriverService.run(DriverManager.java:663)
[deploy-bar] at java.sql.DriverManager.loadInitialDrivers(DriverManager.java:
508)
[deploy-bar] at java.sql.DriverManager.initialize(DriverManager.java:613)
[deploy-bar] at java.sql.DriverManager.registerDriver(DriverManager.java:281)

[deploy-bar] at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:20
2)
[deploy-bar] at java.lang.Class.forName0(Native Method)
[deploy-bar] at java.lang.Class.forName(Class.java:247)
[deploy-bar] at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.init
ializeDriver(UnpooledDataSource.java:173)
[deploy-bar] at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getC
onnection(UnpooledDataSource.java:59)
[deploy-bar] at org.apache.ibatis.datasource.pooled.PooledDataSource.popConne
ction(PooledDataSource.java:349)
[deploy-bar] at org.apache.ibatis.datasource.pooled.PooledDataSource.getConne
ction(PooledDataSource.java:55)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.i
nitDatabaseType(ProcessEngineConfigurationImpl.java:474)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.i
nitDataSource(ProcessEngineConfigurationImpl.java:437)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.i
nit(ProcessEngineConfigurationImpl.java:293)
[deploy-bar] at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.b
uildProcessEngine(ProcessEngineConfigurationImpl.java:270)
[deploy-bar] at org.activiti.engine.ProcessEngines.buildProcessEngine(Process
Engines.java:177)
[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:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.ProcessEngineImpl
<init>
[deploy-bar] INFO: ProcessEngine default created
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.ProcessEngines initPro
cessEnginFromResource
[deploy-bar] INFO: initialised process engine default
Unable to obtain resource from W:\activiti-5.7\workspace\RevChainActiviti\libs-r
untime\activiti.cfg.xml: java.util.zip.ZipException: Could not find End Of Centr
al Directory
[deploy-bar] Unable to obtain resource from W:\activiti-5.7\workspace\RevChainAc
tiviti\libs-runtime\activiti.cfg.xml:
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.jobexecutor.JobAc
quisitionThread run
[deploy-bar] INFO: JobAcquisitionThread starting to acquire jobs
[deploy-bar] java.util.zip.ZipException: Could not find End Of Central Directory

[deploy-bar] at java.util.zip.ZipFile.open(Native Method)
[deploy-bar] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:133)
[deploy-bar] at java.util.jar.JarFile.<init>(JarFile.java:97)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1002)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:145)
[deploy-bar] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init
>(AntClassLoader.java:110)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoa
der.java:949)
[deploy-bar] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClas
sLoader.java:918)
[deploy-bar] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntC
lassLoader5.java:54)
[deploy-bar] at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:9
2)
[deploy-bar] at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarT
ask.java:73)
[deploy-bar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:291)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[deploy-bar] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[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:390)
[deploy-bar] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[deploy-bar] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1397)
[deploy-bar] at org.apache.tools.ant.Project.executeTarget(Project.java:1367)

[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:1251
)
[deploy-bar] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[deploy-bar] at org.apache.tools.ant.Main.startAnt(Main.java:219)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[deploy-bar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[deploy-bar] Starting to deploy 1 files
[deploy-bar] Handling file W:\activiti-5.7\workspace\RevChainActiviti\target\Rev
ChainActiviti.bar
[deploy-bar] deploying bar W:\activiti-5.7\workspace\RevChainActiviti\target\Rev
ChainActiviti.bar
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/treatment/CallSubscriber.png

[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/examples/VacationRequestRC/a
djustRequest.form
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/examples/VacationRequestRC/V
acationRequestRC.png
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/examples/VacationRequestRC/a
pprove.form
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/treatment/CallSubscriber.bpm
n20.xml
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.parser.BpmnP
arse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.parser.BpmnP
arse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/examples/VacationRequestRC/r
equest.form
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.deployer.Bpm
nDeployer deploy
[deploy-bar] INFO: Processing resource com/revchain/examples/VacationRequestRC/V
acationRequestRC.bpmn20.xml
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.parser.BpmnP
arse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] Aug 23, 2011 10:42:17 AM org.activiti.engine.impl.bpmn.parser.BpmnP
arse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
5 REPLIES 5

trademak
Star Contributor
Star Contributor
Hi,

You can find the activiti.cfg.xml file in the src/main/config dir of the activiti-engine-examples folder.
So just change the build.xml file to that location.

Best regards,

ruedesilva
Champ in-the-making
Champ in-the-making
I had already done that. Here's my task form build.xml. Or is there something else I need to do?

<target name="deploy" depends="bar, jar">
    <copy file="target/RevChainActiviti.jar"
          todir="${webapp.rest.dir}/WEB-INF/lib"
          overwrite="true" />
   <!– the touch redeploys the rest webapp so that the new classes are picked up –>
   <!– copy file="../../setup/build/webapps/activiti-explorer.war/WEB-INF/web.xml" tofile="${webapp.rest.dir}/WEB-INF/web.xml" overwrite="true"/ –>
    <taskdef name="deploy-bar" classname="org.activiti.engine.impl.ant.DeployBarTask">
      <classpath>
        <pathelement path="src/main/config"/>
        <fileset dir="libs-runtime" />
        <fileset dir="libs-test" />
      </classpath>
    </taskdef>
    <deploy-bar file="target/RevChainActiviti.bar" />
  </target>


thanks,
Rue

trademak
Star Contributor
Star Contributor
Hi,

No that looks fine, isn't that working then?

Best regards,

frederikherema1
Star Contributor
Star Contributor
Judging from the stacktrace, looks like all zip's the JVM is trying to read, are corrupt (including jars and bar-file).

ruedesilva
Champ in-the-making
Champ in-the-making
Well the jar file just gets copied and no issue with that. The error comes from org.activiti.engine.impl.ant.DeployBarTask task. The bar file itself is not corrupt, I can open it and look at all the files without an issue. Again this was fine with 5.5. version, just when I upgraded to 5.7 it does not work.

thanks,
Rue