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

OpenSocial will not deploy in JBoss because of Xerces / XML conflicts

    Details

      Description

      The root of the issue lines in:

      https://jira.jboss.org/browse/JBIDE-6434
      http://shindig.apache.org/shindig-1.0.x/dependencies.html

      Shindig uses xercesImpl, xml-apis, an xmlParser which conflicts with JBoss 5.1.0. However, Tomcat needs those files. So we created a new property in liferay-plugin-package.properties called "deploy-excludes"

      This property will include an excludes pattern of files which will NOT be deployed to the app server (even though they are in the packaged WAR)

      "deploy-excludes" will be for all app servers
      "deploy-excludes-xxx" will be for a specific app server (tomcat, jboss, geronimo, glassfish, etc.)

      For OpenSocial specifically, I added:

      deploy-excludes-jboss=\
      **/WEB-INF/lib/xercesImpl-2.9.1.jar,\
      **/WEB-INF/lib/xml-apis-1.3.04.jar,\
      **/WEB-INF/lib/xmlParserAPIs-2.6.2.jar

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              brian.chan Brian Chan
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 5 weeks, 2 days ago

                Packages

                Version Package
                6.0.3 GA