Hi,
I am using WAS5.0 for a normal
EJB application and I am using log4j for logging of messages.
When i get a sql exception, I am wrapping it to a NewException and throwing it back to the web layer. I catch the NewException in my
servlet and print the stack trace in the servlet.
The problem is, the message "java.sql.SQLException: ORA....." message gets printed in a single line but the stack trace doesn't get printed in any of the log files. I tried to catch and print the exception in my web helper classes and it gets printed. But if I throw it back to the servlet for printing, it doesn't.
Please let me know where I am going wrong.
-