-
1. Re: catch container exception
adrian.brock Oct 7, 2003 5:37 PM (in response to cjz002)No standard mechanism.
You could write your own interceptor, see the log interceptor
that turns exceptions into the EJB spec specified exceptions.
Regards,
Adrian -
2. Re: catch container exception
cjz002 Oct 8, 2003 8:58 AM (in response to cjz002)Thanks for your reply. Another question is if the DB is disconnectioned, and the JBoss container detect an exception and would be able to recover from the network disconnection, but when exactly the container be able to detect the error, is it as soon as the the network is down, or when an operation to access DB is performed.
Thanks,
-jz -
3. Re: catch container exception
adrian.brock Oct 9, 2003 6:20 AM (in response to cjz002)New Question == New Topic
Please try to investigate things yourself rather getting everybody
else to do your work.
Regards,
Adrian -
4. Re: catch container exception
cjz002 Oct 9, 2003 8:41 AM (in response to cjz002)Thanks. I think I found the answer. The container does not detect the db disconnection without any operaiton, but JMS will detect it.
Just wanted to confirm with the experts out there.
Thanks,
-jz