Issue
- After restarting the server, the system shuts down and displays a 503 error. The following error appears in the logs:
2024-11-29 22:12:03.912 ERROR [SystemExecutorServiceUtil-5][BundleBlacklist:198] Unable to uninstall org.eclipse.osgi_3.13.0.LIFERAY-PATCHED-19 [0] org.osgi.framework.BundleException: The System Bundle cannot be uninstalled
Environment
- Liferay DXP 7.4
Resolution
- This error occurs if the system bundle
org.eclipse.osgiis blacklisted.
To resolve this issue:- Navigate to the `[Liferay Home]/osgi/configs` folder.
- Open the `com.liferay.portal.bundle.blacklist.internal.BundleBlacklistConfiguration.config` file.
- Remove `org.eclipse.osgi` from the
bundleSymbolicNamesproperty. - Save the file.
- Restart the server.
OR
- Create an empty file
com.liferay.portal.component.blacklist.internal.ComponentBlacklistConfiguration.configinside osgi/configs folder. - Restart the server.
- Please note that creating an empty file will remove the related blacklist entries from the database.