[jboss-cvs] JBoss Messaging SVN: r2297 - trunk/tests/src/org/jboss/test/messaging/tools/jmx.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 13 09:41:37 EST 2007


Author: timfox
Date: 2007-02-13 09:41:37 -0500 (Tue, 13 Feb 2007)
New Revision: 2297

Modified:
   trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
Log:
More tweaks for postgres tx issue



Modified: trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java	2007-02-13 14:23:35 UTC (rev 2296)
+++ trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java	2007-02-13 14:41:37 UTC (rev 2297)
@@ -1468,6 +1468,8 @@
             
             conn = ds.getConnection();
             
+            log.debug("Dropping table:" + statement);
+            
             PreparedStatement ps = conn.prepareStatement(statement);
       
             ps.executeUpdate();
@@ -1479,6 +1481,7 @@
          catch (SQLException e)
          {
             //Ignore
+            log.debug("Failed to drop table:", e);
             exception = true;
          }
       }
@@ -1516,19 +1519,19 @@
 
       javax.transaction.Transaction txOld = mgr.suspend();
                   
-      executeStatement(mgr, ds, "JBM_POSTOFFICE");
+      executeStatement(mgr, ds, "DROP TABLE JBM_POSTOFFICE");
       
-      executeStatement(mgr, ds, "JBM_MSG_REF");
+      executeStatement(mgr, ds, "DROP TABLE JBM_MSG_REF");
 
-      executeStatement(mgr, ds, "JBM_MSG");
+      executeStatement(mgr, ds, "DROP TABLE JBM_MSG");
      
-      executeStatement(mgr, ds, "JBM_TX");
+      executeStatement(mgr, ds, "DROP TABLE JBM_TX");
       
-      executeStatement(mgr, ds, "JBM_COUNTER");
+      executeStatement(mgr, ds, "DROP TABLE JBM_COUNTER");
       
-      executeStatement(mgr, ds, "JBM_USER");
+      executeStatement(mgr, ds, "DROP TABLE JBM_USER");
       
-      executeStatement(mgr, ds, "JBM_ROLE");
+      executeStatement(mgr, ds, "DROP TABLE JBM_ROLE");
       
       if (txOld != null)
       {




More information about the jboss-cvs-commits mailing list