AnsweredAssumed Answered

Setting up activity for standalone H2 Database.

Question asked by mohit on Feb 22, 2016
Latest reply on Feb 23, 2016 by mohit
Hi All,

I am following the book Activiti in action along with the official documentation of Activity.

So, far I have managed to run BookOrderTest & SimpleProcessTest successfully in InMemory DB settings.

But, whenever I update my code to use the standalone H2 DB, I start getting:

org.h2.jdbc.JdbcSQLException: Wrong user name or password [28000-191]
   at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
   at org.h2.message.DbException.get(DbException.java:179)
   at org.h2.message.DbException.get(DbException.java:155)
   at org.h2.message.DbException.get(DbException.java:144)
   at org.h2.engine.Engine.validateUserAndPassword(Engine.java:333)
   at org.h2.engine.Engine.createSessionAndValidate(Engine.java:161)
   at org.h2.engine.Engine.createSession(Engine.java:136)
   at org.h2.server.TcpServerThread.run(TcpServerThread.java:149)
   at java.lang.Thread.run(Thread.java:745)

I have posted this on stackoverflow with complete details of my project + setup: http://stackoverflow.com/q/35558646/768894

Can someone please help as I have already wasted 6 hours now and this just won't work?
Is there some book/documentation intended for beginners which provide example and settings that actually work?

I was expecting activiti to be fun, but the Official documentation either assumes a lot or points to other sites instead of just sharing some standard settings and working examples. :(


Thanks,
Mohit

Outcomes