254255256257258259260261262263264
structure.add("/" + resolveURI(webModule)); webApp.postLoad(structure); // refill structure with necessary information webApp.preBuild(structure); webApp.postBuild(structure); if (log.isDebugEnabled()) {
195196197198199200201202203204205
structure.add(portletApp); structure.add(path); try { webApp.postLoad(structure); webApp.preBuild(structure); webApp.postBuild(structure); } catch (Exception e) { throw (UnavailableException) new UnavailableException(e.getMessage()).initCause(e); } return portletApp;
200201202203204205206207208209210
structure.add(portletApp); structure.add(path); try { webApp.postLoad(structure); webApp.preBuild(structure); webApp.postBuild(structure); } catch (Exception e) { throw (UnavailableException) new UnavailableException("Problem: " + e.getMessage() + ". Context = " + contextName).initCause(e); } return portletApp;
273274275276277278279280281282283