Author: ips
Date: 2010-09-20 18:08:30 -0400 (Mon, 20 Sep 2010)
New Revision: 988
Modified:
branches/AdminConsole_EAP_5_1/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java
Log:
turn off per resource classloaders in the plugin container config at startup
Modified:
branches/AdminConsole_EAP_5_1/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java
===================================================================
---
branches/AdminConsole_EAP_5_1/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java 2010-09-20
22:07:36 UTC (rev 987)
+++
branches/AdminConsole_EAP_5_1/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java 2010-09-20
22:08:30 UTC (rev 988)
@@ -206,6 +206,11 @@
setPluginContainerDataDirectory(config);
config.setTemporaryDirectory(initTempDir());
config.setContentDiscoveryPeriod(0);
+
+ // This tells the PC not to ask the AS plugin for client jars. Since we're
running inside the AS JVM, all the
+ // jars we need are already in our classloader.
+ config.setCreateResourceClassloaders(false);
+
ServerServices services = new ServerServices();
// Create operation listener
Show replies by date