cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Activiti 5.9 demo

sreeraaman
Champ in-the-making
Champ in-the-making
Dear All,

I just downloaded activiti - 5.9 and tried the ant demo.start. However, the console displays the following message.
[launch] waiting for launch completion msg 'TCP server running on'…
and then throws the following exception:

[launch]   Exception in thread "main" org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://192.168.12.179:9092)" (port may be in use), cause: "timeout" [90061-132]
   [launch]      at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
   [launch]      at org.h2.message.DbException.get(DbException.java:167)
   [launch]      at org.h2.tools.Server.start(Server.java:344)
   [launch]      at org.h2.tools.Server.runTool(Server.java:216)
   [launch]      at org.h2.tools.Server.main(Server.java:106)

Any ideas what could be wrong?

I am on ubuntu 11.10 x86 64 bit.

best regards
Sriraman.
1 REPLY 1

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

There could be several things happening, e.g.:
* firewall blocking port
* h2 just listening to localhost

Please change your build.db.properties to:

db=h2
jdbc.driver=org.h2.Driver
jdbc.url=jdbc:h2:tcp://localhost/activiti
jdbc.username=sa
jdbc.password=

Then you could do a "ant demo.clean && ant demo.install".

So check if H2 starts correctly, you could use "ant h2.start". (To stop, use "ant h2.stop" of course.)

There is a H2 web console. Start it with "ant h2.console.start". Then you can direct your browser to http://localhost:8082/

Regards.
Erny