Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1474

Service builder does not work with plugins that uses Spring/Spring MVC

Details

    Description

      Service builder does not work with plugins that uses Spring or Spring MVC because of class loading issues between spring.jar and service builder.

      Note:
      When you use ServiceBuilder, it will automatically try to wire what is set in the context-param of "portalContextConfigLocation" and not "contextConfigLocation"

      "contextConfigLocation" will only get wired by the spring.jar that exists in the plugin's Spring.

      If you want to save PermGen space by wiring xml files in a plugin from the portal's Spring, then use "portalContextConfigLocation". Note that the plugin's beans in this scenario must be pure POJO's that do not reference Spring files. If it does, please use "contextConfigLocation"

      Attachments

        Issue Links

          Activity

            People

              pani.gui Pani Gui (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP4 (5.1.7)
                  5.2 EE SP2 (5.2.6)