Direct link to fix
APAR status
Closed as program error.
Error description
When activating a databean via the DataBeanManager, WebSphere Commerce will execute a level of Access Control to ensure that the user who is on the JSP has access to view the data that is associated to the DataBean.\line \line While attempting to activate the TickerReasonDataBean, the access control check results in an error, as the TickerReasonDataBean was not coded correctly to be protected via Access Control.\line \line The following is an example of the error you would see in the SystemOut.log\line \line [3/12/13 20:20:36:354 EDT] 00000095 CommerceSrvr E DataBeanManager directActivate(DataBean,CommandContext) CMN0409E: The following error occurred during processing: "com.ibm.commerce.tickler.beans.TicklerReasonDataBean". java.lang.ClassCastException: com.ibm.commerce.tickler.objects._TicklerReason_Stub incompatible with com.ibm.commerce.security.Protectable\line \tab \tab at com.ibm.commerce.tickler.beansrc.TicklerReasonDataBeanBase.getDe legate(TicklerReasonDataBeanBase.java:41)\line \tab \tab at com.ibm.commerce.beans.DataBeanManager.directActivate(DataBeanMa nager.java:518)\line \tab \tab at com.ibm.commerce.beans.DataBeanManager.activate(DataBeanManager. java:279)\line \tab \tab at com.ibm.commerce.beans.DataBeanManager.activate(DataBeanManager. java:467)\line \tab \tab at com.ibm.commerce.taglibs.base.tag.UseBean.doEndTag(UseBean.java: 99)
Local fix
Problem summary
USERS AFFECTED: Users who have written a JSP that uses the TicklerReasonDataBean to display tickler information to it's users. PROBLEM ABSTRACT: While trying to activate the TickerReasonDataBean via a JSP using the DataBeanManager, it will throw a ClassCastException. BUSINESS IMPACT: Users might not be able to see the required data on the JSP that uses this DataBean due to the error. RECOMMENDATION:
Problem conclusion
icklerReasonDataBean was originally setup to be directly protected, in which case it required to implement the Protectable interface. The code has been updated so that this error no longer happens during the Access Control check, as it will correctly return an object which implements the required interface. ------------------------------------------------------------- The latest available maintenance information can be obtained from the Recommended Fixes for WebSphere Commerce technote: http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
Temporary fix
Comments
APAR Information
APAR number
JR46255
Reported component name
WC BUS DEV ED W
Reported component ID
5724I3900
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-08
Closed date
2013-06-06
Last modified date
2013-06-06
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
WC BUS DEV ED W
Fixed component ID
5724I3900
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
07 December 2021