[jboss-cvs] JBossAS SVN: r65296 - trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/bean.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 11 11:17:20 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-09-11 11:17:20 -0400 (Tue, 11 Sep 2007)
New Revision: 65296

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/bean/SessionToEntityBean.java
Log:
Log access count mismatch

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/bean/SessionToEntityBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/bean/SessionToEntityBean.java	2007-09-11 15:15:17 UTC (rev 65295)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/bean/SessionToEntityBean.java	2007-09-11 15:17:20 UTC (rev 65296)
@@ -42,6 +42,9 @@
  */ 
 public class SessionToEntityBean implements SessionBean
 {
+   /** The serialVersionUID */
+   private static final long serialVersionUID = 1L;
+   
    private static Logger log = Logger.getLogger(SessionToEntityBean.class);
    private static VMID nodeID = new VMID();
 
@@ -136,11 +139,16 @@
    {
       return accessCount;
    }
+   
    public NodeAnswer validateAccessCount(int count)
       throws RemoteException
    {
       if( accessCount != count )
-         throw new RemoteException("AccessCount: " + accessCount + " != " + count);
+      {
+         String msg = "AccessCount: " + accessCount + " != " + count;
+         log.error(msg);
+         throw new RemoteException(msg);
+      }         
       
       int beanCount = 0;
       try




More information about the jboss-cvs-commits mailing list