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

upgrayed
Champ in-the-making
Champ in-the-making
Same problem here with version 5.7, and i'm working on WindowsXP, so its not a problem with Windows7.
I get exactly 51 errors as stated above by "Activiti-Starter".

So perhaps its just an package error and some files are missing or build path is broken…

halina9000
Champ in-the-making
Champ in-the-making
Build path -> Configure Build Path…

then:

then find missing library (marked with white 'x' on red square)
double click it
try to find higher version of library in just opened directory
- if you found it click 'Open' button
- if not: try to find it in \setup\files\dependencies\libs directory
- if not: get it from activiti-5.3 directory ('ant inflate.examples' first!)

kwillem
Champ in-the-making
Champ in-the-making
Had the same problem with version 5.8.

It looks like the build path contains references to old jars. (for instance the cfx-api-2.1.2.jar is upgraded to cfx-api-2.3.1.jar)

To solve the problem I first removed for every eample project listed in the package explorer all the libraries on the libraries tab from the buildpath except the JRE System Library [jre6]. And then I added for each project all the jars found in the libs-runtime and libs-test subdirectories of the project.

Now the project builds with no errors.

bredhedden1
Champ in-the-making
Champ in-the-making
So now which version are you using right now that works finally for you, please let me know.

max-2001
Champ in-the-making
Champ in-the-making
Hi @ all,

sorry to push up an old topic but I've the same problem with the missing jars like Activiti-Starter, after following the installation guide and setup demo.
Is there an "automated" solution to get all required jars in the correct folders or why this missing jar problem is still alive in the new version (5.9)?
Tryed already "demo.clean" and the "examples.inflate".

thanks and regards
max

prabhakarperi
Champ in-the-making
Champ in-the-making
This problem is there even with activiti5.9.
Fix: Go to libraries configuration in eclipse and remove all the jars marked with red 'x'.
It seems the eclipse '.classpath' is built from an ant build file which consists of jars which are no more relevant. Eclipse reports errors for references of any jars that it cannot locate.