try {
appArchive = archiveFactory.openArchive(toJarURI(moduleArchive));
if(deploymentPlan != null && deploymentPlan.length() != 0) {
planArchive = archiveFactory.openArchive(toJarURI(deploymentPlan));
if (planArchive == null) {
throw new IllegalArgumentException(localStrings.getLocalString(
"enterprise.deployapi.spi.noarchivisthandlesplan",
"No archivist is able to handle the deployment plan {0}",
new Object [] {deploymentPlan.getAbsolutePath()}