Hi,
I am trying to make some of the Amazon Web Services jars available to AEM by adding them in the dependency bundle pom file. I am almost succeeded in this process except one/two issues.
But my local author instance is getting down automatically. Probably it doesn't like some of the changes I made to the pom files. But it is not complaining with any errors, except the following error.
java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514)
at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473)
at org.apache.felix.scr.impl.manager.DependencyManager$AbstractCustomizer.ungetService(DependencyManager.java:240)
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:390)
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:304)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1506)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1401)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:1261)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1440)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:940)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4425)
at org.apache.felix.framework.Felix.access$000(Felix.java:75)
at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:402)
at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:153)
at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:128)
at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:195)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2561)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1315)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
Need help to debug this.
thanks
Srini
Solved! Go to Solution.
Views
Replies
Total Likes
Hi, Can you please let us know the AEM version and share with us AEM error.log?
From top level: The error indicates there is another process in the middle of using the BundleContext and other thread trying to stops the bundle, hence the BundleContext will become invalid. Complete logs could give better picture or you can find yourself by analyzing what is happening in parallel.
I feel like this question is beyond the scope of the community as it required much of debugging. But if you will not get response in few days, then i would suggest you to File a daycare for further assistance.
~kautuk
Views
Replies
Total Likes
Hi Srini,
Attach complete logs folder.
Regards,
Views
Replies
Total Likes
Hi, Can you please let us know the AEM version and share with us AEM error.log?
From top level: The error indicates there is another process in the middle of using the BundleContext and other thread trying to stops the bundle, hence the BundleContext will become invalid. Complete logs could give better picture or you can find yourself by analyzing what is happening in parallel.
I feel like this question is beyond the scope of the community as it required much of debugging. But if you will not get response in few days, then i would suggest you to File a daycare for further assistance.
~kautuk
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies