eFix (APAR): PQ58795 Status: eFix For Release: WebSphere 4.0.2 For Operating System: all CMVC defect: PQ58795 Required eFixes: NONE Included eFixes: PQ53588 CAUSES AN OBJECT/STRING CONVERSION PROBLEM IN JSP TAG LIBRARY EXTENSION Byte size of APAR: 867,392 bytes Date: 04/12/2002 Abstract: AN EMPTY STRING AS THE ATTRIBUTE VALUE FOR A CUSTOM TAG CAUSES A "UNABLE TO CONVERT TO STRING" MESSAGE ON BROWSER Description/symptom of problem: Customer has created custom tags, in a .tld file. In a jsp, an empty string value is used as the attribute value of a custom tag. This causes the message JSP error unable to convert to string class name ={attribute type} attribute = {attribute name} to be displayed on the browser. The is on WAS 4.0.2 with APAR PQ57258 applied. On WAS 4.0.2 without PQ57258, the result is java.lang.Error: Fatal Error: missing resource. Directions to apply efix: 1) Create temporary "efix" directory to store the zip/tar file: AIX: /tmp/WebSphere/efix Solaris/Linux: /tmp/WebSphere/efix Windows: c:\temp\WebSphere\efix 2) Copy jar file to the directory 3) Shutdown WebSphere 4) Run the jar file with the following command answering questions/prompts as they appear: java -jar PQ58795_eFix_AEServer_AEsServer.jar 5) Restart WebSphere 6) The temp directory may be removed but the zip/tar file should be saved. Do not remove any files created and stored in the /WebSphere/AppServer/efix/PQ58795 directories. These files are required if an efix is to be removed. Directions to remove an efix: NOTE: EFIXES MUST BE REMOVED IN THE ORDER THEY WERE APPLIED. DO NOT REMOVE AN EFIX UNLESS ALL EFIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED EFIX. Example: If your system has efix1, efix2, and efix3 applied in that order and efix2 is to be removed, efix3 must be removed first, efix2 removed, and efix3 re-applied. 1) Change directory to the efix location (/WebSphere/AppServer/efix/PQ58795). 2) Shutdown WebSphere 3) Run the backup jar file with the following command: java -jar PQ58795_eFix_AEServer_AEsServer.jar 4) Restart WebSphere 5) To enable view the additional information provided below. Directions to re-apply an efix: Follow the instructions for applying an efix. If the backup files still exist (from the previous efix application), you will be prompted to overwrite. Answer "yes" at the overwrite prompts.