AnsweredAssumed Answered

Installation problems

Question asked by dum on Apr 5, 2011
Latest reply on Apr 5, 2011 by frederikheremans1
Hi, I am new to activiti, and have a problem with the installation.
I downloaded activiti-5.4. on my windows seven machine
When I first tried ant.demo.start I git an error with the tomcat installation

I the tried again, first downloading tomcat apache-tomcat-6.0.32-windows-x86.zip .
When the unsuccessfull instalation is terminated, i have my own dowloaded file apache-tomcat-6.0.32-windows-x86.zip, but also an apache-tomcat-6.0.32.zip file in my donwloads folder.
The apache-tomcat-6.0.32.zip file is not expandable.

Here are the log when it came to the installation of tomcat
tomcat.install:

internal.tomcat.download:
      [get] Getting: http://activiti.org/downloads/apache-tomcat-6.0.32.zip
      [get] To: c:\downloads\apache-tomcat-6.0.32.zip

internal.tomcat.unzip:
    [unzip] Expanding: c:\downloads\apache-tomcat-6.0.32.zip into c:\activiti\ap
ps

BUILD FAILED
c:\activiti\setup\build.xml:159: The following error occurred while executing th
is line:
c:\activiti\setup\build.xml:324: The following error occurred while executing th
is line:
c:\activiti\setup\build.xml:341: Error while expanding c:\downloads\apache-tomca
t-6.0.32.zip
java.io.IOException: Negative seek offset
        at java.io.RandomAccessFile.seek(Native Method)
        at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:
467)
        at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:313)
        at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:185)
        at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170)
        at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.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: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(Single
CheckExecutor.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(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: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(Single
CheckExecutor.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(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: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(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 28 seconds

c:\activiti\setup>

Outcomes