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

Blocked threads are detected when having a lot of concurrent XML parsing

    Details

    • Fix Pack Status:
      Scheduled

      Description

      Blocked threads are detected when having a lot of concurrent XML parsing.


      Solution Notes
      The following system property has been added:

      system.properties
      ## Dom4j
      ##
      
          #
          # Configure a custom document factory in order to use a thread safe QName
          # cache.
          #
          org.dom4j.factory=com.liferay.portal.xml.DocumentFactory
          #org.dom4j.factory=org.dom4j.DocumentFactory
      

      In case of experiencing classloading issues or other problems with com.liferay.portal.xml.DocumentFactory you can

      • Revert system.properties changes: add org.dom4j.factory=org.dom4j.DocumentFactory to system-ext.properties configuration file or
      • Update your custom code to use our utilities and wrapper classes from package com.liferay.portal.kernel.xml.* such as SAXReaderUtil or Document instead of the ones provided by dom4j.jar

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joshua.cords Joshua Cords
              Reporter:
              adam.nagy Ádám T. Nagy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.X EE