Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
01. Apr 2008, 19:54 CET | Link

Hello Community,

I want to desable Seam debug page, I tried to set debug to false but doesn't work:


<core:init debug="false" />

How to desable debug page?

Thanks,

 

Marcos Sousa marcossousa.com Enjoy it!

3 Replies:
01. Apr 2008, 20:56 CET | Link

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.

05. Apr 2008, 17:34 CET | Link

Remove jboss-seam-debug.jar from your deployed archive as well.

 

Read about how to report a bug.

06. Apr 2008, 02:29 CET | Link
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>
 

Marcos Sousa marcossousa.com Enjoy it!