cancel
Showing results for 
Search instead for 
Did you mean: 

Cycle cleanup not complete

erny18031
Champ in-the-making
Champ in-the-making
Hi.

I just tried out trunk, and I get the following errores when doing "ant demo.install" (after a successful ant distro):


internal.db.create:
     [echo] creating db
….
     [java] GRAVE: Error while closing command context
     [java] org.activiti.engine.ActivitiException: resource 'org/activiti/db/create/activiti.h2.create.cycle.sql' is not available
     [java]    at org.activiti.engine.impl.db.DbSqlSession.executeSchemaResource(DbSqlSession.java:778)
     [java]    at org.activiti.engine.impl.db.DbSqlSession.executeMandatorySchemaResource(DbSqlSession.java:634)


and in effect, it's not present anymore. I did a git log on my activiti fork at github (master branch mirrors exactly svn trunk), and bernd.ruecker removed the cycle db scripts yesterday, 2012-02-27, but did not touch the database tables creation logic, neither removed the demo data for cycle in h2.data.sql (I also get an error here).

See:
  • distro/src/setup/files/cfg.activiti/standalone/activiti.cfg.xml  (property dbCycle)

  • modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java (cycle stuff)

  • distro/src/setup/files/demo/h2.data.sql
So trunk is effectively broken. I'll try with recent 5.9 tag.

Best regards.
Erny
2 REPLIES 2

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Erny.

I reopened the issue, you are right, I missed the demo.install. For the DbSqlSession it seems I missed to commit some files. Shame on me! I should't do such issues as relaxing after work work 😕

Sorry and I will fix it today.

Cheers
Bernd

bernd_ruecker
Champ in-the-making
Champ in-the-making
Committed and now tested the demo installation as well, works as expected. Again: Thanks for raising this!