[jboss-user] [JCA/JBoss] - Re: WorkManager RuntimeExceptions lost

adrian@jboss.org do-not-reply at jboss.com
Thu Jun 28 14:40:49 EDT 2007


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()

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058893#4058893

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058893



More information about the jboss-user mailing list