geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r514067 - in /geronimo/server/trunk: configs/jsr88-deploymentfactory/pom.xml modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
Date Sat, 03 Mar 2007 04:17:03 GMT
Author: gdamour
Date: Fri Mar  2 20:17:02 2007
New Revision: 514067

URL: http://svn.apache.org/viewvc?view=rev&rev=514067
Log:
Use the ClassLoader which has loaded DeploymentFactoryImpl as the ClassLoader
used for deserialization by JMXConnector

Modified:
    geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml
    geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java

Modified: geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml?view=diff&rev=514067&r1=514066&r2=514067
==============================================================================
--- geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml (original)
+++ geronimo/server/trunk/configs/jsr88-deploymentfactory/pom.xml Fri Mar  2 20:17:02 2007
@@ -92,29 +92,7 @@
                             <groupId>org.apache.geronimo.modules</groupId>
                             <artifactId>geronimo-kernel</artifactId>
                             <version>${version}</version>
-                        </element>
-                        <element>
-                            <groupId>org.apache.geronimo.modules</groupId>
-                            <artifactId>geronimo-common</artifactId>
-                            <version>${version}</version>
-                        </element>
-
-                        <element>
-                            <groupId>org.apache.geronimo.modules</groupId>
-                            <artifactId>geronimo-util</artifactId>
-                            <version>${version}</version>
-                        </element>
-
-                        <element>
-                            <groupId>org.apache.geronimo.modules</groupId>
-                            <artifactId>geronimo-system</artifactId>
-                            <version>${version}</version>
-                        </element>
-
-                        <element>
-                            <groupId>backport-util-concurrent</groupId>
-                            <artifactId>backport-util-concurrent</artifactId>
-                        </element>
+                        </element>
                         <element>
                             <groupId>org.apache.geronimo.modules</groupId>
                             <artifactId>geronimo-deploy-jsr88-bootstrapper</artifactId>

Modified: geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java?view=diff&rev=514067&r1=514066&r2=514067
==============================================================================
--- geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
(original)
+++ geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryImpl.java
Fri Mar  2 20:17:02 2007
@@ -154,6 +154,7 @@
         Map environment = new HashMap();
         String[] credentials = new String[]{username, password};
         environment.put(JMXConnector.CREDENTIALS, credentials);
+        environment.put(JMXConnectorFactory.DEFAULT_CLASS_LOADER, DeploymentFactoryImpl.class.getClassLoader());
         try {
             JMXServiceURL address = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://"+params.getHost()+":"+params.getPort()+"/JMXConnector");
             JMXConnector jmxConnector = JMXConnectorFactory.connect(address, environment);



Mime
View raw message