tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maisano, Ben J" <benjamin_j_mais...@uhc.com>
Subject Tiles error once session times out
Date Wed, 03 Sep 2008 19:02:46 GMT
Hi,
    I have recently integrated Tiles 2.0.6 into my JSF 1.1 application
on WebSphere 6.1 JRE 1.5.  It is currently working fine until the
session on the server times out.  Once that happens I seem to get this
error below, that I cannot avoid:
[9/3/08 13:22:58:054 EDT] 00000025 BasicTilesCon W
org.apache.tiles.impl.BasicTilesContainer render Unable to find the
definition 'null'
[9/3/08 13:22:58:117 EDT] 00000025 RoleSecurityT E
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport doEndTag Error
executing tag: null
 
org.apache.tiles.definition.NoSuchDefinitionException
 at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:578)
 at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:246)
 at
org.apache.tiles.jsp.taglib.InsertDefinitionTag.render(InsertDefinitionT
ag.java:63)
 at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.ja
va:154)
 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._jsfTileNavigator._jspService(_jsfTileNavigator.java:137)
 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.ja
va:1075)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1016)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:118)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterC
hain.java:87)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:771)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:679)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:546)
 at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr
apper.java:478)
 at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
enericServletWrapper.java:122)
 at
com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handle
Request(AbstractJSPExtensionServletWrapper.java:226)
 at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:321)
 at
com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExt
ernalContextImpl.java:411)
 at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
a:257)
 at
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrappe
r.java:108)
 at
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java
:216)
 at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.
java:87)
 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1075)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1016)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:145) 
.....
[9/3/08 13:22:58:164 EDT] 00000025 ServletWrappe E   SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet:
/jsf/common/jsfTileNavigator.jsp. Exception thrown :
javax.servlet.ServletException: Error executing tag: null
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:658)
 at
com.ibm._jsp._jsfTileNavigator._jspService(_jsfTileNavigator.java:150)
 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.ja
va:1075)
.....
---- Begin backtrace for Nested Throwables
org.apache.tiles.definition.NoSuchDefinitionException
 at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:578)
....
 
In my web.xml file I have decalred the tiles filter, as well as have an
error-page set to try to catch this exception, but it doesn't work.  Any
ideas why this is happening?  How to avoid it?  And why the error-page
config isn't working?  Any help is greatly appreciated, thanks.
 
<!-- web.xml file, pieces relevant to error page and tiles -->
<servlet>
  <servlet-name>tiles</servlet-name>
  <servlet-class>
   org.apache.tiles.web.startup.TilesServlet
  </servlet-class>
  <init-param>
   <param-name>
    org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
   </param-name>
   <param-value>/WEB-INF/tiles-jsf.xml</param-value>
  </init-param>
  <load-on-startup>4</load-on-startup>
 </servlet>
 
<!-- Neither of these error pages seem to be working -->
 <error-page>
 
<exception-type>org.apache.tiles.definition.NoSuchDefinitionException</e
xception-type>
     <location>/index.html</location>
 </error-page>
    
  <error-page>
     <exception-type>javax.servlet.ServletException</exception-type>
     <location>/index.html</location>
 </error-page>
 
 

 

Ben Maisano
UnitedHealth Group IT
Office: 860-702-6994
Cell:    203-919-8800
 


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message