Sling Models OSGi Service Disposal Job | Community
Skip to main content
stiegjo
Level 2
March 3, 2022
Solved

Sling Models OSGi Service Disposal Job

  • March 3, 2022
  • 1 reply
  • 2070 views

We're seeing the following error message on our AEM publisher server. We're running AEM 6.5.10 in the cloud. Is anyone familiar with this error? Thanks.

 

03.03.2022 16:06:33.358 *ERROR* [sling-default-2-Sling Models OSGi Service Disposal Job] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of job 'org.apache.sling.models.impl.ModelAdapterFactory@36b22feb' with name 'Sling Models OSGi Service Disposal Job' : Invalid BundleContext. java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491)
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anmol_Bhardwaj

Can you try these following steps:

 

- Check if all the bundles are in active state.

- Restart bundles once to see if the error goes away.

- Make sure you have included (Immediate=true) in your OSGi services.

1 reply

Anmol_Bhardwaj
Community Advisor
Anmol_BhardwajCommunity AdvisorAccepted solution
Community Advisor
March 4, 2022

Can you try these following steps:

 

- Check if all the bundles are in active state.

- Restart bundles once to see if the error goes away.

- Make sure you have included (Immediate=true) in your OSGi services.