Ati Rosselet [http://community.jboss.org/people/arosselet] created the 
discussion

"Re: REST interface for JBPM"

To view the discussion, visit: http://community.jboss.org/message/607833#607833

--------------------------------------------------------------
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 
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
[http://community.jboss.org/message/607833#607833]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to