cancel
Showing results for 
Search instead for 
Did you mean: 

Samples in 5.11 Issue

ginni
Champ in-the-making
Champ in-the-making
I am working through the Activiti in Action book from 2012. I successfully ran the BookOrderTest JUnit test and saw the appropriate output in the console. I am running tomcat 7 locally and have deployed the activiti-explorer.war there. When I look however, I do not see the task in the explorer. I have followed the book carefully and do not see where I may have missed some configuration step or other. Any ideas?

When I try to build the project (mvn clean install) and run the tests provided, I get to FourEyesTest and then the test fails. This is the first error thrown:

Exception while invoking TaskListener: Assignee of task firstTask is not allowed to claim this task

Then, a bit further down, I see:

LDAP connection open failure.

I am not sure if these issues are related to the fact that my task does not show up in the activiti explorer. When I just run the one test, I get no errors such as these.

Thanks,

Ginni
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Ginni,

Did you look in the 'queued' sub menu in the Activiti Explorer? The task should be claimed there first.

The FourEyesTest doesn't fail with that error, it's an expected error.

If you run all tests without setting up the LDAP repository as explained in chapter 10, then you'll get that connection failure exception.

Best regards,

ginni
Champ in-the-making
Champ in-the-making
I looked in all the views. There was no task anywhere.

I am running in Eclipse Indigo. My Tomcat runs outside Eclipse. I deployed your wars there, started it up, made sure the Activiti Explorer was available. Then in Eclipse, I run the JUnit test and see the output in the console in Eclipse. My server within Eclipse is pointed to my external Tomcat instance. Not sure if these details are helpful.

trademak
Star Contributor
Star Contributor
Which version of Activiti are you using? Do you see any error logs in Tomcat?
Did you login with the user kermit?

Best regards,