-
Task
-
Resolution: Done
-
Major
-
JBossAS-5.0.0.CR1, JBossAS-4.2.3.GA
-
None
When org.jboss.tm.usertx.client.ClientUserTransaction encounters exceptions,
it should at least log them at debug level, otherwise important cause exceptions
and stacktraces are lost. So, code like this:
catch (RemoteException e)
{ // destroy session gone bad. destroySession(); throw new SystemException(e.toString()); }catch (Exception e)
{ throw new SystemException(e.toString()); }Should become:
catch (RemoteException e)
{ // destroy session gone bad. destroySession(); log.debug("Remote exception encountered while....", e); throw new SystemException(e.toString()); }catch (Exception e)
{ log.debug("Exception encountered while...", e); throw new SystemException(e.toString()); }- is incorporated by
-
JBPAPP-1245 JBAS-5963 - ClientUserTransaction should log cause exceptions
- Resolved