09:37:43.356 *INFO*. Adding ScriptEngine Apache Sling Scripting JSP Support, 2.0.28 for language Java Server Pages, 2.1 09:37:43.356 *INFO*. Adding ScriptEngine Apache Sling Scripting Java Support, 2.0.6 for language Java Servlet Compiler, 1.5 09:37:43.356 *INFO*. Adding ScriptEngine Apache Sling Scripting JavaScript Support (Rhino 1.6 rele07 26), 2.0.12 for language ECMAScript, 0 09:37:43.356 *INFO*. Adding ScriptEngine Apache Sling JST script engine (Sling JavaScript Templates), 1.0 for language JavaScript Templates, 1.0 09:37:43.355 *INFO* .jsp Service ServiceEvent REGISTERED
09:37:43.354 *INFO* Service ServiceEvent REGISTERED
09:37:43.354 *INFO*. create(2585): ServiceReference has no registration settings, ignoring The log entries are numerous but I have included the log entries leading up to the error. I might have Intellij IDEA open with a Maven bundle build (not running when AEM started up) other than that I do not have any AEM bundle related applications running. scheduler,version=2.2.0 from .scheduler (132) api,version=2.1.0 from .api Scheduler scheduler My only are out of the box sling components as per below, which I confirmed showed correctly from the system SlingRepository repo Since some of the components are active and some other are registered, I am not sure if component status = active is the issue (it seems like the root problem occurred before the components are loaded by OSGi).Ĭom.Ĭom. Your help on the cause and resolution of the error above is much appreciated. 13:14:31.870 *ERROR* -bundle Cannot register Component (: Invalid BundleContext.) : Invalid BundleContext. The problem looks "global" in nature since the same stacktrace is across multiple components of the same bundle:
13:14:31.873 *INFO* .osgi.installer Started bundle -bundle 13:14:31.873 *INFO* -bundle BundleEvent STARTED 13:14:31.873 *ERROR* -bundle Cannot register Component (: Invalid BundleContext.) : Invalid BundleContext.Īt .BundleContextImpl.checkValidity(BundleContextImpl.java:514)Īt .BundleContextImpl.getBundle(BundleContextImpl.java:112)Īt .(ComponentRegistry.java:355)Īt .(BundleComponentActivator.java:240)Īt .(BundleComponentActivator.java:149)Īt .impl.BundleComponentActivator.(BundleComponentActivator.java:113)Īt .(Activator.java:261)Īt .(Activator.java:179)Īt .(EventDispatcher.java:868)Īt .(EventDispatcher.java:789)Īt .(EventDispatcher.java:514)Īt .Felix.fireBundleEvent(Felix.java:4385)Īt .Felix.startBundle(Felix.java:2080)Īt .BundleImpl.start(BundleImpl.java:955)Īt .BundleImpl.start(BundleImpl.java:942)Īt .execute(BundleStartTask.java:93)Īt .(OsgiInstallerImpl.java:733)Īt .(OsgiInstallerImpl.java:247)
13:14:31.864 *INFO* -bundle BundleEvent STARTING 13:14:31.864 *INFO* -bundle BundleEvent RESOLVED 13:14:31.861 *INFO* FrameworkEvent PACKAGES REFRESHED 13:14:31.860 *INFO* .osgi.installer Done refreshing 1 bundles
13:14:31.858 *INFO* FrameworkEvent PACKAGES REFRESHED 13:14:31.849 *INFO* .osgi.installer Waiting up to 90 seconds for bundles refresh 13:14:31.849 *INFO* .osgi.installer Refreshing 1 bundles: ] 13:14:31.849 *INFO* .osgi.installer Updated bundle -bundle from resource TaskResource(url=jcrinstall:/apps/training/install/, entity=bundle:-bundle, state=INSTALL, attributes=, digest=1405962870933) The following error occur transiently while I start up my AEM author instance (or when I rebuild and reinstall my bundles ) :