APAR status
Closed as program error.
Error description
Error Message: User can get different error messages . Stack Trace: User can expect different stack traces based on the application context. An example from a portal application failure is shown below. C:\IBM\WebSphere\wp_profile\PortalServer\pzn\pzntest\config\incl udes\pzntest_cfg.xml:366: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) at com.ibm.wps.config.tasks.JavaEmptyInputStringTask.execute(JavaEm ptyInputStringTask.java:16) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1 216) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(S ingleCheckExecutor.java:37) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java :107) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1 216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Defau ltExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.Main.start(Main.java:150) at com.ibm.wps.config.ConfigEngine.process(ConfigEngine.java:932) at com.ibm.wps.config.ConfigEngine.main(ConfigEngine.java:219) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:274) . This problem can show different symptoms based on the application context. If the failure is related to HttpURLConnection property, check whether more than one value is added in the property field.
Local fix
Problem summary
The problem is caused because the HttpURLConnection.setRequestProperty API appended the new value to the existing value of the property rather than overwriting the existing value with the new value
Problem conclusion
This defect will be fixed in: 6.0.0 SR10 FP1 6.0.1 SR2 . The JDK has been updated to modify the setRequestProperty API in HttpURLConnection class to overwrite the value of property instead of adding/appending the value.
Temporary fix
Comments
APAR Information
APAR number
IV17993
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-03-20
Closed date
2012-03-20
Last modified date
2012-04-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
20 April 2012