Re: Configuring Quartz under TomEE

2019-12-22 Thread Ihsan Ecemis
No, we did not try using a Custom Resource and it is not clear to me how to solve our problem with this. Could you please provide some more detail? Thank you. > On Dec 20, 2019, at 08:23, Richard Monson-Haefel > wrote: > > You probably tried this but I was going to suggest a Custom

Re: Configuring Quartz under TomEE

2019-12-22 Thread Ihsan Ecemis
Thanks for the suggestion Jon. We added org.quartz-scheduler as a dependency to our project and configured it in web.xml. With that, we could get a second Scheduler started and use JobStoreTX. However, our code schedules task using javax.ejb.Schedule annotation, e.g.: @Schedule(minute

Re: Configuring Quartz under TomEE

2019-12-20 Thread Richard Monson-Haefel
You probably tried this but I was going to suggest a Custom Resource. http://tomee.apache.org/application-resources.html On Thu, Dec 19, 2019 at 10:13 PM Ihsan Ecemis wrote: > > Hello Everyone, > > We would like to store Quartz scheduling information within a relational > database. We tried

Re: Configuring Quartz under TomEE

2019-12-20 Thread Jonathan Gallimore
TomEE uses Quartz internally to schedule EJB timers etc - the reason for shading it is to avoid it conflicting with Quartz packaged in your application. So theoretically, you should be able to package Quartz in your application, and use it per its own documentation. If you have a code sample with

Configuring Quartz under TomEE

2019-12-19 Thread Ihsan Ecemis
Hello Everyone, We would like to store Quartz scheduling information within a relational database. We tried different configuration options to use our own properties file instead of TomEE's default, but could not get it to work. Here are the things we tried: (1) We defined the system