infinispan/infinispan — pull request #1204 by xandrox (2012-06-29 22:36:13+00:00)
Title: fix for ISPN-2138: Could not execute MapReduce on AS7.1.1 getting java.l...

not sure that this is the smartest patch but it works :)

setOriginLocal FLAG must be set tu true.
Because of the reset of the InvocationContext FLAG the only solution was to recreate a InvocationContext.

I be open for a better solution.

Cheers
~Sandro