cancel
Showing results for 
Search instead for 
Did you mean: 

10 minute tutorial

agiledevpro
Champ in-the-making
Champ in-the-making
Hi,

I've followed the 10 minute tutorial on activiti.org, but when I run the code I get an error saying:

[main] ERROR org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl - Exception while initializing Database connection
org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:tcp://localhost/activiti". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-179]

I've changed the URL in the db.properties file to: jdbc:h2:tcp://localhost/~/activiti but the error is still exacly the same, and the changes does not seem to have been applied since the error still is as above…."jdbc:h2:tcp://localhost/activiti". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-179].

My os is Windows 7 and I'm using jre 6.

Any suggestions?
12 REPLIES 12

agiledevpro
Champ in-the-making
Champ in-the-making
Hi,

It all seems to be working now, I've followed another tutorial here: https://cis.ait.asia/course_offerings/89/activiti-tutorial that is similar to the 10 minute tutorial.

agiledevpro
Champ in-the-making
Champ in-the-making
UPDATE:

Problem solved by adding  property name="databaseSchemaUpdate" value="true"  to my activiti.cfg.xml file. The tables gets created in H2, but when I try to access activiti-explorer now in my browser (http://localhost:8080/activiti-explorer/) I get a blank page?


Thanks

UPDATE:

Solved by reinstalling tomcat.

agiledevpro
Champ in-the-making
Champ in-the-making
It works now, thanks anyway