This content has been marked as final.
Show 1 reply
-
1. Re: WorkManager RuntimeExceptions lost
adrian.brock Jun 28, 2007 2:40 PM (in response to georgesberscheid)They're not lost, but you need to implement a WorkListener if you are scheduling work
to find out what how the work ended, including any exception that can be found in
the WorkEvent.
http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/work/WorkListener.html#workCompleted(javax.resource.spi.work.WorkEvent)
And in fact, the exception is logged (at TRACE level) before invoking the listener,
see org.jboss.resource.connectionmanager.work.WorkWrapper.completed()