Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29847

Add different folder for ext-service.jar to upcoming tomcat bundles

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              oli_bayer Oliver Bayer
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: