// load the web.xml
log.info("Loading web.xml into memory...."
+ portletApplicationName);
MutableWebApplication webapp = paWar.createWebApp();
paWar.validate();
app.setWebApplicationDefinition(webapp);
// save it to the registry
log.info("Saving the portlet.xml in the registry..."
+ portletApplicationName);