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

    • Similar Issues:
      Show 5 results 

      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

        Activity

        Hide
        Randy Zhu added a comment -

        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.

        Show
        Randy Zhu added a comment - 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.

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              2 years, 14 weeks, 3 days ago

              Development

                Structure Helper Panel