Not sure I fully get the issue since it is part of your app so redeploying
your app should keep it consistent. If you redeploy it partially then it is
up to you to ensure you don't break anything.
If you just want to put your config in a constant place you can add in
catalina.properties a folder in common.loader and put the file inside this
folder (${catalina.base}/quartz-config for instance).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-12-09 12:12 GMT+01:00 Padam J. Singh <[email protected]>:
> Hello,
>
> I am package my application in a WAR or EAR file and deploy it to the
> /apps or /webapps directory. TomEE then unpacks this file to a specific
> location and loads up the quartz_jobs.xml via the web.xml
> QuartzInitializerServlet configuration.
>
> However, each deployment of this needs a different configuration of the
> job file. The problem gets messy when I upgrade the app, and the old
> configurations get overwritten.
>
> How can I store the quartz_jobs.xml in TomEE config so that I don’t need
> to reconfigure the individual files on update of my app?
>
> Thanks,
> Padam