This content has been marked as final.
Show 4 replies
-
1. Re: How NOT to log an exception in the log file
amitev Jan 28, 2009 5:40 PM (in response to amitev)P.S. I have set the debug to false in components.xml
-
2. Re: How NOT to log an exception in the log file
tszpinda Oct 3, 2009 3:02 PM (in response to amitev)I have the same problem, keep getting this:
2009-10-03 13:38:18,807 WARN [org.jboss.seam.web.ExceptionFilter] handling uncaught exception javax.servlet.ServletException: viewId:/home.seam - View /home.seam could not be restored. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
even if I have:
<exception class="javax.faces.application.ViewExpiredException" log="false"> <redirect view-id="/home.xhtml"> <message> Your session has timed out, please login again! </message> </redirect> </exception>
in my code, did you manage to solve the problem?
Thanks
Tomek -
3. Re: How NOT to log an exception in the log file
cosmo Oct 5, 2009 3:19 PM (in response to amitev)May be is a log4j issue. Did you check jboss-log4j.xml or equivalent?
-
4. Re: How NOT to log an exception in the log file
mader Oct 29, 2013 12:20 PM (in response to amitev)In SEAM framework "It Just Don't Work" is normal. Get used to it. I know one workaround, if you use JBoss 5.x:
Edit file <JBOSS_HOME>\server\your_project\conf\jboss-log4j.xml and add these lines somewhere inside <log4j:configuration> at end:
<!-- Suppress ViewExpiredException spam. Hopefully it will not hide other potentially important page errors. -->
<category name="org.apache.catalina.core.ContainerBase">
<priority value="FATAL" />
</category>