Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master DB Not found exceptions while executing the Sitecron job on WEB DB (from CD server) #38

Open
SharathMP opened this issue Aug 25, 2023 · 0 comments

Comments

@SharathMP
Copy link

Hi Team, Akshay,

We have one Sitecron job in WEB DB to generate sitemap every 4 hours. when the job gets executed it successfully generates the sitemaps( Achieves the result what the job is meant for) but its also logging exceptions that its NOT able to find the configuration node "master" but the same job runs absolutely fine on MasterDB/Sitecore CM server. Upon looking at stacktrace, we have found that its failing in Quartz.Core.JobRunShell method and in turn it calls Sitecron.Core.Quartz.Listeners

{"id":"52380986","outerId":"24678187","type":"System.InvalidOperationException","message":"Could not find configuration node: databases/database[@id='master']","parsedStack":

Sitecron JobError

We can see that there is a Master DB reference hardcoded in Sitecron.Core.Quartz.Listeners.CustomJobListener.JobWasExecuted method. Kindly let us know if need to bypass this in our custom sitecron project or any other inputs as such. Much appreciated.

Sitecron Decompiled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant