PQ52957: REMOVEATTRIBUTE METHOD IS THROWING ILLEGALARGUMENTEXCEPTION WHEN USED.

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
The class org.apache.jasper.runtime.PageContextImpl
is throwing an IllegalArgumentException when the
RemoveAttribute method is invoked.
WebSphere Application Server Version 4.0 on OS/390 and z/OS
does not currently support this call.
This support needs to be added to be consistent with
WebSphere on other platforms.
ADDITIONAL KEYWORDS:  Illegal Argument Exception
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V4.0 for z/OS and OS/390 who use the J2EE    *
*                 Server Web container and all users of        *
*                 WebSphere Application Server V3.5 and V4.0   *
*                 plug-in for OS/390 and z/OS who use Apache   *
*                 Struts based Web applications.               *
****************************************************************
* PROBLEM DESCRIPTION: PageContextImpl class in the jsp.jar    *
*                      package distributed with WebSphere      *
*                      V4.0 throws an IllegalArgumentException *
*                      when the RemoveAttribute() method is    *
*                      invoked with scope REQUEST.             *
*                      PageContextImpl class in the            *
*                      ibmwebas.jar package distributed with   *
*                      WebSphere V3.5 and V4.0 plug-in throws  *
*                      an IllegalArgumentException when the    *
*                      RemoveAttribute()method is invoked with *
*                      scope REQUEST.                          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
PageContextImpl class in the jsp.jar package distributed with
WebSphere V4.0 always throws an IllegalArgumentException when
the RemoveAttribute()method is invoked with scope REQUEST.
PageContextImpl class in the ibmwebas.jar package distributed
with WebSphere V3.5 and V4.0 plug-in always throws an
IllegalArgumentException when the RemoveAttribute()method is
invoked with scope REQUEST.
Problem conclusion
PageContextImpl class from jsp.jar was moved to waswebccp.jar
and changed to invoke the method request.removeAttribute()
instead of throwing an IllegalArgumentException when the
RemoveAttribute() method is invoked with scope REQUEST. This
V4.0 change in the servlet engine matches a change made to the
class file in jsp.jar for WebSphere for the distributed
platforms.

In Version 3.5 and Version 4.0 plug-in, PageContextImpl class
in ibmwebas.jar was changed to invoke the method
request.removeAttribute() instead of throwing an
IllegalArgumentException when the RemoveAttribute() method is
invoked with scope REQUEST.

The following COMPIDs are affected by these changes:

5655A9800 R350 on OS/390
5655A9800 R400 on OS/390 and z/OS.

The code changes are stored in CMVC under defects PQ52957
78555, and 78786.

350Y
400Y
EJSJWBJR
EJSJWCWC

* Cross Reference between External and Internal Names
Temporary fix Comments
 Updated closing text to include defect 78786.
APAR information
APAR number PQ52957
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-10-01
Closed date 2001-10-25
Last modified date 2001-12-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJSJWBJR EJSJWCWC        

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels
R350 PSY UQ59265    UP01/11/09 P F111
R400 PSY UQ59266    UP01/11/09 P F111

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ52957
IBM Group: Software Group
Modified date: Dec 3, 2001