This content has been marked as final.
Show 2 replies
-
1. Re: How to find out what is behind a transaction Exception?
adrian.brock Nov 2, 2002 8:23 AM (in response to soeiro)server/default/log/server.log
You change the logging in
server/default/conf/log4j.xml
Regards,
Adrian -
2. Re: How to find out what is behind a transaction Exception?
soeiro Nov 4, 2002 2:44 PM (in response to soeiro)Adrian
I've already set the logging mode to TRACE and I've also enabled it to the transaction and sql related trees. I can see all SQL code, beginning and ending of transaction and so forth. However, there is no further message than "SQL Error". It would be nice to know a little more, for example, the original DB error message.
I also would like to know what bean caused an EJB-QL error. We have to go trhough all finder methods in all beans whenever something cames up. Is there any easier way to do it (for exemple, enabling some kind of information to the error location in the XML file).
Thanks y'all for your help,
Luís JB