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

Portal doesn't work on Websphere 7 due to security access exceptions (jaas)

    Details

      Description

      + deploy portal on websphere 7
      + start the portal
      + go to home page

      Exception:

      Caused by: java.security.AccessControlException: Access denied (java.io.FilePermission D:\IBM\WebSphere7\AppServer\profiles\liferay\installedApps\liferay2Node02Cell\liferay-portal-6_2_0_war.ear\liferay-portal-6.2.0.war\html\themes\classic\templates\portal_normal.vm read)
      	at java.security.AccessController.checkPermission(AccessController.java:108)
      	at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      	at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
      	at java.io.File.exists(File.java:742)
      	at com.ibm.ws.webcontainer.webapp.WebApp.getResource(WebApp.java:2532)
      	at com.ibm.wsspi.webcontainer.facade.ServletContextFacade.getResource(ServletContextFacade.java:139)
      	at com.liferay.portal.velocity.VelocityServletResourceParser.getURL(VelocityServletResourceParser.java:71)
      	at com.liferay.portal.template.URLResourceParser.getTemplateResource(URLResourceParser.java:34)
      	at com.liferay.portal.template.DefaultTemplateResourceLoader._loadFromParser(DefaultTemplateResourceLoader.java:196)
      	at com.liferay.portal.template.DefaultTemplateResourceLoader.getTemplateResource(DefaultTemplateResourceLoader.java:122)
      	at com.liferay.portal.template.DefaultTemplateResourceLoader.hasTemplateResource(DefaultTemplateResourceLoader.java:137)
      	at com.liferay.portal.kernel.template.TemplateResourceLoaderUtil.hasTemplateResource(TemplateResourceLoaderUtil.java:98)
      	at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:454)
      	at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:178)
      	at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:134)
      	at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:100)
      	at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
      	at com.ibm._jsp._portal._jspx_meth_liferay$1theme_include_1(_portal.java:487)
      	at com.ibm._jsp._portal._jspService(_portal.java:426)
      ...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                igor.spasic Igor Spasic (Inactive)
                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:
                  6 years, 28 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M6