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

Liferay 6.2 GA6: properties problem on Glassfish

    Details

    • Fix Priority:
      3
    • Application Servers:
      GlassFish 3.1

      Description

      Description:
      Some properties are not loaded when the server is started on Glassfish 3.1.2.2 and Liferay 6.2 GA6. For example:

      http.header.secure.x.content.type.options=true
      http.header.secure.x.frame.options=true
      http.header.secure.x.frame.options.255=/|SAMEORIGIN
      http.header.secure.x.xss.protection=1

      They aren't loaded from:
      -portal.properties (poral-impl.jar, default)
      -system.properties (poral-impl.jar, default)
      -portal-ext.properties
      -system-ext.properties

      Probably the same problem with JRuby native properties - LPS-61251

      Flow:
      For Liferay 6.2 GA6 Bundle with Glassfish:
      Run clean version with sample data with default properties (portal.properties, system.properties > poral-impl.jar). Resources haven't X-FRAME-OPTIONS in Response Headers.
      Add properties to portal-ext.properties. Resources haven't X-FRAME-OPTIONS in Response Headers.

      For Liferay 6.2 GA6 Bundle with Tomcat:
      Looks OK. Resources have X-FRAME-OPTIONS in Response Headers.

      For Liferay 6.2 GA4 with Glassfish 3.1.2.2:
      Looks OK. Resources have X-FRAME-OPTIONS in Response Headers.

      Tested versions with this flow in the attachment.

      Environment:
      1) Custom
      Liferay 6.2 GA6,
      GlassFish Server Open Source Edition 3.1.2.2 (build 5),
      PostgreSQL 9.4.,
      Debian GNU/Linux 6.0.6 (squeeze)
      jdk1.7.0_71

      2) Latest Bundle with Glassfish
      Liferay 6.2 GA6
      GlassFish Server Open Source Edition 3.1.2.2
      HSQL
      Win7 x64

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            playerone Michał Kowalik
            Participants of an Issue:
            Recent user:
            Nóra Szél
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 37 weeks, 5 days ago

                Packages

                Version Package