Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2819

deployment Issue everytime when application is deployed or recycled on WAS 6.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.11
    • Fix Version/s: None
    • Component/s: Plugin - Tiles
    • Labels:
      None
    • Environment:

      Solaris, WAS 6.1

    • Flags:
      Important

      Description

      We are seeing lot of tiles issues while recycling or redeploying the applications with struts 2 on WAS 6.1
      Because of this all our new development in struts2 have been stopped and re architecting to use different frameworks.
      Cusotmers see a blank page on browser when we have this exception on server side for tiles.

      Below are some exceptions
      *************************************************************************************************************************************************************
      1st Exception type *************************************************************************************************************************************************************

      [9/21/08 1:19:44:186 PDT] 00000034 RoleSecurityT E org.apache.tiles.jsp.taglib.RoleSecurityTagSupport doEndTag Error execu
      ting tag: XML error reading definitions.
      org.apache.tiles.definition.DefinitionsFactoryException: XML error reading definitions.
      at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:251)
      at org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:288)
      at org.apache.tiles.definition.UrlDefinitionsFactory.getDefinitions(UrlDefinitionsFactory.java:142)
      at org.apache.tiles.definition.UrlDefinitionsFactory.getDefinition(UrlDefinitionsFactory.java:162)
      at org.apache.tiles.impl.BasicTilesContainer.getDefinition(BasicTilesContainer.java:505)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:385)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:368)
      at org.apache.tiles.jsp.taglib.InsertDefinitionTag.render(InsertDefinitionTag.java:63)
      at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
      at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
      at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
      at com.ibm._jsp._overview._jspx_meth_tiles_insertDefinition_0(_overview.java:391)
      at com.ibm._jsp._overview._jspService(_overview.java:91)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

      [9/21/08 1:19:44:186 PDT] 00000035 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rende
      ring
      java.lang.NullPointerException
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1765)
      at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:248)
      at org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:288)
      at org.apache.tiles.definition.UrlDefinitionsFactory.getDefinitions(UrlDefinitionsFactory.java:142)
      at org.apache.tiles.definition.UrlDefinitionsFactory.getDefinition(UrlDefinitionsFactory.java:162)
      at org.apache.tiles.impl.BasicTilesContainer.getDefinition(BasicTilesContainer.java:505)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:385)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:368)
      at org.apache.tiles.jsp.taglib.InsertDefinitionTag.render(InsertDefinitionTag.java:63)
      at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
      at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
      at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
      at com.ibm._jsp._overview._jspx_meth_tiles_insertDefinition_0(_overview.java:391)
      at com.ibm._jsp._overview._jspService(_overview.java:91)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
      at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrap
      per.java:225)
      :

      [9/24/08 12:37:57:305 PDT] 0000003b RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      [9/24/08 12:37:57:341 PDT] 00000035 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      [9/24/08 12:37:57:365 PDT] 00000039 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      [9/24/08 12:37:58:399 PDT] 00000039 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      [9/24/08 12:37:59:716 PDT] 00000034 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      [9/24/08 12:38:00:297 PDT] 00000040 RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rend
      ering
      java.lang.NullPointerException

      *************************************************************************************************************************************************************
      2nd Issue
      *************************************************************************************************************************************************************

      2)
      [9/24/08 0:02:51:320 EDT] 00000037 Digester E
      org.apache.commons.digester.Digester endElement End event threw
      exception
      java.lang.NoSuchMethodException: No such accessible method:
      addDefinition() on object: org.apache.tiles.Definition
      at
      org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
      14)
      at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217)
      at org.apache.commons.digester.Rule.end(Rule.java:253)
      at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
      Source)
      at
      org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown
      Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
      Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at
      org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
      Source)
      at
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
      patcher.dispatch(Unknown Source)
      at
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
      wn Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1765)
      at
      org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(Dige
      sterDefinitionsReader.java:248)
      at
      org.apache.tiles.definition.UrlDefinitionsFactory.addDefinitions(UrlDefi
      nitionsFactory.java:247)
      at
      org.apache.tiles.definition.UrlDefinitionsFactory.getDefinition(UrlDefin
      itionsFactory.java:169)
      at
      org.apache.tiles.impl.BasicTilesContainer.getDefinition(BasicTilesContai
      ner.java:505)
      at
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
      a:385)
      at
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
      a:368)
      at
      org.apache.tiles.jsp.taglib.InsertDefinitionTag.render(InsertDefinitionT
      ag.java:63)
      at
      org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.ja
      va:171)
      at
      org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurity
      TagSupport.java:75)
      at
      org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSup
      port.java:80)
      at
      com.ibm._jsp._overview._jspx_meth_tiles_insertDefinition_0(_overview.jav
      a:391)
      at com.ibm._jsp._overview._jspService(_overview.java:91)

      *************************************************************************************************************************************************************
      3rd Exception type *********************
      ****************************************************************************************************************************************

      [8/14/08 2:26:02:247 EDT] 0000003c BasicTilesCon W org.apache.tiles.impl.BasicTilesContainer render Unable to find the definition 'overview.template'
      [8/14/08 2:26:02:253 EDT] 0000003c RoleSecurityT E org.apache.tiles.jsp.taglib.RoleSecurityTagSupport doEndTag Error executing tag: overview.template
      org.apache.tiles.definition.NoSuchDefinitionException: overview.template
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:392)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:368)
      at org.apache.tiles.jsp.taglib.InsertDefinitionTag.render(InsertDefinitionTag.java:63)
      at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
      at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
      at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
      at com.ibm._jsp._overview._jspx_meth_tiles_insertDefinition_0(_overview.java:391)

      [8/14/08 2:26:02:274 EDT] 0000003c RenderTagSupp E org.apache.tiles.jsp.taglib.RenderTagSupport doCatch Error during rendering
      javax.servlet.jsp.JspException: Error executing tag: overview.template
      at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:80)
      at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
      at com.ibm._jsp._overview._jspx_meth_tiles_insertDefinition_0(_overview.java:391)
      at com.ibm._jsp._overview._jspService(_overview.java:91)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              shashidhar.hiremath shashidhar
            • Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: