Installation
Installation consists of 2 steps.
- First there must be extlet environment installed to the Liferay. This is permanent one-step action followed by restart of Liferay.
- After the restart you can (re)deploy applications
UPDATE: download extlet-hook.war, put into deploy directory and restart Tomcat. Thats all.
To install the Extlet environment you must copy the extlet-setup.jar into the WEB-INF/lib directory of the Liferay, e.g. C:\liferay-portal-5.2.3\tomcat-6.0.18\webapps\ROOT\WEB-INF\lib
.
You can obtain the extlet-setup.jar or you can build your the extlet-setup on your own (please see the Source Codes page).
You need to reboot the Liferay in order to extlet-setup.jar to be loaded.
You can deploy applications’ war files using the same process as other Plugins. Just copy the war file into the liferay-home/deploy directory.
If the application contains changes of the Liferay core, then the Extlet tries to reload the Liferay (to perform the hot-deploy feature).
To enable the hot-deploy feature please see the Hot Deploy Feature page.
Tomcat sometimes doesn’t unlock the jar files. For correct redeploy, there must be the antiJARLocking enabled.
To enable please edit the %TOMCAT%\conf\Catalina\localhost\ROOT.xml
file and add the antiJARLocking=true
attribute inside the Context
tag.
Example: C:\liferay-portal-5.2.3\tomcat-6.0.18\conf\Catalina\localhost\ROOT.xml
<Context path="" crossContext="true" antiJARLocking="true">
Then restart the Tomcat.
For more info visit the Apache Tomcat Configuration Reference.
Next: Pre-development Tasks