Using Slim Bundles
Subscribers
Liferay DXP 7.2 Fix Packs and Service Packs are also released bundled with the Tomcat application server. They are available as traditional bundles and Slim Bundles. Traditional DXP 7.2 bundles include the Patching Files: all of the source code and backup files that the Patching Tool requires to install the particular patch. Slim Bundles are approximately one third the size of traditional bundles because they do not include the patching files. Slim Bundles are intended for demonstration purposes or installations where disk space is limited or costly. They’re ideal for cloud and container environments.
Slim Bundles are only used in Liferay DXP 7.2 and earlier. They’re not needed in DXP 7.3+.
Most Patching Tool commands (such as install
) cannot be run on a Slim Bundle until the patching files for the Fix Pack or Service Pack are installed to the Slim Bundle.
Without the patching files for the Slim Bundle’s respective Fix Pack/Service Pack, Slim Bundles are limited to these Patching Tool commands:
auto-discovery
info
setup
Slim Bundles can still be patched, but require the extra step of restoring the patching files. Each patch’s patching files for each patch are available on the Help Center.
Patching Slim Bundles
If you try to install a patch to a Slim Bundle, the Patching Tool reports that patching files are needed. Here’s the message.
This installation does not include data for patching. Please copy the
liferay-patching-files-[separation-name].zip file into the 'patches'
directory and run patching-tool setup.
Here’s how to restore the patching files:
-
Download the Patching Files from the Help Center. Navigate to the Fix Pack or Service Pack and download the Patching Files by selecting Patching Files in the dropdown and clicking Download.
-
Extract the Patching Files to the Slim Bundle’s
patching-tool/patches
folder. -
Open a command line to the
patching-tool
folder. -
Use the Patching Tool to set up the Patching Files.
./patching-tool.sh setup
Your Slim Bundle has the Patching Files and is ready for patching.
-
Patch your Slim Bundle following the instructions at Installing Patches.
You have learned the benefits of using a Slim Bundle and you know how to patch it.