2 Replies Latest reply: Jun 4, 2010 4:39 AM by Wladimir Lavrov RSS

JBPM4.3: login is not possible in the web console if i use the new username and password

Wladimir Lavrov Newbie

Path: jbpm.home/install/src/demo/example.identities.sql

INSERT INTO JBPM4_ID_GROUP VALUES (1,0,'manager','manager','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES (2,0,'administrator','administrator','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES (3,0,'user','user','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES(4,0,'sales','sales',NULL,NULL);
INSERT INTO JBPM4_ID_GROUP VALUES (5,0,'assistent','assistent','security-role',NULL);

 

INSERT INTO JBPM4_ID_USER VALUES (1,0,'alex','password','Alex',NULL,'alex@jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (2,0,'mike','password','Mike',NULL,'mike@jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (3,0,'peter','password','Peter',NULL,'peter@jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (4,0,'mary','password','Mary',NULL,'mary@jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (5,0,'as','pass','TestAS',NULL,'test@bla.com');

 

INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (1,0,1,2,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (2,0,2,1,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (3,0,3,3,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (4,0,3,4,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (5,0,4,3,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (6,0,4,4,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (7,0,5,5,NULL);

 

I added in the  document "example.identities.sql" user and group and uploaded this document in the database using the command "ant -Ddatabase=mysql load.example.identities". When I try to log into  the user interface using the username "as" and password "pass" I get  the following message:

08:49:20,734 INFO  [SynchronousDispatcher] Could not find resource for relative
: /identity/secure/j_security_check of full path: http://localhost:8080/gwt-console-server/rs/identity/secure/j_security_check

 

If I use login "alex" and password "password" it's work!

 

Please  help me find the error.