# Issues with Global listener and ProcessEngineFactoryBean class

**URL:** <https://forum.camunda.io/t/issues-with-global-listener-and-processenginefactorybean-class/7303>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [May 14, 2018, 9:22am UTC](https://forum.camunda.io/t/issues-with-global-listener-and-processenginefactorybean-class/7303 "2018-05-14T09:22:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eddie\_Sandi](https://forum.camunda.io/user_avatar/forum.camunda.io/eddie_sandi/32/992_2.png) [@Eddie\_Sandi](https://forum.camunda.io/u/Eddie_Sandi)\
**Post date:** [May 14, 2018, 9:22am UTC](https://forum.camunda.io/t/issues-with-global-listener-and-processenginefactorybean-class/7303/1 "2018-05-14T09:22:33Z")

</div>

Hi there,

I’m getting issues trying to make the Global listeners to work (ProcessApplicationEventListenerPlugin). Our current configuration uses a XML for spring, where we have “org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration” and “org.camunda.bpm.engine.spring.ProcessEngineFactoryBean”. We do not use Springboot.

I created as well a class extending “SpringProcessApplication”, with the “@ProcessApplication”, and overriding the getTaskListener() and getExecutionListener() methods.

Attached is a XML used in a test. We use SpringJUnit4ClassRunner with Junit.[ProcessTest-context.xml](https://forum.camunda.io/uploads/default/original/2X/a/a1e0fb97e85306c06a06c95854e1805b1b79e0e8.xml) (2.9 KB).

Thx in advance,

Eddie.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 30, 2024, 11:13am UTC](https://forum.camunda.io/t/issues-with-global-listener-and-processenginefactorybean-class/7303/2 "2024-01-30T11:13:21Z")

</div>

Closed on January 30, 2024, 11:13am UTC


