geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r747892 - /geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
Date Wed, 25 Feb 2009 18:53:46 GMT
Author: jbohn
Date: Wed Feb 25 18:53:45 2009
New Revision: 747892

URL: http://svn.apache.org/viewvc?rev=747892&view=rev
Log:
fix the name used to lookup MEJB

Modified:
    geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java

Modified: geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java?rev=747892&r1=747891&r2=747892&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
(original)
+++ geronimo/server/branches/2.1/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
Wed Feb 25 18:53:45 2009
@@ -116,7 +116,7 @@
             p.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
             InitialContext ctx = new InitialContext(p);
 
-            ManagementHome mejbHome = (ManagementHome)ctx.lookup("ejb/mgmt/MEJBRemoteHome");
+            ManagementHome mejbHome = (ManagementHome)ctx.lookup("ejb/mgmt/MEJB");
             mejb = mejbHome.create();
             
             // save credentials



Mime
View raw message