hi,
In my application using
JBoss 4.2.1-GA, I have used JSF+trinidad tag library for view and JPA+EJB 3.0 for the business logic. On persisting an entity into the DB using entity manager I got an exception - java.sql.BatchUpdateException. The stack trace is available in <JBOSS_HOME>/server/default/log/server.log.
I want to set up my own log file in<JBOSS_HOME>/bin. For this I set an error.jsp file with isError attribute true in the page.
This provided me with the implicit exception object. But when I used it to log the stack trace, it provided me with only the stack trace of the FacesException.The rest of the exceptions were not logged into my file.
How can I provide all the exception stack traces that were available in jboss server's log file to my own log file??
Thanks,
Dushyant
[ November 27, 2008: Message edited by: Dushyant Agarwal ]