Sling Models OSGi Service Disposal Job | Community
Skip to main content
stiegjo
Level 2
Mar 3, 2022 9:09 PM UTC
Solved

Sling Models OSGi Service Disposal Job

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.
Anmol_Bhardwaj
Anmol_BhardwajAccepted solution
New Participant
Mar 4, 2022 8:07 AM UTC

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
Anmol_BhardwajAccepted solution
New Participant
Mar 4, 2022 8:07 AM UTC

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.

Translate