[jboss-cvs] JBoss Messaging SVN: r3574 - branches/Branch_Stable/tests/src/org/jboss/test/messaging/tools/container.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 16 05:55:26 EST 2008


Author: ataylor
Date: 2008-01-16 05:55:26 -0500 (Wed, 16 Jan 2008)
New Revision: 3574

Modified:
   branches/Branch_Stable/tests/src/org/jboss/test/messaging/tools/container/LocalTestServer.java
Log:
fixes for tests for sexuritystore config changes

Modified: branches/Branch_Stable/tests/src/org/jboss/test/messaging/tools/container/LocalTestServer.java
===================================================================
--- branches/Branch_Stable/tests/src/org/jboss/test/messaging/tools/container/LocalTestServer.java	2008-01-16 10:38:35 UTC (rev 3573)
+++ branches/Branch_Stable/tests/src/org/jboss/test/messaging/tools/container/LocalTestServer.java	2008-01-16 10:55:26 UTC (rev 3574)
@@ -39,6 +39,7 @@
 import javax.jms.Destination;
 import javax.jms.Queue;
 import javax.jms.Topic;
+import javax.management.Attribute;
 import javax.management.NotificationListener;
 import javax.management.ObjectName;
 import javax.transaction.UserTransaction;
@@ -344,7 +345,7 @@
          toStop.add(serverPeerObjectName);
          sc.invoke(serverPeerObjectName, "create", new Object[0], new String[0]);
          sc.invoke(serverPeerObjectName, "start", new Object[0], new String[0]);
-         
+         sc.getMBeanServer().setAttribute(serverPeerObjectName, new Attribute("SecurityStore", sc.startSecurityStore()));
 
          MBeanConfigurationElement postOfficeConfig =
             ServiceConfigHelper.getServiceConfiguration(pdd, "PostOffice");




More information about the jboss-cvs-commits mailing list