Fix (APAR): JR26338 Status: Fix Release: 6.0.2.1 Operating System: AIX,HP-UX,Linux,Solaris,Windows Supersedes Fixes: CMVC Defect: xxxxxx Byte size of APAR: 47015 Date: 2007-06-17 Abstract: When do custom map, a variable is used as both source and target, duplicated variables are created in generated java class. It causes java compile error. Description/symptom of problem: JR26338 resolves the following problem: ERROR DESCRIPTION: In a custom map, if a variable is used in both the source and target, the generated map java code is incorrect. The java code will contain multiple declarations of an object using the same identifier such as Object Variable_attribute1 The following error will be seen in the Problems view: Duplicate field map1.Custom_1_Class.Variable_attribute LOCAL FIX: Avoid using a variable for both a source and target PROBLEM SUMMARY USERS AFFECTED: WebSphere Process Server 6.0.2 ServiceDeploy users and WebSphere Information Developer 6.0.2 users PROBLEM DESCRIPTION: When do custom map, a variable is used as both source and target, duplicated variables are created in generated java class. It causes java compile error. RECOMMENDATION: None Here is an example: Snippet of map defintion: System.out.println("custom"); Snippet of generated java class : protected class Custom_1_Class { private Object Bo1_attribute1 = null; private Object Variable_attribute1 = null; private Object Variable_attribute1 = null; ... There are duplicated variables "Variable_attribute1". PROBLEM CONCLUSION: The problem is resolved by the fix. Directions to apply fix: Before applying the iFix ensure that WebSphere Process Server 6.0.1 is installed on the system. Also download and follow Update Installer installation instructions. The Update Installer can be downloaded from the following link: http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991 1) Copy the pak file to the directory maintenance in the UpdateInstaller directory 2) Shutdown WebSphere Process Server. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 3) Run the UpdateInstaller and follow the prompts. 4) Restart WebSphere Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE REVERSE ORDER IN WHICH THEY WERE APPLIED. DO NOT REMOVE A FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, then fix2 may be removed 1) Shutdown WebSphere. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Shutdown WebSphere. It is important that you perform a controlled and complete shutdown of the server to ensure that all transactions have completed, before installing the fix. 2) Run the UpdateInstaller and follow the instructions. The Update Installer can be downloaded from the following link: http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991 3) Restart WebSphere Process Server Additional Information: