cancel
Showing results for 
Search instead for 
Did you mean: 

Setup Activiti under Window7

activiti-starte
Champ in-the-making
Champ in-the-making
Hi community,

i am new to the whole Activiti thing and i need some help.

My company wants to step up from BPMN1.0 & BPEL to BPMN and wants to try Activiti
My task is it to set up a trial Activiti test enviorment to play around a bit an see how it works etc.

I startet by following the guide
http://www.activiti.org/userguide/index.html#N1008C

the resources i use are
- ant version 1.8.2
- eclipse classic 3.7
- activiti 5.7
- jdk 1.7.0

I followed the steps to set up the demo.
But i din't worked

My first problem was that windows7 didn't allowed the script to download the tomcat-server
so i downloaded it maually and unzip it to the "apps"-folder
then i ran the demo.start again and i reported me, that everything was fine.
At the end of the script nothign happens. simply writing "Build successful"
it doesn't open a browser or something else

I can access the tomcat server under call http://localhost:8080
But when i visit the link
http://localhost:8080/activiti-explorer
i get an 404 error that the source was not found

one thing i should mention too is that in the company is (like in most companies) a proxy running.
Do i have to change some values in the build.xml like adding the proxy settings to the file?

On the other side i tried to start the examples with an eclipse (3.7)
i imported the examples into eclipse as explained in the guide but there i get
51 errors:
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/commons-lang-2.4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-api-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-common-schemas-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-common-utilities-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-bindings-soap-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-bindings-xml-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-core-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-databinding-jaxb-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-frontend-jaxws-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-frontend-simple-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-transports-http-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-transports-http-jetty-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-ws-addr-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-tools-common-2.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/FastInfoset-1.2.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/geronimo-annotation_1.0_spec-1.1.1.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/geronimo-jaxws_2.1_spec-1.0.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/geronimo-servlet_2.5_spec-1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/geronimo-stax-api_1.0_spec-1.0.1.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/geronimo-ws-metadata_2.0_spec-1.1.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/jaxb-impl-2.2.1.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/jetty-6.1.9.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/jetty-util-6.1.9.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/saaj-api-1.3.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/saaj-impl-1.3.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/slf4j-jdk14-1.6.1.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/spring-web-2.0.8.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/velocity-1.4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/velocity-dep-1.4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/wstx-asl-3.2.4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/XmlSchema-1.4.2.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-test/jtds-1.2.4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-test/mysql-connector-java-5.1.6.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-cxf-examples' is missing required library: 'libs-test/postgresql-8.4-701.jdbc4.jar'   activiti-cxf-examples      Build path   Build Path Problem
Project 'activiti-engine-examples' is missing required library: 'libs-test/jtds-1.2.4.jar'   activiti-engine-examples      Build path   Build Path Problem
Project 'activiti-engine-examples' is missing required library: 'libs-test/mysql-connector-java-5.1.6.jar'   activiti-engine-examples      Build path   Build Path Problem
Project 'activiti-engine-examples' is missing required library: 'libs-test/postgresql-8.4-701.jdbc4.jar'   activiti-engine-examples      Build path   Build Path Problem
Project 'activiti-groovy-examples' is missing required library: 'libs-test/jtds-1.2.4.jar'   activiti-groovy-examples      Build path   Build Path Problem
Project 'activiti-groovy-examples' is missing required library: 'libs-test/mysql-connector-java-5.1.6.jar'   activiti-groovy-examples      Build path   Build Path Problem
Project 'activiti-groovy-examples' is missing required library: 'libs-test/postgresql-8.4-701.jdbc4.jar'   activiti-groovy-examples      Build path   Build Path Problem
Project 'activiti-jpa-examples' is missing required library: 'libs-test/jtds-1.2.4.jar'   activiti-jpa-examples      Build path   Build Path Problem
Project 'activiti-jpa-examples' is missing required library: 'libs-test/mysql-connector-java-5.1.6.jar'   activiti-jpa-examples      Build path   Build Path Problem
Project 'activiti-jpa-examples' is missing required library: 'libs-test/postgresql-8.4-701.jdbc4.jar'   activiti-jpa-examples      Build path   Build Path Problem
Project 'activiti-spring-examples' is missing required library: 'libs-test/jtds-1.2.4.jar'   activiti-spring-examples      Build path   Build Path Problem
Project 'activiti-spring-examples' is missing required library: 'libs-test/mysql-connector-java-5.1.6.jar'   activiti-spring-examples      Build path   Build Path Problem
Project 'activiti-spring-examples' is missing required library: 'libs-test/postgresql-8.4-701.jdbc4.jar'   activiti-spring-examples      Build path   Build Path Problem
The project cannot be built until build path errors are resolved   activiti-cxf-examples      Unknown   Java Problem
The project cannot be built until build path errors are resolved   activiti-engine-examples      Unknown   Java Problem
The project cannot be built until build path errors are resolved   activiti-groovy-examples      Unknown   Java Problem
The project cannot be built until build path errors are resolved   activiti-jpa-examples      Unknown   Java Problem
The project cannot be built until build path errors are resolved   activiti-spring-examples      Unknown   Java Problem

