myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sujith Vellat Thayyilthodi (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-419) JspTilesViewHandlerImpl failed to load the Tile Definition
Date Mon, 08 May 2006 09:20:21 GMT
JspTilesViewHandlerImpl failed to load the Tile Definition
----------------------------------------------------------

         Key: TOMAHAWK-419
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-419
     Project: MyFaces Tomahawk
        Type: Bug

  Components: Tiles  
 Environment: JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)]
JDK 5.0
    Reporter: Sujith Vellat Thayyilthodi
    Priority: Critical


There seems to be a mismatch in the WebXml inited by the myfaces implementation (StartupServletContextListener)
and the WebXml used by the JspTilesViewHandlerImpl in Tomahawk

StartupServletContextListener initialises "org.apache.myfaces.shared_impl.webapp.webxml.WebXml"
and 
JspTilesViewHandlerImpl  uses the "org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXml".
which causes the following exception when tested in the JBoss.


02:11:34,437 ERROR [WebXmlParser] org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXml.init
m
ust be called before!
02:11:34,437 ERROR [[faces]] Servlet.service() for servlet faces threw exception

java.lang.IllegalStateException: org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXml.init
mu
st be called before!
        at org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXml.getWebXml(WebXml.java:123)
        at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServlet
Mapping(JspTilesViewHandlerImpl.java:254)
        at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView
(JspTilesViewHandlerImpl.java:120)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
367)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exte
nsionsFilter.java:122)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:153)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)

        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:595)


sujithvt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message