0 Replies Latest reply on Feb 20, 2002 12:24 PM by stonebat

    How to suppress the error message from ejbFindByPrimaryKey?

    stonebat

      Whenever the finder method cannot find the specified bean, I catch the exception, and process accordingly but don't rethrow the exception. BTW, FinderException is not system exception, but it does roll back the transaction(I guess ejbxxx methods start new transaction of their own, and roll back their own transaction, not the previous transaction.)

      Whenever the finder exception is thrown, the jboss prints the thread dump into its output console which is very annoying to debug and even makes the system to slow down. Is there any way to suppress this error message being printed out on the console?

      Thanks.