JasperReports does not work in an OSGi container with Groovy provided by another bundle
this is related to this topic: http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=71955
In JRClassLoader, Thread.currentThread().getContextClassLoader() is used. This is bad.
Simply use getClass().getClassLoader() or ask for a classloader as parameter
Nota, if no bundle from your dependence provides groovy implementation and that groovy-all is just aside your jasperReports, it works. But it leaks classes in the Perm Gen.