# Use Async Executor for executing jobs in 2 different applications pointing to same database

**URL:** <https://forum.flowable.org/t/use-async-executor-for-executing-jobs-in-2-different-applications-pointing-to-same-database/5699>\
**Category:** Flowable Engine\
**Created:** [March 24, 2020, 1:48pm UTC](https://forum.flowable.org/t/use-async-executor-for-executing-jobs-in-2-different-applications-pointing-to-same-database/5699 "2020-03-24T13:48:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth.gandrakota](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@srikanth.gandrakota](https://forum.flowable.org/u/srikanth.gandrakota)\
**Post date:** [March 24, 2020, 1:48pm UTC](https://forum.flowable.org/t/use-async-executor-for-executing-jobs-in-2-different-applications-pointing-to-same-database/5699/1 "2020-03-24T13:48:58Z")

</div>

Hi,

I have 2 different flowable applications and both are pointing to same database. Also async executor is active in both the applications. In one of the applications, i am using timers. When timer reaches to configurable time, then it will execute the service task(java class). But engine is searching for the class in another application where that class is not available and it is an throwing exception as no bean definition found and stops the execution at that point. Kindly help me how to fix this issue.

I need to keep async executor active on both application, as i have timers and async tasks in both applications.

Thank you,  
Srikanth

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [March 25, 2020, 9:03am UTC](https://forum.flowable.org/t/use-async-executor-for-executing-jobs-in-2-different-applications-pointing-to-same-database/5699/2 "2020-03-25T09:03:16Z")

</div>

If the service task is after the time, you will need the class/bean on the classpath on both servers, there’s no other way around it.
