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

ServletVelocityResourceListener receives an error - _unstyled init.vm does not map to a servlet context

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.0.6 GA
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      LR 6.0.3, Solaris 10, SPARC, Java 6, Tomcat 6 (Liferay CE Bundle) clustered, MySQL
    • Branch Version/s:
      6.0.x
    • Similar Issues:
      Show 5 results 

      Description

      We have set up a SPARC box with 2 separate tomcat instances (liferay bundle) clustered together. Everything was going good when all of the sudden we receive this error which renders the liferay setup unusable and thus has to be restarted:

      2010-08-20 04:02:39,902 <TP-Processor12> ERROR [ServletVelocityResourceListener:74] - SERVLET_CONTEXT/html/themes/_unstyled/templates/init.vm is not valid because does not map to a servlet context
      2010-08-20 04:02:39,913 <TP-Processor12> ERROR [velocity:151] - ResourceManager : unable to find resource 'SERVLET_CONTEXT/html/themes/_unstyled/templates/init.vm' in any resource loader.
      2010-08-20 04:02:39,922 <TP-Processor12> ERROR [velocity:151] - #parse(): cannot find template 'SERVLET_CONTEXT/html/themes/unstyled/templates/init.vm', called at seg-default-theme_SERVLET_CONTEXT/templa
      tes/portal_normal.vm[line 6, column 1]
      2010-08-20 04:02:39,931 <TP-Processor12> ERROR [IncludeTag:227] - Current URL /web/guest generates exception: Unable to find resource 'SERVLET_CONTEXT/html/themes/_unstyled/templates/init.vm'
      2010-08-20 04:02:39,952 <TP-Processor12> ERROR [IncludeTag:154] - org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'SERVLET_CONTEXT/html/themes/_unstyled/templates/init.vm'
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:483)
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:354)
      at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)
      at org.apache.velocity.runtime.directive.Parse.render(Parse.java:198)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      at org.apache.velocity.Template.merge(Template.java:328)
      at org.apache.velocity.Template.merge(Template.java:235)
      at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
      at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:155)
      at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:165)
      at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:71)
      at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:316)
      at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:72)
      at com.liferay.taglib.theme.IncludeTag.include(IncludeTag.java:38)
      at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:219)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
      at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:823)
      at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_c_005fotherwise_005f0(portal_jsp.java:795)
      at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:731)

      Could anyone shed some light on this issue? A work around?

      Thanks.

        Activity

        kbeesley Kevin Beesley created issue -
        cynthia.wilburn Cynthia Wilburn (Inactive) made changes -
        Field Original Value New Value
        Affects Version/s 6.0.6 GA [ 10656 ]
        cynthia.wilburn Cynthia Wilburn (Inactive) made changes -
        Assignee SE Support [ support-lep@liferay.com ] Shuyang Zhou [ shuyang.zhou ]
        cynthia.wilburn Cynthia Wilburn (Inactive) made changes -
        Assignee Shuyang Zhou [ shuyang.zhou ] Kristoffer Onias [ kristoffer.onias ]
        marco.abamonga Marco Abamonga made changes -
        Link This issue relates LPP-1720 [ LPP-1720 ]
        marco.abamonga Marco Abamonga made changes -
        Link This issue relates LPP-2037 [ LPP-2037 ]
        marco.abamonga Marco Abamonga made changes -
        Link This issue relates LPP-2091 [ LPP-2091 ]
        shinn.lok Shinn Lok made changes -
        Link This issue relates LPP-2091 [ LPP-2091 ]
        vicki.tsang Vicki Tsang (Inactive) made changes -
        Workflow Liferay Workflow 2.2 [ 234382 ] LPS Workflow [ 261576 ]
        andrew.kim Andrew Kim made changes -
        Workflow LPS Workflow [ 261576 ] Copy of LPS Workflow [ 403899 ]
        andrew.kim Andrew Kim made changes -
        Workflow Copy of LPS Workflow [ 403899 ] LPS Workflow [ 435518 ]
        edward.gonzales Edward Gonzales (Inactive) made changes -
        Component/s Operations [ 14582 ]
        andrew.kim Andrew Kim made changes -
        Workflow LPS Workflow [ 435518 ] Copy 2 of LPS Workflow [ 467822 ]
        andrew.kim Andrew Kim made changes -
        Workflow Copy 2 of LPS Workflow [ 467822 ] LPS Workflow [ 499718 ]
        edward.gonzales Edward Gonzales (Inactive) made changes -
        Component/s General [ 10771 ]
        kristoffer.onias Kristoffer Onias made changes -
        Assignee Kristoffer Onias [ kristoffer.onias ] SE Support [ support-lep@liferay.com ]
        randy.zhu Randy Zhu (Inactive) made changes -
        Workflow LPS Workflow [ 499718 ] PUBLIC - LPS Generic Workflow [ 551368 ]
        randy.zhu Randy Zhu (Inactive) made changes -
        Workflow PUBLIC - LPS Generic Workflow [ 551368 ] Copy of PUBLIC - LPS Generic Workflow [ 587148 ]
        randy.zhu Randy Zhu (Inactive) made changes -
        Workflow Copy of PUBLIC - LPS Generic Workflow [ 587148 ] PUBLIC - LPS Generic Workflow [ 619079 ]
        randy.zhu Randy Zhu (Inactive) made changes -
        Workflow PUBLIC - LPS Generic Workflow [ 619079 ] PUBLIC - LPS General Workflow [ 712538 ]
        randy.zhu Randy Zhu (Inactive) made changes -
        Workflow PUBLIC - LPS General Workflow [ 712538 ] PUBLIC - LPS Bugs Workflow [ 812458 ]
        esther.sanz Esther Sanz made changes -
        Component/s Fault Tolerance [ 20186 ]
        Component/s Core Infrastructure [ 14582 ]
        michael.saechang Michael Saechang made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee SE Support [ support-lep@liferay.com ] Michael Saechang [ michael.saechang ]
        Resolution Inactive [ 8 ]

          People

          • Votes:
            28 Vote for this issue
            Watchers:
            26 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 6 weeks, 6 days ago

              Development

                Subcomponents

                  Structure Helper Panel