Details

      Description

      XSD entries for Java EE 7 are missing which can cause deployment to be very slow when not connected to the Internet.

      The following entries need to be added:

      definitions/javaee_7.xsd
      definitions/javaee_web_services_client_1_4.xsd
      definitions/jsp_2_3.xsd
      definitions/web-app_3_1.xsd
      definitions/web-common_3_1.xsd
      definitions/web-facesconfig_2_2.xsd

      Steps to Reproduce:

      1. In control panel go to Server Administration → Log Levels.
      2. Find com.liferay.portal.util.EntityResolver and change the logging level to all.
      3. Deploy version 4.2.0-m1 of the jsf2-portlet.war demo (JSF 2.2 + Liferay 6.2)
      4. Check the log in the console.

      If the fix works all entities will be resolved. Otherwise, if errors like the following are present, then the bug still exists:

      19:03:54,741 DEBUG [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][EntityResolver:109] No entity found for null http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd
      19:03:55,726 DEBUG [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][EntityResolver:109] No entity found for null http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_7.xsd
      19:03:56,516 DEBUG [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][EntityResolver:109] No entity found for null http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_web_services_client_1_4.xsd
      

        Attachments

          Activity

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 24 weeks, 1 day ago

                Packages

                Version Package
                6.2.0 CE RC3
                6.2.X EE