Installing hotfixes or fixes on a non standad LifeRay installation
LifeRay 6.1 uses a tool called "Patching tool" for hotfixes installation, this tools works ok for a standard LifeRay installation, in case of using a non stanrdad installation directory you must customize the default.properties file in order to execute the LifeRay's Patching tool.
If you execute patching-tool.sh auto-discovery it doesn't discover correctly the LifeRay installation, in that case you must confugre manually the default.properties fiel, let's see an example:
patching.mode=binary
jdk.version=jdk6
patches.folder=/opt/liferay/patching-tool/patches
war.path=/opt/WebSphere7/AppServer/profiles/Node01/installedApps/Real_LifeRayCell/LifeRay6_1_2.
ear/LifeRay6.1.2.war/
global.lib.path=/opt/liferay/lib
$ ./patching-tool.sh info
Loading product and patch information...
Product information:
* installation type: binary
* build number: 6120
* patching-tool version: 7
* plugins: no plugins detected
Currently installed patches: -
Available patches:
[ D] security-hotfix-1-6120 :: Currently not installed; Won't be installed: the same issues were fixed in the following patches(s): core-4-6120
[ I] plugin-deployment-1-6120 :: Currently not installed; Will be installed.
[ I] service-builder-1-6120 :: Currently not installed; Will be installed.
[ I] documents-and-media-2-6120 :: Currently not installed; Will be installed.
[ D] security-hotfix-2-6120 :: Currently not installed; Won't be installed: the same issues were fixed in the following patches(s): core-4-6120
[ I] security-hotfix-3-6120 :: Currently not installed; Will be installed.
[ I] upgrade-2-6120 :: Currently not installed; Will be installed.
[ I] message-boards-1-6120 :: Currently not installed; Will be installed.
[ I] dynamic-data-lists-1-6120 :: Currently not installed; Will be installed.
[ I] tags-and-categories-1-6120 :: Currently not installed; Will be installed.
[ I] announcements-1-6120 :: Currently not installed; Will be installed.
[ I] core-4-6120 :: Currently not installed; Will be installed.
State description:
*: The patch is installed
I: The patch can be installed on the system
-: The patch won't be installed because there is a newer version of this patch.
!: The patch is not compatible with this portal version.
D: The patch won't be installed as there's a newer patch which fixes the same problem.
x: The patch won't be installed unless the dependency requirements are met.
p: patch won't be installed as it contains fixes for a plugin which was not found.
t: the patch would change the tunnel-web application which couldn't be found.
Now we are going to install all the fixes
$ ./patching-tool.sh install
The installation was successful. 10 patches are installed on the system.
Check fixes status:
$ ./patching-tool.sh info
Loading product and patch information...
Product information:
* installation type: binary
* build number: 6120
* patching-tool version: 7
* plugins: no plugins detected
Currently installed patches: announcements-1-6120, core-4-6120, documents-and-media-2-6120, dynamic-data-lists-1-6120, message-boards-1-6120, plugin-deployment-1-6120, security-hotfix-3-6120, service-builder-1-6120, tags-and-categories-1-6120, upgrade-2-6120
Available patches:
[ D] security-hotfix-1-6120 :: Currently not installed; Won't be installed: the same issues were fixed in the following patches(s): core-4-6120
[*I] plugin-deployment-1-6120 :: Installed; Will be installed.
[*I] service-builder-1-6120 :: Installed; Will be installed.
[*I] documents-and-media-2-6120 :: Installed; Will be installed.
[ D] security-hotfix-2-6120 :: Currently not installed; Won't be installed: the same issues were fixed in the following patches(s): core-4-6120
[*I] security-hotfix-3-6120 :: Installed; Will be installed.
[*I] upgrade-2-6120 :: Installed; Will be installed.
[*I] message-boards-1-6120 :: Installed; Will be installed.
[*I] dynamic-data-lists-1-6120 :: Installed; Will be installed.
[*I] tags-and-categories-1-6120 :: Installed; Will be installed.
[*I] announcements-1-6120 :: Installed; Will be installed.
[*I] core-4-6120 :: Installed; Will be installed.
State description:
*: The patch is installed
I: The patch can be installed on the system
-: The patch won't be installed because there is a newer version of this patch.
!: The patch is not compatible with this portal version.
D: The patch won't be installed as there's a newer patch which fixes the same problem.
x: The patch won't be installed unless the dependency requirements are met.
p: patch won't be installed as it contains fixes for a plugin which was not found.
t: the patch would change the tunnel-web application which couldn't be found.
Comentarios
Publicar un comentario