JBoss Community

Re: REST interface for JBPM

created by Ati Rosselet in jBPM - View the full discussion

Hi Alex,

When trying to get a list with /exec/executions we are getting a heap space error - it seems to go into a recursive loop when it encounters

an execution with children - it gets the first child, then that gets it's parent, which gets the first child which.... and so on.  Have you encountered this and/or have a fix for it?

 

http://localhost:8080/jbpm-rest/exec/executions

and we have for example a bunch of executions and  1 execution with 2 children gives logging output like this:

 

10:54:22,411 INFO  [ClearNamespaceFilter] no cleanup required

10:54:31,939 INFO  [JaxbFilter] I can write xml myself! Yeah, I dont trust jetty!

10:54:31,939 INFO  [Execution] getting parent for choicetest.20049   <------------- this one is fine - no children

10:54:31,939 INFO  [Execution] getting parent for tasktest.270014    <------------- this one have 2 children - but we never get to the second one...

10:54:31,939 INFO  [Execution] getting parent for tasktest.270014.to taskForPeter.270030

10:54:31,939 INFO  [Execution] getting parent for tasktest.270014

10:54:31,939 INFO  [Execution] getting parent for tasktest.270014.to taskForPeter.270030

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014.to taskForPeter.270030

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014.to taskForPeter.270030

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014.to taskForPeter.270030

10:54:31,940 INFO  [Execution] getting parent for tasktest.270014

.... and so on.....

 

 

Any ideas would be great..

Cheers+Thanks

Ati

Reply to this message by going to Community

Start a new discussion in jBPM at Community