IBM Support wp_profile task may fail with message "Duplicate target 'localize-clone'"

Technote (troubleshooting)

Problem wp_profile task may fail with message "Duplicate target 'localize-clone'"


You may see this error when running task
[exec] .../PortalServer/installer/wp.profile/config/includes/localize_clone.xml:20: Duplicate target 'localize-clone'
[exec] Total time: 0 seconds
[exec] java.lang.NullPointerException
[exec] at java.util.StringTokenizer.<init>(
[exec] at java.util.StringTokenizer.<init>(
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at


The reason for the 'Duplicate' exception may be due to a download of the 61X Portal cloning files at some previous point. The Portal cloning tasks were incorporated into Portal 7 and so already exist in the binary installation.

Diagnosing the problem

This can typically occur when you migrate Portal v6.1/WAS 7 to Portal7/WAS 7 and copy the profile and might have extracted the localize-clone scripts into the ConfigEngine directory. In Portal 7, localize-clone was actually included in the product, so this can cause a conflict.

Resolving the problem

If this is the case, you need to install the Portal 7 environment to use the same WAS binaries as the Portal v6.1 environment:

So you do not copy the profile at all.

Document information

More support for: WebSphere Portal

Software version: 7.0

Operating system(s): AIX, Linux, Solaris, Windows

Software edition: Enable, Extend, Server

Reference #: 1617929

Modified date: 06 January 2015

Translate this page: