You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Heinen <mi...@recommind.com> on 2009/12/08 15:13:54 UTC
pages not rendered anymore after update from 1.1.6 to 1.2.8
Hi,
I tried to update my webApp from myfaces 1.1.6, tomahawk 1.1.7 and richfaces 3.1.5 to JSF 1.2
After some problems the webapp finally started but no page is rendered anymore.
Instead of the pages I get only empty screens without any content at all!
I am still using Tiles1 (from struts1.1jar) in combination with jsps and not Facelets.
What I did:
1) Updated myFaces jars from 1.1.6 to 1.2.8 (api and impl)
2) updated tomahawk 1.1.7 to tomahawk12-1.1.9
3) removed tomhahawk sandbox 1.1.7
4) updated richfaces from 3.1.5 to 3.3.2 (api,impl and ui)
5) updated jstl-1.1.0.jar to jstl-1.2.jar and removed standard.jar
6) deleted work folder of the webApp
7) updated faces-config.xml: set version attribute of faces-config tag to version="1.2"
8) updated web.xml: set version attribute of web-app tag version="2.5"
I attached the initialization log and the request log with debugging output.
Initialization looks good from my point of view.
One suspicious line in the request.log:
[2009-12-08 14:45:17,492] http-8080-1 [ WARN] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4 section of Servlets specification on how to achieve that.
The order of the filters in web.xml is not changed and Faces Extensions Filter IS AFTER richfaces filter
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
I don't know whether the problem is caused, by MyFaces, Richfaces, Tomhawk Tiles or whatever at the moment.
Any idea where to look at?
Michael
RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Michael Heinen <mi...@recommind.com>.
I started this thread so I keep you up to date with my improvements of the migration.
Some pages are now working basically with Tiles 2.0.5.
1) Migrated to Tiles2 according this guide: http://tiles.apache.org/migration/index.html
2) Renamed my tiles-definitions file to tiles.xml! Other names defined in the web.xml are not working. Unfortunately I had another name which cost me quite some hours.
3) I had to add commons-discovery-0.4.jar to the libs
Not every project can migrate to Facelets easily. This means also some migration and QA effort.
My project is under heavy development and started 4 years ago with Tiles.
Facelets was a beta "0.1" at this time and it was not obvious at that it would become a standard.
Sooner or later I will migrate to Facelets but right now this is no alternative.
Michael
-----Original Message-----
From: Leonardo Uribe [mailto:lu4242@gmail.com]
Sent: Mittwoch, 9. Dezember 2009 04:31
To: MyFaces Discussion
Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Hi
The example available here:
http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles/
works with jsf 1.2 and tomahawk12-1.1.x (to execute it try mvn clean
-Djsf=12 -Dtomahawk=12 jetty:run)
Note that use jsf 1.2 and tomahawk-1.1.x does not work, because some changes
in ViewHandler where added.
I ignore if richfaces introduce some side effects (and that's the reason why
does not work) but maybe this is the case.
regards,
Leonardo Uribe
2009/12/8 Richard Yee <ri...@gmail.com>
> I'd suggest using facelets instead of Tiles. Tiles was never designed
> to work with JSF. Facelets provides similar templating capability and
> was designed to improve on shortcomings of JSP and JSF. Facelets is
> also part of JSF 2.0
>
> -Richard
>
>
> On Tue, Dec 8, 2009 at 8:24 AM, Michael Heinen
> <mi...@recommind.com> wrote:
> > Thanks Richard, I tried this finally with a simple page in this project.
> >
> > TILES is the culprit.
> > My simple page is now rendered with tomahawk tags
> > after I removed context param
> org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
> from web.xml.
> >
> > The content of <f:view> is NOT rendered at all as soon as I add the above
> context param for tiles again.
> > Sample jsp:
> >
> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> > <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> > <html><head></head><body>
> > hello
> > <f:view>world<h:outputText value="20"/><t:outputText
> value="09"/></</f:view>
> > </body></html>
> >
> >
> > Output: hello
> > The <f:view> tag is not processed at all with Tiles.
> >
> > Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8,
> tomahawk12_1.1.9 and richfaces 3.3.2)?
> > Debugging all the frameworks together is really time consuming
> >
> > Michael
> >
> >
> > -----Original Message-----
> > From: Richard Yee [mailto:richard.k.yee@gmail.com]
> > Sent: Dienstag, 8. Dezember 2009 16:09
> > To: MyFaces Discussion
> > Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
> >
> > Have you tried just having a page with a JSF outputText tag to see if
> > that works? (No tiles or Richfaces)
> >
> > I would start from there and then add other tags to narrow down where
> > the problem is.
> >
> > -R
> >
> >
>
Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Leonardo Uribe <lu...@gmail.com>.
Hi
The example available here:
http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles/
works with jsf 1.2 and tomahawk12-1.1.x (to execute it try mvn clean
-Djsf=12 -Dtomahawk=12 jetty:run)
Note that use jsf 1.2 and tomahawk-1.1.x does not work, because some changes
in ViewHandler where added.
I ignore if richfaces introduce some side effects (and that's the reason why
does not work) but maybe this is the case.
regards,
Leonardo Uribe
2009/12/8 Richard Yee <ri...@gmail.com>
> I'd suggest using facelets instead of Tiles. Tiles was never designed
> to work with JSF. Facelets provides similar templating capability and
> was designed to improve on shortcomings of JSP and JSF. Facelets is
> also part of JSF 2.0
>
> -Richard
>
>
> On Tue, Dec 8, 2009 at 8:24 AM, Michael Heinen
> <mi...@recommind.com> wrote:
> > Thanks Richard, I tried this finally with a simple page in this project.
> >
> > TILES is the culprit.
> > My simple page is now rendered with tomahawk tags
> > after I removed context param
> org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
> from web.xml.
> >
> > The content of <f:view> is NOT rendered at all as soon as I add the above
> context param for tiles again.
> > Sample jsp:
> >
> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> > <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> > <html><head></head><body>
> > hello
> > <f:view>world<h:outputText value="20"/><t:outputText
> value="09"/></</f:view>
> > </body></html>
> >
> >
> > Output: hello
> > The <f:view> tag is not processed at all with Tiles.
> >
> > Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8,
> tomahawk12_1.1.9 and richfaces 3.3.2)?
> > Debugging all the frameworks together is really time consuming
> >
> > Michael
> >
> >
> > -----Original Message-----
> > From: Richard Yee [mailto:richard.k.yee@gmail.com]
> > Sent: Dienstag, 8. Dezember 2009 16:09
> > To: MyFaces Discussion
> > Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
> >
> > Have you tried just having a page with a JSF outputText tag to see if
> > that works? (No tiles or Richfaces)
> >
> > I would start from there and then add other tags to narrow down where
> > the problem is.
> >
> > -R
> >
> >
>
Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Richard Yee <ri...@gmail.com>.
I'd suggest using facelets instead of Tiles. Tiles was never designed
to work with JSF. Facelets provides similar templating capability and
was designed to improve on shortcomings of JSP and JSF. Facelets is
also part of JSF 2.0
-Richard
On Tue, Dec 8, 2009 at 8:24 AM, Michael Heinen
<mi...@recommind.com> wrote:
> Thanks Richard, I tried this finally with a simple page in this project.
>
> TILES is the culprit.
> My simple page is now rendered with tomahawk tags
> after I removed context param org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl from web.xml.
>
> The content of <f:view> is NOT rendered at all as soon as I add the above context param for tiles again.
> Sample jsp:
>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> <html><head></head><body>
> hello
> <f:view>world<h:outputText value="20"/><t:outputText value="09"/></</f:view>
> </body></html>
>
>
> Output: hello
> The <f:view> tag is not processed at all with Tiles.
>
> Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8, tomahawk12_1.1.9 and richfaces 3.3.2)?
> Debugging all the frameworks together is really time consuming
>
> Michael
>
>
> -----Original Message-----
> From: Richard Yee [mailto:richard.k.yee@gmail.com]
> Sent: Dienstag, 8. Dezember 2009 16:09
> To: MyFaces Discussion
> Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
>
> Have you tried just having a page with a JSF outputText tag to see if
> that works? (No tiles or Richfaces)
>
> I would start from there and then add other tags to narrow down where
> the problem is.
>
> -R
>
>
Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Anton Gavazuk <an...@gmail.com>.
Hi Michael,
I suspect your problem is mainly related to tiles - I also tried to migrate
and didnt succeed.
See my working config
tiles 2.0.6.
myfaces 1.2.8
richfaces 3.3.1 GA
Hope it will help
2009/12/8 Michael Heinen <mi...@recommind.com>
> Little progress:
> 1) I have to use
> "org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl"
> instead of
> "org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl"
> 2) I have to use version 2.0.5!
> Tiles 1 is not working with JspTilesTwoViewHandlerImpl and newer versions
> are also not working according to
> http://issues.apache.org/jira/browse/TOMAHAWK-74
>
> Now I get a 404 for all pages accessed via tiles.
> This update is really no joy ...
>
> Michael
>
>
> -----Original Message-----
> From: Michael Heinen [mailto:michael.heinen@recommind.com]
> Sent: Dienstag, 8. Dezember 2009 17:24
> To: MyFaces Discussion
> Subject: RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
>
> Thanks Richard, I tried this finally with a simple page in this project.
>
> TILES is the culprit.
> My simple page is now rendered with tomahawk tags
> after I removed context param
> org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
> from web.xml.
>
> The content of <f:view> is NOT rendered at all as soon as I add the above
> context param for tiles again.
> Sample jsp:
>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> <html><head></head><body>
> hello
> <f:view>world<h:outputText value="20"/><t:outputText
> value="09"/></</f:view>
> </body></html>
>
>
> Output: hello
> The <f:view> tag is not processed at all with Tiles.
>
> Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8,
> tomahawk12_1.1.9 and richfaces 3.3.2)?
> Debugging all the frameworks together is really time consuming
>
> Michael
>
>
> -----Original Message-----
> From: Richard Yee [mailto:richard.k.yee@gmail.com]
> Sent: Dienstag, 8. Dezember 2009 16:09
> To: MyFaces Discussion
> Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
>
> Have you tried just having a page with a JSF outputText tag to see if
> that works? (No tiles or Richfaces)
>
> I would start from there and then add other tags to narrow down where
> the problem is.
>
> -R
>
>
>
RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Michael Heinen <mi...@recommind.com>.
Little progress:
1) I have to use "org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl" instead of "org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl"
2) I have to use version 2.0.5!
Tiles 1 is not working with JspTilesTwoViewHandlerImpl and newer versions are also not working according to http://issues.apache.org/jira/browse/TOMAHAWK-74
Now I get a 404 for all pages accessed via tiles.
This update is really no joy ...
Michael
-----Original Message-----
From: Michael Heinen [mailto:michael.heinen@recommind.com]
Sent: Dienstag, 8. Dezember 2009 17:24
To: MyFaces Discussion
Subject: RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Thanks Richard, I tried this finally with a simple page in this project.
TILES is the culprit.
My simple page is now rendered with tomahawk tags
after I removed context param org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl from web.xml.
The content of <f:view> is NOT rendered at all as soon as I add the above context param for tiles again.
Sample jsp:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<html><head></head><body>
hello
<f:view>world<h:outputText value="20"/><t:outputText value="09"/></</f:view>
</body></html>
Output: hello
The <f:view> tag is not processed at all with Tiles.
Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8, tomahawk12_1.1.9 and richfaces 3.3.2)?
Debugging all the frameworks together is really time consuming
Michael
-----Original Message-----
From: Richard Yee [mailto:richard.k.yee@gmail.com]
Sent: Dienstag, 8. Dezember 2009 16:09
To: MyFaces Discussion
Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Have you tried just having a page with a JSF outputText tag to see if
that works? (No tiles or Richfaces)
I would start from there and then add other tags to narrow down where
the problem is.
-R
RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Michael Heinen <mi...@recommind.com>.
Thanks Richard, I tried this finally with a simple page in this project.
TILES is the culprit.
My simple page is now rendered with tomahawk tags
after I removed context param org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl from web.xml.
The content of <f:view> is NOT rendered at all as soon as I add the above context param for tiles again.
Sample jsp:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<html><head></head><body>
hello
<f:view>world<h:outputText value="20"/><t:outputText value="09"/></</f:view>
</body></html>
Output: hello
The <f:view> tag is not processed at all with Tiles.
Does anybody know what to do with tiles and JSF 1.2 (myFaces 1.2.8, tomahawk12_1.1.9 and richfaces 3.3.2)?
Debugging all the frameworks together is really time consuming
Michael
-----Original Message-----
From: Richard Yee [mailto:richard.k.yee@gmail.com]
Sent: Dienstag, 8. Dezember 2009 16:09
To: MyFaces Discussion
Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Have you tried just having a page with a JSF outputText tag to see if
that works? (No tiles or Richfaces)
I would start from there and then add other tags to narrow down where
the problem is.
-R
Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Richard Yee <ri...@gmail.com>.
Have you tried just having a page with a JSF outputText tag to see if
that works? (No tiles or Richfaces)
I would start from there and then add other tags to narrow down where
the problem is.
-R
RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Michael Heinen <mi...@recommind.com>.
The order seems to be correct to me:
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
...
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>20m</param-value>
</init-param>
</filter>
...
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
...
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
Michael
-----Original Message-----
From: Richard Yee [mailto:richard.k.yee@gmail.com]
Sent: Dienstag, 8. Dezember 2009 15:38
To: MyFaces Discussion
Subject: Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
WARN] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
section of Servlets specification on how to achieve that.
Sent from my iPhone
On Dec 8, 2009, at 6:22 AM, Michael Heinen
<mi...@recommind.com> wrote:
> The attachments didn't work. Here is the content:
>
> Initialization:
> [2009-12-08 14:44:01,308] main [ INFO] []
> webapp.StartupServletContextListener dispatchInitializationEvent:
> Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
> ...
> [2009-12-08 14:44:01,730] main [DEBUG] [] webxml.WebXmlParser
> readWebApp: Ignored node '#text' of type 3
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using
> default value false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default
> value false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using
> default value true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value
> true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value
> true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getLongInitParameter: No context init parameter
> 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default
> value 2
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value
> false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getStringInitParameter: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default
> value /faces/myFacesExtensionResource
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> createAndInitializeMyFacesConfig: Starting up Tomahawk on the
> MyFaces-JSF-Implementation
> [2009-12-08 14:44:01,917] main [ INFO] [] config.FacesConfigurator
> feedStandardConfig: Reading standard config META-INF/standard-faces-
> config.xml
> [2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-
> impl-3.3.2.SR1.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-
> ui-3.3.2.SR1.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,183] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/
> tomahawk12-1.1.9.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,199] main [ INFO] [] config.FacesConfigurator
> feedWebAppConfig: Reading config /WEB-INF/faces-config.xml
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : myfaces-api in version :
> 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/myfaces-api-1.2.8.jar
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : myfaces-impl in version :
> 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/myfaces-impl-1.2.8.jar
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk not found.
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : tomahawk12 in version :
> 1.1.9 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/tomahawk12-1.1.9.jar
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox12 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox15 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : myfaces-orchestra-core not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : myfaces-orchestra-core12 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : trinidad-api not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : trinidad-impl not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tobago not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : commons-el in version : 1.0
> from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/
> lib/commons-el-1.0.jar
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : jsp-api not found.
> [2009-12-08 14:44:02,339] main [DEBUG] []
> application.AjaxStateManager <init>: SeamStateManager is not present
> [2009-12-08 14:44:02,355] main [DEBUG] []
> application.AjaxStateManager <init>: SeamStateManager is not present
> [2009-12-08 14:44:02,371] main [ WARN] [] util.LocaleUtils toLocale:
> Locale name in faces-config.xml null or empty, setting locale to
> default locale : de_DE
> [2009-12-08 14:44:03,762] main [DEBUG] []
> renderkit.ChameleonRenderKitFactory <init>: ChameleonRenderKitFactory
> (RenderKitFactory) - Chameleon RenderKit factory instantiated
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Create instance of
> InternetBuilder from class org.ajax4jsf.resource.ResourceBuilderImpl
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Return instance of
> internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.ResourceBuilderImpl registerConfig: Process resources
> configuration file jar:file:/C:/workspace/LitigationWebClient/
> WebRoot/WEB-INF/lib/richfaces-impl-3.3.2.SR1.jar!/META-INF/resources-
> config.xml
> [2009-12-08 14:44:03,965] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Return instance of
> internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:44:03,965] main [DEBUG] [] javascript.AjaxScript
> <init>: AjaxScript() - Created instance of AjaxScript resource
> ...
> [2009-12-08 14:44:05,012] main [DEBUG] [] javascript.AjaxScript
> <init>: AjaxScript() - Created instance of AjaxScript resource
> ...
> [2009-12-08 14:44:07,590] main [DEBUG] [] html.HtmlRenderKitImpl
> _put: Overwriting renderer with family = javax.faces.Output
> rendererType = org.apache.myfaces.DivRenderer renderer class =
> org.apache.myfaces.custom.div.DivRenderer
> [2009-12-08 14:44:07,606] main [DEBUG] [] html.HtmlRenderKitImpl
> _put: Overwriting renderer with family = javax.faces.Messages
> rendererType = org.apache.myfaces.Messages renderer class =
> foo.CustomMessagesRenderer
> [2009-12-08 14:44:07,668] main [DEBUG] []
> renderkit.ChameleonRenderKitFactory addRenderKit: addRenderKit
> (String, RenderKit) - Added RenderKit with id - renderKitId=HTML_BASIC
> [2009-12-08 14:44:07,715] main [ INFO] [] config.FacesConfigurator
> handleSerialFactory: Serialization provider : class
> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> initSecret: Storing SecretKey @ org.apache.myfaces.SECRET.CACHE
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> findSecret: generated random password of length 8
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> findAlgorithm: Using algorithm DES
> [2009-12-08 14:44:07,747] main [ INFO] []
> webapp.AbstractFacesInitializer initFaces: ServletContext 'C:
> \workspace\LitigationWebClient\WebRoot\' initialized.
> [2009-12-08 14:44:07,747] main [ INFO] []
> webapp.StartupServletContextListener dispatchInitializationEvent:
> Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
> [2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init:
> TRACE ENTER:
> [2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init:
> TRACE LEAVE:
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init:
> Init ajax4jsf filter with nane: richfaces
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init:
> Init parameters :
>
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseXMLFilter init:
> init XML filter service with class
> org.ajax4jsf.webapp.ConfigurableXMLFilter
> [2009-12-08 14:44:07,981] main [ INFO] [] cache.CacheManager
> getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory]
> cache factory
> [2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance using parameters:
> {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper,
> org.apache.myfaces.DETECT_JAVASCRIPT=false,
> org.apache.myfaces.PRETTY_HTML=true,
> org.ajax4jsf.VIEW_HANDLERS=
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl,
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/
> WEB-INF/tiles-defs.xml,
> org.apache.myfaces.ADD_RESOURCE_CLASS=
> org.apache.myfaces.component.html.util.StreamingAddResource,
> org.apache.myfaces.AUTO_SCROLL=false,
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false,
> org.apache.myfaces.ALLOW_JAVASCRIPT=true,
> org.ajax4jsf.xmlparser.ORDER=NEKO,
> org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false,
> javax.faces.STATE_SAVING_METHOD=server,
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
> [2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance of default capacity
> [2009-12-08 14:44:08,043] main [DEBUG] []
> resource.InternetResourceService init: Resources service initialized
> [2009-12-08 14:44:08,043] main [ INFO] [] cache.CacheManager
> getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory]
> cache factory
> [2009-12-08 14:44:08,043] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance using parameters:
> {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper,
> org.apache.myfaces.DETECT_JAVASCRIPT=false,
> org.apache.myfaces.PRETTY_HTML=true,
> org.ajax4jsf.VIEW_HANDLERS=
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl,
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/
> WEB-INF/tiles-defs.xml,
> org.apache.myfaces.ADD_RESOURCE_CLASS=
> org.apache.myfaces.component.html.util.StreamingAddResource,
> org.apache.myfaces.AUTO_SCROLL=false,
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false,
> org.apache.myfaces.ALLOW_JAVASCRIPT=true,
> org.ajax4jsf.xmlparser.ORDER=NEKO,
> org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false,
> javax.faces.STATE_SAVING_METHOD=server,
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
> [2009-12-08 14:44:08,059] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance of default capacity
>
>
> Request:
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter:
> Filter start request processing at 08.12.09 14:45 for uri: /liti/
> faces/login.jsp
> [2009-12-08 14:45:17,492] http-8080-1 [ WARN]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
> checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
> configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
> section of Servlets specification on how to achieve that.
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter handleRequest:
> Filter request output to XML
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> XML filter service start processing request
> [2009-12-08 14:45:19,461] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper
> service: TRACE ENTER: url:http://localhost:8080/liti/faces/login.jsp
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: Process before phase RESTORE_VIEW(1)
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> beforePhase: Perform additional framework initialization on first
> request
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> beforePhase: Set AjaxViewHandler on top of chain
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] application.AjaxViewHandler
> <init>: Create instance of Ajax ViewHandler
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] application.ViewHandlerWrapper
> fillChain: Create new instance of alternate handler class
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
> [2009-12-08 14:45:19,664] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> afterPhase: Remove init phase listener from factories
> [2009-12-08 14:45:19,664] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> afterPhase: Process after phase RESTORE_VIEW(1)
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] lifecycle.LifecycleImpl
> shouldRenderResponse: exiting from lifecycle.execute in RESTORE_VIEW
> (1) because getRenderResponse is true from one of the after listeners
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: Process before phase RENDER_RESPONSE(6)
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: PhaseListener enter Before RenderView Phase with
> ViewId /login.jsp and RenderKitId HTML_BASIC
> [2009-12-08 14:45:19,758] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp:
> Ignored node '#text' of type 3
> ...
> [2009-12-08 14:45:19,867] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp:
> Ignored node '#text' of type 3
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using
> default value false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default
> value false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using
> default value true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value
> true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value
> true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getLongInitParameter: No context init parameter
> 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default
> value 2
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value
> false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getStringInitParameter: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default
> value /faces/myFacesExtensionResource
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> createAndInitializeMyFacesConfig: Starting up Tomahawk on the
> MyFaces-JSF-Implementation
> [2009-12-08 14:45:20,899] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl
> getDefinitionsFactory: JspTilesViewHandlerImpl init
> [2009-12-08 14:45:20,899] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl
> getDefinitionsFactory: Reading tiles definitions
> ...
> [2009-12-08 14:45:21,712] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.XmlDefinition
> resolveInheritance: Resolve definition for child name='/login.tiles'
> extends='.simpleLayout'.
>
> [2009-12-08 14:45:21,727] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet
> createDefaultFactory: definitions={.simpleLayout=
> {name=.simpleLayout, path=/WEB-INF/layout/simpleLayout.jsp,
> role=null, controller=null, controllerType=null,
> controllerInstance=null, attributes={content=/pages/empty.jsp,
> headDefinitions=, header=/WEB-INF/layout/header.jsp}}
> ...
> [2009-12-08 14:45:21,758] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet
> initFactory: Factory initialized from file '/WEB-INF/tiles-defs.xml'.
> [2009-12-08 14:45:26,228] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B]
> webapp.FilterServletResponseWrapper getWriter: Create StringWriter
> for buffer servlet output
> [2009-12-08 14:45:26,243] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] context.ViewResources
> processHeadResources: Process component tree for collect used
> scripts and styles
> [2009-12-08 14:45:26,243] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/css/basic_classes.xcss]
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Start compile template from org/richfaces/renderkit/html/css/
> basic_classes.xcss
> [2009-12-08 14:45:26,290] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Finish compilation template from org/richfaces/renderkit/html/css/
> basic_classes.xcss
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/css/basic_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/
> richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAELXT5DOhSIAQ!
> sA18_
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/css/basic_classes.xcss] as rendered
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/css/extended_classes.xcss] and attributes: {media=rich-extended-
> skinning}
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Start compile template from org/richfaces/renderkit/html/css/
> extended_classes.xcss
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Finish compilation template from org/richfaces/renderkit/html/css/
> extended_classes.xcss
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/css/extended_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/
> richfaces/renderkit/html/css/extended_classes.xcss/DATB/
> eAELXT5DOhSIAQ!sA18_
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/css/extended_classes.xcss] as rendered
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/scripts/skinning.js]
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/scripts/skinning.js] as : /liti/faces/a4j/g/3_3_2.SR1org/
> richfaces/renderkit/html/scripts/skinning.js
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/scripts/skinning.js] as rendered
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> afterPhase: Process after phase RENDER_RESPONSE(6)
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper
> service: TRACE LEAVE:
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> create HTML/XML parser for content type: text/html
> [2009-12-08 14:45:26,369] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> Parsing html total time 32ms
> [2009-12-08 14:45:26,369] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter:
> Finished request processing total time 8877ms for uri: /liti/faces/
> login.jsp
>
> Michael
>
>
> From: Michael Heinen [mailto:michael.heinen@recommind.com]
> Sent: Dienstag, 8. Dezember 2009 15:14
> To: MyFaces Discussion
> Subject: pages not rendered anymore after update from 1.1.6 to 1.2.8
>
> Hi,
>
> I tried to update my webApp from myfaces 1.1.6, tomahawk 1.1.7 and
> richfaces 3.1.5 to JSF 1.2
> After some problems the webapp finally started but no page is
> rendered anymore.
> Instead of the pages I get only empty screens without any content at
> all!
>
> I am still using Tiles1 (from struts1.1jar) in combination with jsps
> and not Facelets.
>
> What I did:
> 1) Updated myFaces jars from 1.1.6 to 1.2.8 (api and impl)
> 2) updated tomahawk 1.1.7 to tomahawk12-1.1.9
> 3) removed tomhahawk sandbox 1.1.7
> 4) updated richfaces from 3.1.5 to 3.3.2 (api,impl and ui)
> 5) updated jstl-1.1.0.jar to jstl-1.2.jar and removed standard.jar
> 6) deleted work folder of the webApp
> 7) updated faces-config.xml: set version attribute of faces-config
> tag to version="1.2"
> 8) updated web.xml: set version attribute of web-app tag version="2.5"
>
> I attached the initialization log and the request log with debugging
> output.
> Initialization looks good from my point of view.
>
> One suspicious line in the request.log:
> [2009-12-08 14:45:17,492] http-8080-1 [ WARN]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
> checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
> configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
> section of Servlets specification on how to achieve that.
>
> The order of the filters in web.xml is not changed and Faces
> Extensions Filter IS AFTER richfaces filter
> <filter-mapping>
> <filter-name>richfaces</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> <dispatcher>INCLUDE</dispatcher>
> </filter-mapping>
>
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <url-pattern>*.faces</url-pattern>
> </filter-mapping>
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <url-pattern>/faces/*</url-pattern>
> </filter-mapping>
>
> I don't know whether the problem is caused, by MyFaces, Richfaces,
> Tomhawk Tiles or whatever at the moment.
> Any idea where to look at?
>
> Michael
Re: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Richard Yee <ri...@gmail.com>.
WARN] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
section of Servlets specification on how to achieve that.
Sent from my iPhone
On Dec 8, 2009, at 6:22 AM, Michael Heinen
<mi...@recommind.com> wrote:
> The attachments didn't work. Here is the content:
>
> Initialization:
> [2009-12-08 14:44:01,308] main [ INFO] []
> webapp.StartupServletContextListener dispatchInitializationEvent:
> Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
> ...
> [2009-12-08 14:44:01,730] main [DEBUG] [] webxml.WebXmlParser
> readWebApp: Ignored node '#text' of type 3
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using
> default value false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default
> value false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using
> default value true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value
> true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value
> true
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getLongInitParameter: No context init parameter
> 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default
> value 2
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value
> false
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> getStringInitParameter: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default
> value /faces/myFacesExtensionResource
> [2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig
> createAndInitializeMyFacesConfig: Starting up Tomahawk on the
> MyFaces-JSF-Implementation
> [2009-12-08 14:44:01,917] main [ INFO] [] config.FacesConfigurator
> feedStandardConfig: Reading standard config META-INF/standard-faces-
> config.xml
> [2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-
> impl-3.3.2.SR1.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-
> ui-3.3.2.SR1.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,183] main [ INFO] [] config.FacesConfigurator
> feedClassloaderConfigurations: Reading config : jar:file:/C:/
> workspace/LitigationWebClient/WebRoot/WEB-INF/lib/
> tomahawk12-1.1.9.jar!/META-INF/faces-config.xml
> [2009-12-08 14:44:02,199] main [ INFO] [] config.FacesConfigurator
> feedWebAppConfig: Reading config /WEB-INF/faces-config.xml
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : myfaces-api in version :
> 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/myfaces-api-1.2.8.jar
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : myfaces-impl in version :
> 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/myfaces-impl-1.2.8.jar
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk not found.
> [2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : tomahawk12 in version :
> 1.1.9 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-
> INF/lib/tomahawk12-1.1.9.jar
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox12 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tomahawk-sandbox15 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : myfaces-orchestra-core not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : myfaces-orchestra-core12 not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : trinidad-api not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : trinidad-impl not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : tobago not found.
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: Starting up MyFaces-package : commons-el in version : 1.0
> from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/
> lib/commons-el-1.0.jar
> [2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator
> startLib: MyFaces-package : jsp-api not found.
> [2009-12-08 14:44:02,339] main [DEBUG] []
> application.AjaxStateManager <init>: SeamStateManager is not present
> [2009-12-08 14:44:02,355] main [DEBUG] []
> application.AjaxStateManager <init>: SeamStateManager is not present
> [2009-12-08 14:44:02,371] main [ WARN] [] util.LocaleUtils toLocale:
> Locale name in faces-config.xml null or empty, setting locale to
> default locale : de_DE
> [2009-12-08 14:44:03,762] main [DEBUG] []
> renderkit.ChameleonRenderKitFactory <init>: ChameleonRenderKitFactory
> (RenderKitFactory) - Chameleon RenderKit factory instantiated
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Create instance of
> InternetBuilder from class org.ajax4jsf.resource.ResourceBuilderImpl
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Return instance of
> internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:44:03,949] main [DEBUG] []
> resource.ResourceBuilderImpl registerConfig: Process resources
> configuration file jar:file:/C:/workspace/LitigationWebClient/
> WebRoot/WEB-INF/lib/richfaces-impl-3.3.2.SR1.jar!/META-INF/resources-
> config.xml
> [2009-12-08 14:44:03,965] main [DEBUG] []
> resource.InternetResourceBuilder getInstance: Return instance of
> internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:44:03,965] main [DEBUG] [] javascript.AjaxScript
> <init>: AjaxScript() - Created instance of AjaxScript resource
> ...
> [2009-12-08 14:44:05,012] main [DEBUG] [] javascript.AjaxScript
> <init>: AjaxScript() - Created instance of AjaxScript resource
> ...
> [2009-12-08 14:44:07,590] main [DEBUG] [] html.HtmlRenderKitImpl
> _put: Overwriting renderer with family = javax.faces.Output
> rendererType = org.apache.myfaces.DivRenderer renderer class =
> org.apache.myfaces.custom.div.DivRenderer
> [2009-12-08 14:44:07,606] main [DEBUG] [] html.HtmlRenderKitImpl
> _put: Overwriting renderer with family = javax.faces.Messages
> rendererType = org.apache.myfaces.Messages renderer class =
> foo.CustomMessagesRenderer
> [2009-12-08 14:44:07,668] main [DEBUG] []
> renderkit.ChameleonRenderKitFactory addRenderKit: addRenderKit
> (String, RenderKit) - Added RenderKit with id - renderKitId=HTML_BASIC
> [2009-12-08 14:44:07,715] main [ INFO] [] config.FacesConfigurator
> handleSerialFactory: Serialization provider : class
> org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> initSecret: Storing SecretKey @ org.apache.myfaces.SECRET.CACHE
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> findSecret: generated random password of length 8
> [2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils
> findAlgorithm: Using algorithm DES
> [2009-12-08 14:44:07,747] main [ INFO] []
> webapp.AbstractFacesInitializer initFaces: ServletContext 'C:
> \workspace\LitigationWebClient\WebRoot\' initialized.
> [2009-12-08 14:44:07,747] main [ INFO] []
> webapp.StartupServletContextListener dispatchInitializationEvent:
> Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
> [2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init:
> TRACE ENTER:
> [2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init:
> TRACE LEAVE:
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init:
> Init ajax4jsf filter with nane: richfaces
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init:
> Init parameters :
>
> [2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseXMLFilter init:
> init XML filter service with class
> org.ajax4jsf.webapp.ConfigurableXMLFilter
> [2009-12-08 14:44:07,981] main [ INFO] [] cache.CacheManager
> getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory]
> cache factory
> [2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance using parameters:
> {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper,
> org.apache.myfaces.DETECT_JAVASCRIPT=false,
> org.apache.myfaces.PRETTY_HTML=true,
> org.ajax4jsf.VIEW_HANDLERS=
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl,
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/
> WEB-INF/tiles-defs.xml,
> org.apache.myfaces.ADD_RESOURCE_CLASS=
> org.apache.myfaces.component.html.util.StreamingAddResource,
> org.apache.myfaces.AUTO_SCROLL=false,
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false,
> org.apache.myfaces.ALLOW_JAVASCRIPT=true,
> org.ajax4jsf.xmlparser.ORDER=NEKO,
> org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false,
> javax.faces.STATE_SAVING_METHOD=server,
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
> [2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance of default capacity
> [2009-12-08 14:44:08,043] main [DEBUG] []
> resource.InternetResourceService init: Resources service initialized
> [2009-12-08 14:44:08,043] main [ INFO] [] cache.CacheManager
> getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory]
> cache factory
> [2009-12-08 14:44:08,043] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance using parameters:
> {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper,
> org.apache.myfaces.DETECT_JAVASCRIPT=false,
> org.apache.myfaces.PRETTY_HTML=true,
> org.ajax4jsf.VIEW_HANDLERS=
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl,
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/
> WEB-INF/tiles-defs.xml,
> org.apache.myfaces.ADD_RESOURCE_CLASS=
> org.apache.myfaces.component.html.util.StreamingAddResource,
> org.apache.myfaces.AUTO_SCROLL=false,
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false,
> org.apache.myfaces.ALLOW_JAVASCRIPT=true,
> org.ajax4jsf.xmlparser.ORDER=NEKO,
> org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false,
> javax.faces.STATE_SAVING_METHOD=server,
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
> [2009-12-08 14:44:08,059] main [ INFO] [] cache.LRUMapCacheFactory
> createCache: Creating LRUMap cache instance of default capacity
>
>
> Request:
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter:
> Filter start request processing at 08.12.09 14:45 for uri: /liti/
> faces/login.jsp
> [2009-12-08 14:45:17,492] http-8080-1 [ WARN]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
> checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
> configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
> section of Servlets specification on how to achieve that.
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter handleRequest:
> Filter request output to XML
> [2009-12-08 14:45:17,492] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> XML filter service start processing request
> [2009-12-08 14:45:19,461] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper
> service: TRACE ENTER: url:http://localhost:8080/liti/faces/login.jsp
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: Process before phase RESTORE_VIEW(1)
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> beforePhase: Perform additional framework initialization on first
> request
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> beforePhase: Set AjaxViewHandler on top of chain
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] application.AjaxViewHandler
> <init>: Create instance of Ajax ViewHandler
> [2009-12-08 14:45:19,524] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] application.ViewHandlerWrapper
> fillChain: Create new instance of alternate handler class
> org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
> [2009-12-08 14:45:19,664] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener
> afterPhase: Remove init phase listener from factories
> [2009-12-08 14:45:19,664] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> afterPhase: Process after phase RESTORE_VIEW(1)
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] lifecycle.LifecycleImpl
> shouldRenderResponse: exiting from lifecycle.execute in RESTORE_VIEW
> (1) because getRenderResponse is true from one of the after listeners
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: Process before phase RENDER_RESPONSE(6)
> [2009-12-08 14:45:19,680] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> beforePhase: PhaseListener enter Before RenderView Phase with
> ViewId /login.jsp and RenderKitId HTML_BASIC
> [2009-12-08 14:45:19,758] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp:
> Ignored node '#text' of type 3
> ...
> [2009-12-08 14:45:19,867] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp:
> Ignored node '#text' of type 3
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using
> default value false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default
> value false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using
> default value true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value
> true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value
> true
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getLongInitParameter: No context init parameter
> 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default
> value 2
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getBooleanInitParameter: No context init parameter
> 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value
> false
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> getStringInitParameter: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default
> value /faces/myFacesExtensionResource
> [2009-12-08 14:45:19,867] http-8080-1 [ INFO]
> [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig
> createAndInitializeMyFacesConfig: Starting up Tomahawk on the
> MyFaces-JSF-Implementation
> [2009-12-08 14:45:20,899] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl
> getDefinitionsFactory: JspTilesViewHandlerImpl init
> [2009-12-08 14:45:20,899] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl
> getDefinitionsFactory: Reading tiles definitions
> ...
> [2009-12-08 14:45:21,712] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.XmlDefinition
> resolveInheritance: Resolve definition for child name='/login.tiles'
> extends='.simpleLayout'.
>
> [2009-12-08 14:45:21,727] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet
> createDefaultFactory: definitions={.simpleLayout=
> {name=.simpleLayout, path=/WEB-INF/layout/simpleLayout.jsp,
> role=null, controller=null, controllerType=null,
> controllerInstance=null, attributes={content=/pages/empty.jsp,
> headDefinitions=, header=/WEB-INF/layout/header.jsp}}
> ...
> [2009-12-08 14:45:21,758] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet
> initFactory: Factory initialized from file '/WEB-INF/tiles-defs.xml'.
> [2009-12-08 14:45:26,228] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B]
> webapp.FilterServletResponseWrapper getWriter: Create StringWriter
> for buffer servlet output
> [2009-12-08 14:45:26,243] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] context.ViewResources
> processHeadResources: Process component tree for collect used
> scripts and styles
> [2009-12-08 14:45:26,243] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/css/basic_classes.xcss]
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,259] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Start compile template from org/richfaces/renderkit/html/css/
> basic_classes.xcss
> [2009-12-08 14:45:26,290] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Finish compilation template from org/richfaces/renderkit/html/css/
> basic_classes.xcss
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/css/basic_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/
> richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAELXT5DOhSIAQ!
> sA18_
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/css/basic_classes.xcss] as rendered
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/css/extended_classes.xcss] and attributes: {media=rich-extended-
> skinning}
> [2009-12-08 14:45:26,306] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Start compile template from org/richfaces/renderkit/html/css/
> extended_classes.xcss
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile:
> Finish compilation template from org/richfaces/renderkit/html/css/
> extended_classes.xcss
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/css/extended_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/
> richfaces/renderkit/html/css/extended_classes.xcss/DATB/
> eAELXT5DOhSIAQ!sA18_
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/css/extended_classes.xcss] as rendered
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase
> encode: Encode HTML for Resource with key [org/richfaces/renderkit/
> html/scripts/skinning.js]
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder
> getInstance: Return instance of internet resource builder
> org.ajax4jsf.resource.ResourceBuilderImpl@c9447
> [2009-12-08 14:45:26,322] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl
> getUri: Build URI for Resource with key [org/richfaces/renderkit/
> html/scripts/skinning.js] as : /liti/faces/a4j/g/3_3_2.SR1org/
> richfaces/renderkit/html/scripts/skinning.js
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer
> encodeEnd: Mark in context Resource with key [org/richfaces/
> renderkit/html/scripts/skinning.js] as rendered
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener
> afterPhase: Process after phase RENDER_RESPONSE(6)
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper
> service: TRACE LEAVE:
> [2009-12-08 14:45:26,337] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> create HTML/XML parser for content type: text/html
> [2009-12-08 14:45:26,369] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter:
> Parsing html total time 32ms
> [2009-12-08 14:45:26,369] http-8080-1 [DEBUG]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter:
> Finished request processing total time 8877ms for uri: /liti/faces/
> login.jsp
>
> Michael
>
>
> From: Michael Heinen [mailto:michael.heinen@recommind.com]
> Sent: Dienstag, 8. Dezember 2009 15:14
> To: MyFaces Discussion
> Subject: pages not rendered anymore after update from 1.1.6 to 1.2.8
>
> Hi,
>
> I tried to update my webApp from myfaces 1.1.6, tomahawk 1.1.7 and
> richfaces 3.1.5 to JSF 1.2
> After some problems the webapp finally started but no page is
> rendered anymore.
> Instead of the pages I get only empty screens without any content at
> all!
>
> I am still using Tiles1 (from struts1.1jar) in combination with jsps
> and not Facelets.
>
> What I did:
> 1) Updated myFaces jars from 1.1.6 to 1.2.8 (api and impl)
> 2) updated tomahawk 1.1.7 to tomahawk12-1.1.9
> 3) removed tomhahawk sandbox 1.1.7
> 4) updated richfaces from 3.1.5 to 3.3.2 (api,impl and ui)
> 5) updated jstl-1.1.0.jar to jstl-1.2.jar and removed standard.jar
> 6) deleted work folder of the webApp
> 7) updated faces-config.xml: set version attribute of faces-config
> tag to version="1.2"
> 8) updated web.xml: set version attribute of web-app tag version="2.5"
>
> I attached the initialization log and the request log with debugging
> output.
> Initialization looks good from my point of view.
>
> One suspicious line in the request.log:
> [2009-12-08 14:45:17,492] http-8080-1 [ WARN]
> [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter
> checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be
> configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4
> section of Servlets specification on how to achieve that.
>
> The order of the filters in web.xml is not changed and Faces
> Extensions Filter IS AFTER richfaces filter
> <filter-mapping>
> <filter-name>richfaces</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> <dispatcher>INCLUDE</dispatcher>
> </filter-mapping>
>
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <url-pattern>*.faces</url-pattern>
> </filter-mapping>
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <url-pattern>/faces/*</url-pattern>
> </filter-mapping>
>
> I don't know whether the problem is caused, by MyFaces, Richfaces,
> Tomhawk Tiles or whatever at the moment.
> Any idea where to look at?
>
> Michael
RE: pages not rendered anymore after update from 1.1.6 to 1.2.8
Posted by Michael Heinen <mi...@recommind.com>.
The attachments didn't work. Here is the content:
Initialization:
[2009-12-08 14:44:01,308] main [ INFO] [] webapp.StartupServletContextListener dispatchInitializationEvent: Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
...
[2009-12-08 14:44:01,730] main [DEBUG] [] webxml.WebXmlParser readWebApp: Ignored node '#text' of type 3
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getLongInitParameter: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig getStringInitParameter: No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource
[2009-12-08 14:44:01,761] main [ INFO] [] config.MyfacesConfig createAndInitializeMyFacesConfig: Starting up Tomahawk on the MyFaces-JSF-Implementation
[2009-12-08 14:44:01,917] main [ INFO] [] config.FacesConfigurator feedStandardConfig: Reading standard config META-INF/standard-faces-config.xml
[2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator feedClassloaderConfigurations: Reading config : jar:file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-impl-3.3.2.SR1.jar!/META-INF/faces-config.xml
[2009-12-08 14:44:02,152] main [ INFO] [] config.FacesConfigurator feedClassloaderConfigurations: Reading config : jar:file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-ui-3.3.2.SR1.jar!/META-INF/faces-config.xml
[2009-12-08 14:44:02,183] main [ INFO] [] config.FacesConfigurator feedClassloaderConfigurations: Reading config : jar:file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/tomahawk12-1.1.9.jar!/META-INF/faces-config.xml
[2009-12-08 14:44:02,199] main [ INFO] [] config.FacesConfigurator feedWebAppConfig: Reading config /WEB-INF/faces-config.xml
[2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator startLib: Starting up MyFaces-package : myfaces-api in version : 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/myfaces-api-1.2.8.jar
[2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator startLib: Starting up MyFaces-package : myfaces-impl in version : 1.2.8 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/myfaces-impl-1.2.8.jar
[2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : tomahawk not found.
[2009-12-08 14:44:02,261] main [ INFO] [] config.FacesConfigurator startLib: Starting up MyFaces-package : tomahawk12 in version : 1.1.9 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/tomahawk12-1.1.9.jar
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : tomahawk-sandbox not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : tomahawk-sandbox12 not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : tomahawk-sandbox15 not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : myfaces-orchestra-core not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : myfaces-orchestra-core12 not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : trinidad-api not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : trinidad-impl not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : tobago not found.
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: Starting up MyFaces-package : commons-el in version : 1.0 from path : file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/commons-el-1.0.jar
[2009-12-08 14:44:02,277] main [ INFO] [] config.FacesConfigurator startLib: MyFaces-package : jsp-api not found.
[2009-12-08 14:44:02,339] main [DEBUG] [] application.AjaxStateManager <init>: SeamStateManager is not present
[2009-12-08 14:44:02,355] main [DEBUG] [] application.AjaxStateManager <init>: SeamStateManager is not present
[2009-12-08 14:44:02,371] main [ WARN] [] util.LocaleUtils toLocale: Locale name in faces-config.xml null or empty, setting locale to default locale : de_DE
[2009-12-08 14:44:03,762] main [DEBUG] [] renderkit.ChameleonRenderKitFactory <init>: ChameleonRenderKitFactory(RenderKitFactory) - Chameleon RenderKit factory instantiated
[2009-12-08 14:44:03,949] main [DEBUG] [] resource.InternetResourceBuilder getInstance: Create instance of InternetBuilder from class org.ajax4jsf.resource.ResourceBuilderImpl
[2009-12-08 14:44:03,949] main [DEBUG] [] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:44:03,949] main [DEBUG] [] resource.ResourceBuilderImpl registerConfig: Process resources configuration file jar:file:/C:/workspace/LitigationWebClient/WebRoot/WEB-INF/lib/richfaces-impl-3.3.2.SR1.jar!/META-INF/resources-config.xml
[2009-12-08 14:44:03,965] main [DEBUG] [] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:44:03,965] main [DEBUG] [] javascript.AjaxScript <init>: AjaxScript() - Created instance of AjaxScript resource
...
[2009-12-08 14:44:05,012] main [DEBUG] [] javascript.AjaxScript <init>: AjaxScript() - Created instance of AjaxScript resource
...
[2009-12-08 14:44:07,590] main [DEBUG] [] html.HtmlRenderKitImpl _put: Overwriting renderer with family = javax.faces.Output rendererType = org.apache.myfaces.DivRenderer renderer class = org.apache.myfaces.custom.div.DivRenderer
[2009-12-08 14:44:07,606] main [DEBUG] [] html.HtmlRenderKitImpl _put: Overwriting renderer with family = javax.faces.Messages rendererType = org.apache.myfaces.Messages renderer class = foo.CustomMessagesRenderer
[2009-12-08 14:44:07,668] main [DEBUG] [] renderkit.ChameleonRenderKitFactory addRenderKit: addRenderKit(String, RenderKit) - Added RenderKit with id - renderKitId=HTML_BASIC
[2009-12-08 14:44:07,715] main [ INFO] [] config.FacesConfigurator handleSerialFactory: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
[2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils initSecret: Storing SecretKey @ org.apache.myfaces.SECRET.CACHE
[2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils findSecret: generated random password of length 8
[2009-12-08 14:44:07,747] main [DEBUG] [] util.StateUtils findAlgorithm: Using algorithm DES
[2009-12-08 14:44:07,747] main [ INFO] [] webapp.AbstractFacesInitializer initFaces: ServletContext 'C:\workspace\LitigationWebClient\WebRoot\' initialized.
[2009-12-08 14:44:07,747] main [ INFO] [] webapp.StartupServletContextListener dispatchInitializationEvent: Checking for plugins:org.apache.myfaces.FACES_INIT_PLUGINS
[2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init: TRACE ENTER:
[2009-12-08 14:44:07,809] main [DEBUG] [] filters.CacheFilter init: TRACE LEAVE:
[2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init: Init ajax4jsf filter with nane: richfaces
[2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseFilter init: Init parameters :
[2009-12-08 14:44:07,840] main [DEBUG] [] webapp.BaseXMLFilter init: init XML filter service with class org.ajax4jsf.webapp.ConfigurableXMLFilter
[2009-12-08 14:44:07,981] main [ INFO] [] cache.CacheManager getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
[2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory createCache: Creating LRUMap cache instance using parameters: {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper, org.apache.myfaces.DETECT_JAVASCRIPT=false, org.apache.myfaces.PRETTY_HTML=true, org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl, org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/WEB-INF/tiles-defs.xml, org.apache.myfaces.ADD_RESOURCE_CLASS=org.apache.myfaces.component.html.util.StreamingAddResource, org.apache.myfaces.AUTO_SCROLL=false, org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false, org.apache.myfaces.ALLOW_JAVASCRIPT=true, org.ajax4jsf.xmlparser.ORDER=NEKO, org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false, javax.faces.STATE_SAVING_METHOD=server, org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
[2009-12-08 14:44:07,997] main [ INFO] [] cache.LRUMapCacheFactory createCache: Creating LRUMap cache instance of default capacity
[2009-12-08 14:44:08,043] main [DEBUG] [] resource.InternetResourceService init: Resources service initialized
[2009-12-08 14:44:08,043] main [ INFO] [] cache.CacheManager getCacheFactory: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
[2009-12-08 14:44:08,043] main [ INFO] [] cache.LRUMapCacheFactory createCache: Creating LRUMap cache instance using parameters: {org.apache.myfaces.DELEGATE_FACES_SERVLET=foo.FacesServletWrapper, org.apache.myfaces.DETECT_JAVASCRIPT=false, org.apache.myfaces.PRETTY_HTML=true, org.ajax4jsf.VIEW_HANDLERS=org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl, org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION=1, tiles-definitions=/WEB-INF/tiles-defs.xml, org.apache.myfaces.ADD_RESOURCE_CLASS=org.apache.myfaces.component.html.util.StreamingAddResource, org.apache.myfaces.AUTO_SCROLL=false, org.apache.myfaces.COMPRESS_STATE_IN_SESSION=false, org.apache.myfaces.ALLOW_JAVASCRIPT=true, org.ajax4jsf.xmlparser.ORDER=NEKO, org.apache.myfaces.CHECK_EXTENSIONS_FILTER=false, javax.faces.STATE_SAVING_METHOD=server, org.apache.myfaces.SERIALIZE_STATE_IN_SESSION=false}
[2009-12-08 14:44:08,059] main [ INFO] [] cache.LRUMapCacheFactory createCache: Creating LRUMap cache instance of default capacity
Request:
[2009-12-08 14:45:17,492] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter: Filter start request processing at 08.12.09 14:45 for uri: /liti/faces/login.jsp
[2009-12-08 14:45:17,492] http-8080-1 [ WARN] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4 section of Servlets specification on how to achieve that.
[2009-12-08 14:45:17,492] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter handleRequest: Filter request output to XML
[2009-12-08 14:45:17,492] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter: XML filter service start processing request
[2009-12-08 14:45:19,461] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper service: TRACE ENTER: url:http://localhost:8080/liti/faces/login.jsp
[2009-12-08 14:45:19,524] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener beforePhase: Process before phase RESTORE_VIEW(1)
[2009-12-08 14:45:19,524] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener beforePhase: Perform additional framework initialization on first request
[2009-12-08 14:45:19,524] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener beforePhase: Set AjaxViewHandler on top of chain
[2009-12-08 14:45:19,524] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] application.AjaxViewHandler <init>: Create instance of Ajax ViewHandler
[2009-12-08 14:45:19,524] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] application.ViewHandlerWrapper fillChain: Create new instance of alternate handler class org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
[2009-12-08 14:45:19,664] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.InitPhaseListener afterPhase: Remove init phase listener from factories
[2009-12-08 14:45:19,664] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener afterPhase: Process after phase RESTORE_VIEW(1)
[2009-12-08 14:45:19,680] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] lifecycle.LifecycleImpl shouldRenderResponse: exiting from lifecycle.execute in RESTORE_VIEW(1) because getRenderResponse is true from one of the after listeners
[2009-12-08 14:45:19,680] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener beforePhase: Process before phase RENDER_RESPONSE(6)
[2009-12-08 14:45:19,680] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener beforePhase: PhaseListener enter Before RenderView Phase with ViewId /login.jsp and RenderKitId HTML_BASIC
[2009-12-08 14:45:19,758] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp: Ignored node '#text' of type 3
...
[2009-12-08 14:45:19,867] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webxml.WebXmlParser readWebApp: Ignored node '#text' of type 3
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getLongInitParameter: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getBooleanInitParameter: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig getStringInitParameter: No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource
[2009-12-08 14:45:19,867] http-8080-1 [ INFO] [D57992BA5C47A836C0EBE03C0224EB3B] config.MyfacesConfig createAndInitializeMyFacesConfig: Starting up Tomahawk on the MyFaces-JSF-Implementation
[2009-12-08 14:45:20,899] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl getDefinitionsFactory: JspTilesViewHandlerImpl init
[2009-12-08 14:45:20,899] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] jsp.JspTilesViewHandlerImpl getDefinitionsFactory: Reading tiles definitions
...
[2009-12-08 14:45:21,712] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.XmlDefinition resolveInheritance: Resolve definition for child name='/login.tiles' extends='.simpleLayout'.
[2009-12-08 14:45:21,727] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet createDefaultFactory: definitions={.simpleLayout={name=.simpleLayout, path=/WEB-INF/layout/simpleLayout.jsp, role=null, controller=null, controllerType=null, controllerInstance=null, attributes={content=/pages/empty.jsp, headDefinitions=, header=/WEB-INF/layout/header.jsp}}
...
[2009-12-08 14:45:21,758] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] xmlDefinition.I18nFactorySet initFactory: Factory initialized from file '/WEB-INF/tiles-defs.xml'.
[2009-12-08 14:45:26,228] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.FilterServletResponseWrapper getWriter: Create StringWriter for buffer servlet output
[2009-12-08 14:45:26,243] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] context.ViewResources processHeadResources: Process component tree for collect used scripts and styles
[2009-12-08 14:45:26,243] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:45:26,259] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase encode: Encode HTML for Resource with key [org/richfaces/renderkit/html/css/basic_classes.xcss]
[2009-12-08 14:45:26,259] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:45:26,259] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile: Start compile template from org/richfaces/renderkit/html/css/basic_classes.xcss
[2009-12-08 14:45:26,290] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile: Finish compilation template from org/richfaces/renderkit/html/css/basic_classes.xcss
[2009-12-08 14:45:26,306] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl getUri: Build URI for Resource with key [org/richfaces/renderkit/html/css/basic_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAELXT5DOhSIAQ!sA18_
[2009-12-08 14:45:26,306] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer encodeEnd: Mark in context Resource with key [org/richfaces/renderkit/html/css/basic_classes.xcss] as rendered
[2009-12-08 14:45:26,306] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase encode: Encode HTML for Resource with key [org/richfaces/renderkit/html/css/extended_classes.xcss] and attributes: {media=rich-extended-skinning}
[2009-12-08 14:45:26,306] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile: Start compile template from org/richfaces/renderkit/html/css/extended_classes.xcss
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] compiler.HtmlCompiler compile: Finish compilation template from org/richfaces/renderkit/html/css/extended_classes.xcss
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl getUri: Build URI for Resource with key [org/richfaces/renderkit/html/css/extended_classes.xcss] as : /liti/faces/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAELXT5DOhSIAQ!sA18_
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer encodeEnd: Mark in context Resource with key [org/richfaces/renderkit/html/css/extended_classes.xcss] as rendered
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBase encode: Encode HTML for Resource with key [org/richfaces/renderkit/html/scripts/skinning.js]
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.InternetResourceBuilder getInstance: Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@c9447
[2009-12-08 14:45:26,322] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.ResourceBuilderImpl getUri: Build URI for Resource with key [org/richfaces/renderkit/html/scripts/skinning.js] as : /liti/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/skinning.js
[2009-12-08 14:45:26,337] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] resource.OneTimeRenderer encodeEnd: Mark in context Resource with key [org/richfaces/renderkit/html/scripts/skinning.js] as rendered
[2009-12-08 14:45:26,337] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] event.AjaxPhaseListener afterPhase: Process after phase RENDER_RESPONSE(6)
[2009-12-08 14:45:26,337] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] servlets.FacesServletWrapper service: TRACE LEAVE:
[2009-12-08 14:45:26,337] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter: create HTML/XML parser for content type: text/html
[2009-12-08 14:45:26,369] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseXMLFilter doXmlFilter: Parsing html total time 32ms
[2009-12-08 14:45:26,369] http-8080-1 [DEBUG] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter doFilter: Finished request processing total time 8877ms for uri: /liti/faces/login.jsp
Michael
From: Michael Heinen [mailto:michael.heinen@recommind.com]
Sent: Dienstag, 8. Dezember 2009 15:14
To: MyFaces Discussion
Subject: pages not rendered anymore after update from 1.1.6 to 1.2.8
Hi,
I tried to update my webApp from myfaces 1.1.6, tomahawk 1.1.7 and richfaces 3.1.5 to JSF 1.2
After some problems the webapp finally started but no page is rendered anymore.
Instead of the pages I get only empty screens without any content at all!
I am still using Tiles1 (from struts1.1jar) in combination with jsps and not Facelets.
What I did:
1) Updated myFaces jars from 1.1.6 to 1.2.8 (api and impl)
2) updated tomahawk 1.1.7 to tomahawk12-1.1.9
3) removed tomhahawk sandbox 1.1.7
4) updated richfaces from 3.1.5 to 3.3.2 (api,impl and ui)
5) updated jstl-1.1.0.jar to jstl-1.2.jar and removed standard.jar
6) deleted work folder of the webApp
7) updated faces-config.xml: set version attribute of faces-config tag to version="1.2"
8) updated web.xml: set version attribute of web-app tag version="2.5"
I attached the initialization log and the request log with debugging output.
Initialization looks good from my point of view.
One suspicious line in the request.log:
[2009-12-08 14:45:17,492] http-8080-1 [ WARN] [D57992BA5C47A836C0EBE03C0224EB3B] webapp.BaseFilter checkMyFacesExtensionsFilter: MyFaces Extensions Filter should be configured to execute *AFTER* RichFaces filter. Refer to SRV.6.2.4 section of Servlets specification on how to achieve that.
The order of the filters in web.xml is not changed and Faces Extensions Filter IS AFTER richfaces filter
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
I don't know whether the problem is caused, by MyFaces, Richfaces, Tomhawk Tiles or whatever at the moment.
Any idea where to look at?
Michael