Legacy Knowledge Base
Published Sep. 10, 2025

How can I disable the Document Library File Rank Service in DXP 7.1 and 7.2?

Written By

Tímea Bihari

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

  • I would like to disable the Document Library File Rank Service
  • In Liferay Portal 6.2 and DXP 7.0, there used to be a property which is now removed:
dl.file.rank.enabled=false

Environment

  • Liferay DXP 7.1
  • Liferay DXP 7.2

Resolution

  • As of DXP 7.1, the Document Library File Rank Service has been moved to a module.
  • You have to blacklist the com.liferay.document.library.file.rank.service module:
    1. Navigate to Control Panel > Configuration > System Settings > Module Container
    2. Add com.liferay.document.library.file.rank.service to Bundle Blacklist > Blacklist Bundle Symbolic Names
    3. Optionally, you can avoid some warning messages at startup related to Declarative Service Unsatisfied Component Checker by adding com.liferay.document.library.internal.service.DLFileRankDLAppHelperLocalServiceWrapper and com.liferay.document.library.internal.service.DLFileRankDLAppLocalServiceWrapper to Component Blacklist > Blacklist Component Names
    4. Restart the server
    5. See the following message in the console, showing successful blacklisting:
      2020-04-30 13:31:30.072 INFO  [ModuleFramework-Static-Bundles-2][BundleBlacklist:188] Stopping blacklisted bundle com.liferay.document.library.file.rank.service_2.0.20 [1122]

Additional Information

More information about blacklisting:

The service was moved into a module in this Story: LPS-74888

 

Did this article resolve your issue ?

Legacy Knowledge Base