//////////////////////////////
protected static BundleDescriptor getDescrForStandAloneExtensionModule(
String moduleName) throws ServerInstanceException {
try {
J2EEModule j2eeModule = new J2EEModule(moduleName);
ExtensionModuleConfigManager manager = PluggableDeploymentInfo.getExtensionModuleDeployer(
j2eeModule.getModuleType()).getConfigManager();
BundleDescriptor desc = (BundleDescriptor)manager.getRegisteredExtensionDescriptor(moduleName);
if (desc == null) {
Application app = manager.getExtensionDescriptor(moduleName,
manager.getLocation(moduleName), true);