[jboss-cvs] JBossAS SVN: r66634 - branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 31 18:12:36 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-10-31 18:12:36 -0400 (Wed, 31 Oct 2007)
New Revision: 66634
Modified:
branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java
Log:
Minor logging, exception msg improvements
Modified: branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java
===================================================================
--- branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java 2007-10-31 21:09:11 UTC (rev 66633)
+++ branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java 2007-10-31 22:12:36 UTC (rev 66634)
@@ -1019,15 +1019,14 @@
}
catch (Exception exn)
{
- exn.printStackTrace();
+ log_.error("Problem rolling back session mgmt transaction", exn);
}
// We will need to alert Tomcat of this exception.
if (ex instanceof RuntimeException)
throw (RuntimeException) ex;
- throw new RuntimeException("loadSession(): failed to load session " +
- realId, ex);
+ throw new RuntimeException("Failed to load session " + realId, ex);
}
finally
{
More information about the jboss-cvs-commits
mailing list