Activiti Rest API login fails -


while logging activiti-rest through uri (activitirest/service/login) method:post

in body given

{   "userid": "kermit",   "password": "kermit" }  

i 500 internal sever error.i running through rest client addon in mozilla.i checked previous posts tried still problem not solved.please explain how solve problem.in tomcat shows exception

exception or error caught in resource org.activiti.engine.activitiexception: username , password not match.

my activiti-rest war file id deployed on tomcat server runs on port number 8080. tried following url mentioned payload, worked me :

post http://localhost:8080/activiti-rest/service/login

{ "userid": "kermit", "password": "kermit" }

when ever hit url, checks database configured before deplyiong activiti-rest war file. can changing db.properties, , properties should same db.properties present in activiti-explorer. both should point same database.

the table act_id_user contains user credential.

i hope helps you.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -