Type: Feature Request
Affects Version/s: None
Fix Version/s: None
Similar Issues:Show 5 results
LPS-21269 unzip-tomcat task cannot install tomcat if the bundles folder doesn't exist LPS-70 Tomcat Lifray 5.1.2 bundles broken LPS-44563 DBUpgrader scripts should work on tomcat bundles LPS-45598 Unable to deploy plugins on a different context root because dependencies are not deployed LPS-32640 Tomcat bundle breaks JNDI
users like Alex (http://issues.liferay.com/browse/LPS-29029) or me run into class loading problems while trying to override core classes in the ext-service.jar. As described in the answer by Zsolt Balogh at the following thread you should use a different folder and change the common.loader tomcat property:
Therefore I propose the following improvement for upcoming tomcat bundle releases:
- rename the folder "lib/ext" to "lib/liferay"
- create a new folder "lib/liferay-ext" and put the ext-service.jar file there
- change the common.loader property so that "liferay-ext" folder is loaded before the original "liferay" folder
Hint: this change would also affect the Liferay Eclipse IDE and the automatic deployment on tomcat server startup.
But after this change you would benefit from beeing file system and OS independant.