WLS Console Deployment Fails With "An application with this name already exists" for multiple library versions (Doc ID 1504389.1)

Last updated on DECEMBER 15, 2016

Applies to:

Oracle WebLogic Server - Version 11.1.1.5.0 to 12.1.1.0 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

On WebLogic 10.3.5 onwards, when attempting to deploy multiple versions of the same library using the Administration Console, the process gets canceled with this error message:

This issue happens only with the Administration console and will not be rediscovered if an alternative deployment procedure is used (like the weblogic.deployer). To reproduce the problem, just deploy a new version of a given library or follow these detailed steps.

  1. Deploy the "n" version of a library using the Administration Console.
    1. Go to the Deployments section of the Admin Console and click on Install.
    2. For the "Choose targeting style" phase, select "Install this deployment as a library."
    3. For the "Optional Settings" phase, you could leave the default option for Source accessibility or select "copy the application onto every target."
    4. Click on Next.
    5. Finish the process.
  2. Create a copy of the library WAR file previously used.
    1. Modify the MANIFEST.MF file included in META-INF directory for the library WAR file by incrementing the Implementation-Version tag from "n" to "n+1"
    2. Library file gets updated.
  3. Perform the same deployment process for the "n+1" library.
    1. Repeat deployment tasks described in step 1.
    2. Deployment fails on step 1d.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms