geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: rev 47521 - geronimo/trunk/modules/naming/src/test/org/apache/geronimo/naming/java
Date Thu, 30 Sep 2004 00:04:39 GMT
Author: adc
Date: Wed Sep 29 17:04:38 2004
New Revision: 47521

Modified:
   geronimo/trunk/modules/naming/src/test/org/apache/geronimo/naming/java/ContextBuilderTest.java
Log:
Needed to provide the full object name.

Modified: geronimo/trunk/modules/naming/src/test/org/apache/geronimo/naming/java/ContextBuilderTest.java
==============================================================================
--- geronimo/trunk/modules/naming/src/test/org/apache/geronimo/naming/java/ContextBuilderTest.java
(original)
+++ geronimo/trunk/modules/naming/src/test/org/apache/geronimo/naming/java/ContextBuilderTest.java
Wed Sep 29 17:04:38 2004
@@ -117,7 +117,7 @@
         kernel.boot();
         try {
             assertEquals(kernel, Kernel.getKernel("test.kernel"));
-            ObjectName proxyFactoryName = ObjectName.getInstance(JMXReferenceFactory.BASE_ADMIN_OBJECT_NAME
+ "testAdminObject");
+            ObjectName proxyFactoryName = ObjectName.getInstance("geronimo.server:J2EEServer=geronimo"
+ JMXReferenceFactory.BASE_ADMIN_OBJECT_NAME + "testAdminObject");
             GBeanMBean gbean = new GBeanMBean(getGbeanInfo());
             gbean.setAttribute("Content", proxy);
             kernel.loadGBean(proxyFactoryName, gbean);

Mime
View raw message