Nothing is written to the stack trace log.
I've enable logging in the
Java control panel and re-directed the standard error output to a file. I've tested the re-direct by forcing a null pointer exception. The null pointer exception is written to the file but, when I remove it from the code, nothing shows up in the log.
I have incorporated log4j logging in my app and have placed an error level logger statement in my addJobCode method. INFO and DEBUG level messages are written but no ERROR level messages are written to the log.
The only error message I receive is "Error on page" at the bottom of my browser window. The addJobCode method fails to add a new record to my database table.
BTW: Sorry about adding this post to the Object Relational Mapping forum. I meant to post it to a JSF forum.
The addJobCode method:
The XML for the rendered page which displays the error: