Author: ips
Date: 2010-09-20 18:07:36 -0400 (Mon, 20 Sep 2010)
New Revision: 987
Modified:
trunk/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: trunk/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java 2010-09-20
17:48:29 UTC (rev 986)
+++ trunk/core/src/main/java/org/jboss/on/embedded/ui/BootstrapAction.java 2010-09-20
22:07:36 UTC (rev 987)
@@ -216,6 +216,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