Details
-
Type:
Feature Request
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Infrastructure, Infrastructure > App Servers
-
Labels:None
-
Similar Issues:
Description
Hi,
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:
http://www.liferay.com/community/forums/-/message_boards/message/16295178
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.
Oli

In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.