Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
RestartActiveBundlesTask#execute could be more resilient.
See this stacktrace for an example:
[OsgiInstallerImpl] org.apache.sling.installer.core.impl.OsgiInstallerImpl Uncaught exception during task execution! java.lang.IllegalStateException: Cannot start an uninstalled bundle. at org.apache.felix.framework.Felix.startBundle(Felix.java:1953) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) at org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask.execute(RestartActiveBundlesTask.java:75) at org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks(OsgiInstallerImpl.java:855) at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:692) at
patch to follow
Attachments
Issue Links
- relates to
-
SLING-5457 OsgiInstaller should retry to start bundles on failures
- Closed