cancel
Showing results for 
Search instead for 
Did you mean: 

Add a new user to the database

rajee434
Champ in-the-making
Champ in-the-making
Hi,

How to access the database of the activiti tool?
As per the instructions given i am now able to run the demo application and the following applications run
http://localhost:8080/activiti-probe
http://localhost:8080/activiti-explorer
http://localhost:8080/activiti-cycle/
http://localhost:8080/activiti-kickstart

How to login? Which database should i connect?
Also i would like to use default database h2. So how to access h2 database from my machine?
How to add a new user?
Kindly reply as being new to this i am in trouble to move forward.

Thanks,
Rajee
6 REPLIES 6

hamepal
Champ in-the-making
Champ in-the-making
if you have executed "ant demo.start" at activiti.x.y\setup directory it would have automatically created h2 database for you and linked it with activiti.
Please check this link

By logging in http://localhost:8080/activiti-administrator with user id "kermit" and pwd "kermit", by clicking create button you would be able to add user and assign the various access levels.

for inspecting the database you need to login(use same userid and pwd mentioned above) to http://localhost:8080/activiti-probe/service/ and check the database by clicking the Database link on the top side and then clicking on the various table names which appear on the left hand side of the window.

Read the userguid present at http://www.activiti.org/userguide/index.html

Hope this helps you  Smiley Happy

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
please use the userforum for questions like this!

rajee434
Champ in-the-making
Champ in-the-making
Hi hamepal,

Thanks for your reply.
It was very helpful for me. Now i am able to add my own user.
Is it possible to change the database to my system.
I want my own database not this h2 default database.
How to change the database to my own?
Hope you can understand.

Ronald: Since i posted in this i have replied. In future i will post my further queries to user forum

Thanks,
Rajee

frederikherema1
Star Contributor
Star Contributor
Rajee,

The userguide contians a chapter on how to change your database configuration. I suggest reading that first…

rajee434
Champ in-the-making
Champ in-the-making
Hi ,

I have gone through the user guide. Since i have a doubt
      >> Edit setup/build.properties and change the db parameter to your type of database {oracle | mysql | postgres | h2 | db2 | mssql}
                 I cant find any db parameter in setup/build.properties file. Where should i change?
      >> Edit setup/build.${db}.properties and change the JDBC connection parameters to those of your database installation.
                 What parameter should i give for JDBC connection to connect to my MS Sql server?
Kindly help me in this.

Thanks,
Rajee

feminist
Champ in-the-making
Champ in-the-making
Hi ,

I have gone through the user guide. Since i have a doubt
      >> Edit setup/build.properties and change the db parameter to your type of database {oracle | mysql | postgres | h2 | db2 | mssql}
                 I cant find any db parameter in setup/build.properties file. Where should i change?
      >> Edit setup/build.${db}.properties and change the JDBC connection parameters to those of your database installation.
                 What parameter should i give for JDBC connection to connect to my MS Sql server?
Kindly help me in this.

Thanks,
Rajee

same problem here too