Index: core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java =================================================================== --- core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java (revision 51809) +++ core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java (working copy) @@ -251,6 +251,7 @@ final String appName = commandParams.name(); if (commandParams.origin == OpsParams.Origin.deploy && + (commandParams.type == null || !(commandParams.type.equals("osgi"))) && appRegistry.get(appName) != null) { report.setMessage(localStrings.getLocalString("appnamenotunique","Application name {0} is already in use. Please pick a different name.", appName)); report.setActionExitCode(ActionReport.ExitCode.FAILURE);