-
1. Re: Desabling debug page
dipas Apr 1, 2008 8:56 PM (in response to mcsous)Hi Marcos
in components.xml
<core:init debug="true" jndi-pattern="myApp/#{ejbName}/local"/>
and if you work with Facelets then configure for production mode in web.xml:
<context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>false</param-value> </context-param>
and of course in pages.xml you have to define all Exceptions.
see chapter 5.3.2 of reference guide.
-
2. Re: Desabling debug page
pmuir Apr 5, 2008 5:34 PM (in response to mcsous)Remove jboss-seam-debug.jar from your deployed archive as well.
-
3. Re: Desabling debug page
mcsous Apr 6, 2008 2:29 AM (in response to mcsous)
Pete Muir wrote on Apr 05, 2008 05:34 PM:
Remove jboss-seam-debug.jar from your deployed archive as well.I don't have this Jar in my classpath. I just have: jboss-seam.jar, jboss-seam-ioc.jar and jboss-seam-ui.jar integrated with Spring 2.5 and Hibernate.
Is it possible to get the exception stack trace to send to my page using seam exception handers? Because I've page that give the option to the user to send a e-mail to support wich the exception's trace.
<exception class="java.lang.Exception"> <end-conversation/> <redirect view-id="/error.jsp"> <message>Database access failed</message> </redirect> </exception>
-
4. Re: Desabling debug page
peduardo Jan 21, 2009 7:42 PM (in response to mcsous)Hellow,
i don't wanna desable seam debug page but i want change this page and put page that i created and throw exceptions on this page.
Somebody know how to?