geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r331824 - /geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java
Date Tue, 08 Nov 2005 14:04:30 GMT
Author: sppatel
Date: Tue Nov  8 06:04:25 2005
New Revision: 331824

URL: http://svn.apache.org/viewcvs?rev=331824&view=rev
Log:
cleanup unused map entries

Modified:
    geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java

Modified: geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java?rev=331824&r1=331823&r2=331824&view=diff
==============================================================================
--- geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java
(original)
+++ geronimo/trunk/modules/deploy-tool/src/java/org/apache/geronimo/deployment/cli/StopServer.java
Tue Nov  8 06:04:25 2005
@@ -140,9 +140,6 @@
 	public Kernel getRunningKernel() {
 		Map map = new HashMap();
 		map.put("jmx.remote.credentials", new String[] { user, password });
-		map.put(Context.INITIAL_CONTEXT_FACTORY,
-				"com.sun.jndi.rmi.registry.RegistryContextFactory");
-		map.put(Context.PROVIDER_URL, "rmi://localhost:" + port);
 		Kernel kernel = null;
 		try {
 			JMXServiceURL address = new JMXServiceURL(



Mime
View raw message