Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries from April 3rd, 2009

Debugging Seam applications

April 3rd, 2009 No Comments

Seam provides two different pages that can be useful for debugging applications.  The Facelets Debug page which shows page-rendering errors, and the Seam Debug page which shows any uncaught application exceptions.
Enable the Facelets Debug Page:
In web.xml you set Facelets to development mode.
WEB-INF/web.xml
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
The Facelets debug page gives you the line number in [...]

Tags:   ·

Adding Facelets and Seam UI to your application

April 2nd, 2009 No Comments

It’s generally recommended in seam applications that Facelets be used instead of JSP.  JSP pages are processed by the JSP container at the same time as they’re processed by the JSF engine which can cause conflicts.  Performance is also improved when the JSP engine isn’t used.  Facelets is a templating framework that also gives access [...]

Tags:   ·

Alfresco errors

April 1st, 2009 1 Comment

Index Errors or The store ‘avm://sitestore’ has a duplicate root node entry:
Whoops, you’ve inadvertently done something Very Bad to your Alfresco install and the application throws a fit about the indexes when you try to start it up.  There’s a problem with the database data and the lucene indexes being out of synch.
To solve this [...]

Tags: