cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Rest Client

advisor_team
Champ in-the-making
Champ in-the-making
I have problem with process deployment using Activiti Rest API

I am deploying process bundle on  activiti explorer and then i can uploaded process in all process list

But the problem is when i am executing service using activiti rest client to getting list of process definitions then

I can not getting newly uploaded process

please tell me how it is or what is the problem here
7 REPLIES 7

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
I can only guess.
Do rest and explorer configurations point to the same DB?

Regards
Martin

advisor_team
Champ in-the-making
Champ in-the-making
Thank Martin to reply

These are all the properties of db.properties file for both rest and activiti explorer

db=h2
jdbc.driver=org.h2.Driver
jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1
jdbc.username=sa
jdbc.password=

i have checked this also.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Option one:
Run h2 in server mode to allow multiple connections

Option two:
Switch to the another DB.

Regards
Martin

Hi Martin

I think we should go with second option migrate with another DB
But for that we only have to change parameters of db.properties right ?

Or we have to change another file also ?

Regards
advisor_team

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

db.properties change is enough.

Regards
Martin

advisor_team
Champ in-the-making
Champ in-the-making
Hi Martin

I have switched to mysql successfully for both activiti explorer and rest also.
i have done following two changes
first:       Change db.properties file according to your database configuration
Second:  Put mysql.jar for mysql in WEB-INF\lib for both activiti explorer and rest.

Thank You Martin

Regards
advisor_team

blvnt
Champ in-the-making
Champ in-the-making
Hi,

Can I see your db.properties file?

Thanks