public void postConstruct() { removeSerializedSessions(serverEnvironment.getApplicationCompileJspPath()); }
env.getApplicationCompileJspPath(), J2EE_APPS); FileUtils.whack(oldJ2eeAppsJSPCompileDir); File oldJ2eeModulesJSPCompileDir = new File( env.getApplicationCompileJspPath(), J2EE_MODULES); FileUtils.whack(oldJ2eeModulesJSPCompileDir);
/** * Send requests to the client to remove the specified app directory * and all the generated directories. */ private void removeApp(Application app, File base, ModTime mt, Payload.Outbound payload) throws URISyntaxException { if (logger.isLoggable(Level.FINE)) logger.fine("ServerSynchronizer: removing files for application " + mt.name + " because it is no longer deployed to this instance"); try { File dir = fileOf(base, mt.name); removeDir(dir, payload); dir = env.getApplicationCompileJspPath(); removeDir(fileOf(dir, mt.name), payload); dir = env.getApplicationGeneratedXMLPath(); removeDir(fileOf(dir, mt.name), payload); dir = env.getApplicationEJBStubPath(); removeDir(fileOf(dir, mt.name), payload); dir = new File(env.getApplicationStubPath(), "policy"); removeDir(fileOf(dir, mt.name), payload); } catch (IOException ioex) { if (logger.isLoggable(Level.FINE)) { logger.fine("ServerSynchronizer: IOException removing app " + mt.name); logger.fine(ioex.toString()); } } }
gdir = env.getApplicationCompileJspPath(); attachAppDir(fileOf(gdir, mt.name), payload); gdir = env.getApplicationGeneratedXMLPath();
gdir = env.getApplicationCompileJspPath(); attachAppDir(fileOf(gdir, mt.name), payload); gdir = env.getApplicationGeneratedXMLPath();
/** * Send requests to the client to remove the specified app directory * and all the generated directories. */ private void removeApp(Application app, File base, ModTime mt, Payload.Outbound payload) throws URISyntaxException { logger.fine("ServerSynchronizer: removing files for application " + mt.name + " because it is no longer deployed to this instance"); try { File dir = fileOf(base, mt.name); removeDir(dir, payload); dir = env.getApplicationCompileJspPath(); removeDir(fileOf(dir, mt.name), payload); dir = env.getApplicationGeneratedXMLPath(); removeDir(fileOf(dir, mt.name), payload); dir = env.getApplicationEJBStubPath(); removeDir(fileOf(dir, mt.name), payload); dir = new File(env.getApplicationStubPath(), "policy"); removeDir(fileOf(dir, mt.name), payload); } catch (IOException ioex) { logger.fine("ServerSynchronizer: IOException removing app " + mt.name); logger.fine(ioex.toString()); } }
instance.getApplicationCompileJspPath().getAbsolutePath(); _modulesRoot = instance.getApplicationRepositoryPath();