cancel
Showing results for 
Search instead for 
Did you mean: 

Error installing activiti with postgres or mysql

diogo
Champ in-the-making
Champ in-the-making
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?
4 REPLIES 4

chrisc
Champ in-the-making
Champ in-the-making
From what I've just read Activiti only supports the H2 database at this stage which makes me think they aren't using an ORM 'under the hood'.

diogo
Champ in-the-making
Champ in-the-making
From what I've just read Activiti only supports the H2 database at this stage which makes me think they aren't using an ORM 'under the hood'.

Really?! only supports the H2? But in the User Guide explaining how to set up is another database…

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
@Diogo: Chris is totally wrong

@Chris:
As mentioned in another post, you are completely wrong about Activiti only supporting H2 and that there is no ORM behind it. If asked normally we could have told you that iBatsi is used (you could have seen in the source as well, it IS open).

The none-experimental db's mentioned in the docs are even part of the QA cycles. This is a requirement by Alfresco, replacing jBPM with Activiti in its ECM solution.

And having a quick look at the error, it says something about not being able to make a connection, which would have nothing to do with Activiti supporting a certain DB or not.

diogo
Champ in-the-making
Champ in-the-making