Legacy Knowledge Base
Published Sep. 10, 2025

Audit modules is not starting after upgrade

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • After upgrading from Liferay Portal 6.2 to Liferay 7.2. The following audit module error is appearing.
    2020-11-05 10:07:14.615 INFO [Start Level: Equinox Container: 69cf58a7-c02f-4bb9-a8ed-60445fa81573][UpgradeProcess:93] Upgrading com.liferay.portal.security.audit.storage.internal.activator.AuditStorageServiceBundleActivator$1
    2020-11-05 10:07:14.622 ERROR [Start Level: Equinox Container: 69cf58a7-c02f-4bb9-a8ed-60445fa81573][PortalBeanLocatorUtil:66] BeanLocator is null
    2020-11-05 10:07:14.622 INFO [Start Level: Equinox Container: 69cf58a7-c02f-4bb9-a8ed-60445fa81573][UpgradeProcess:107] Failed upgrade process com.liferay.portal.security.audit.storage.internal.activator.AuditStorageServiceBundleActivator$1 in 7 ms
    2020-11-05 10:07:14.639 ERROR [Framework Event Dispatcher: Equinox Container: 69cf58a7-c02f-4bb9-a8ed-60445fa81573][Framework:93] FrameworkEvent ERROR
    java.lang.IllegalStateException: The service has been unregistered
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:206)
    at com.liferay.portal.spring.extender.internal.LiferayServiceExtender$LiferayServiceExtension.destroy(LiferayServiceExtender.java:112)
    at com.liferay.portal.spring.extender.internal.LiferayServiceExtender.removedBundle(LiferayServiceExtender.java:103)
    at com.liferay.portal.spring.extender.internal.LiferayServiceExtender.removedBundle(LiferayServiceExtender.java:59)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:501)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:1)
    at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
    at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:456)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
    at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
    at org.eclipse.osgi.container.Module.doStart(Module.java:587)
    at org.eclipse.osgi.container.Module.start(Module.java:449)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Environment

  • Liferay Portal 6.2
  • Liferay DXP 7.2
  • Liferay DXP 7.3

Resolution

  • The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-12 for 7.2.
  • The observed behavior is a known issue and is fixed in liferay-dxp-73-ga1.
  • If the hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to installation of the hotfix in the respective environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base