AnsweredAssumed Answered

Error installing activiti with postgres or mysql

Question asked by diogo on Jul 14, 2011
Latest reply on Jul 22, 2011 by diogo
I'm trying to install activiti in Linux but I have only gotten error in installation:
1. I configured the files: build.properties and build.{database}.properties.
2. I ran the commands: and cfg.create e ant demo.start.

And the error that appears is the following:

MySQL:
BUILD FAILED
/opt/activiti-5.6/setup/build.xml:157: The following error occurred while executing this line:
/opt/activiti-5.6/setup/build.xml:227: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

POSTGRES:
BUILD FAILED
/opt/activiti-5.6/setup/build.xml:157: The following error occurred while executing this line:
/opt/activiti-5.6/setup/build.xml:227: java.lang.NoClassDefFoundError: org.postgresql.jdbc4.AbstractJdbc4Connection


PS1.: MySQL and Postgres are initialized and both BD were created.
PS2.: Sorry my bad english.

Could someone help me?

Outcomes