PQ96544: JASPEREXCEPTION: JSPG0077E: CAN'T FIND A METHOD TO WRITE PROPERTY X IN A BEAN OF TYPE Y | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description Users may see the above error when running the Petstore application, or under certain circumstances when running their own applications and using custom taglibs. The error comes about when a JSP using a custom tag supplies an argument during the tag creation to the managing Java class as a String object, but the managing class returns that argument (such as in a getxxx method) as a different object type (such as an int). In Petstore, the error is exposed by the following code: In the JSP after a custom tag with the prefix j2ee is declared: <j2ee:productList numItems="4" ...> . And in the custom tag's code: . public int getNumItems() { ... Note that the variable numItems is given as a String object, but the code returns the object as an int.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users on * * 4.0.7 using Petstore sample. * **************************************************************** * PROBLEM DESCRIPTION: Petstore inventory not shown. * **************************************************************** * RECOMMENDATION: * **************************************************************** Petstore tag library types do not match, causing errors on newer JVMs. The result is that the Petstore inventory is not shown.Problem conclusion Petstore tag library classes have been updated to remove the confilict. This fix is available via iFix PQ96544.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: PQ90718 APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ96544
IBM Group: Software Group
Modified date: Nov 9, 2004
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.