is there someone who can help me solving my problems? ^^
if there is need of more information please simply ask for them and i will provide what i forgot

kind regards,
Activiti-Starter
15 REPLIES 15

frederikherema1
Star Contributor
Star Contributor
Looks like the build was in an inconsistent state, after the tomcat-download failed… Can you try from a clean build again (do a ant demo.stop and demo.clean or maybe unzip the distro again), making sure the tomcat zip is in the download folder.

activiti-starte
Champ in-the-making
Champ in-the-making
hi frederik,

as you suggested i deleted my entire activiti setup and set up a new one
the same error appears while i had the tomcat zip in my download folder
BUT
i mentioned that a new download folder was created on the desktop
i put the tomcat zip into THIS fodler and tried it again and it worked! Smiley Very Happy

now i see the broswer window and can login as kermit
^^

thank you.

but the eclipse problem is already the same.
all 51 errors appear as before due i deleted the imports and imported them
again.

have you a hint on this term? =/

frederikherema1
Star Contributor
Star Contributor
Looks like the lib's aren't in the right place. Can you try adding the libraries yourself to the eclipse-classpath? They should be in the setup directory somewhere…

activiti-starte
Champ in-the-making
Champ in-the-making
can you tell me how i have to do that, please?

activiti-starte
Champ in-the-making
Champ in-the-making
the problem is still the same 😕
i also tried to run the ant examples.inflate command but it doesn't change anything

one question besides: is there a guide to activiti in german?
the only guide, main guide from the activiti page, is in english
i didn't found something simmilar on the web in german. does someone know
a resource for that?

update:
i tried something different
i downloaded the activiti-5.3 build and imported the examples from there
and they cause no errors =/

activiti-starte
Champ in-the-making
Champ in-the-making
Hi it's me again ^^

after a long night i figured out a working setup for Activiti
I used the Activiti release 5.4 (the one wich worked)

If you are a Win7User without admin-rights, do the following
Follow the setup as showen in the guide for setting up ANT
and the JDK
now, you have to download the required files wich are asked for during the installation by hand.
These are:
- apache tomcat

- activiti-modeler
http://activiti.org/downloads/activiti-modeler-5.4.war

now unzip the activiti archive wich you downloaded (again, use version 5.4)
and create on the same level as the unzipped folder a new folder "downloads"
save the downloaded files from above into it.

next you can execute the ant demo.start command by navigating to the setup
file in the activiti-5.4 folder in your console.

The setup should run properly and all tools should been set up after a while for you since the setup didn't need
to download the files as it looks up form them in your created download folders

Greeting,
Activiti-starter

kevindorr
Champ in-the-making
Champ in-the-making
I've just hit the same problem I believe in the 5.7 distribution. In Eclipse, the .classpath file contains pointers to libraraies that don't exist in the distribution. For example the .classpath for the cxf-examples contains the following entries:

<classpathentry kind="lib" path="libs-runtime/commons-lang-2.4.jar"/>
<classpathentry kind="lib" path="libs-runtime/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="libs-runtime/cxf-api-2.1.2.jar"/>

the libs-runtime directory for the cxf example does not contain commons-lang-2.4.jar at all, does contain commons-logging-1.1.1.jar, and does not contain cxf-api-2.1.2.jar, but does contain cxf-api-2.3.1.jar.

Is the problem with the classpath file, or are there libraries missing from the distro?

michael_s
Champ in-the-making
Champ in-the-making
I got the same issues when I imported the examples of distribution 5.7 into Eclipse (Indigo Release) , some jar files are missing which are in the classpath.

Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/commons-lang-2.4.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-api-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-common-schemas-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-common-utilities-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-bindings-soap-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-bindings-xml-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-core-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-databinding-jaxb-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-frontend-jaxws-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-frontend-simple-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-transports-http-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-transports-http-jetty-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-rt-ws-addr-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/cxf-tools-common-2.1.2.jar'
Project 'activiti-cxf-examples' is missing required library: 'libs-runtime/FastInfoset-1.2.2.jar'
……..

Some of these libraries have the different version, some of them dose not exit in this distribution.

Does any one have the same problem and resolve it?