APAR status
Closed as program error.
Error description
After a registered shopper logs into the AuroraB2B store, Search REST requests fail with the following error: Caused by: java.lang.NoClassDefFoundError: com/ibm/commerce/context/objects/util/EJBLocalHomeFactory at com.ibm.commerce.component.contextserviceimpl.BusinessContextSer viceImpl.findActivityTokenById(BusinessContextServiceImpl.java:3 169) at com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa ndler.findActivityTokenById(CommerceTokenRequestHandler.java:417 9) at com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa ndler.isActivityTokenInCookieValid(CommerceTokenRequestHandler.j ava:4012) at com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa ndler.fetchCallbackHandlerFromUserSessionFallbackOnPersistentSes sion(CommerceTokenRequestHandler.java:3933) at com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa ndler.handleRequest(CommerceTokenRequestHandler.java:547) at com.ibm.commerce.foundation.server.services.rest.search.context. SolrRESTSearchCommerceTokenHelper.authenticateByTokensAndCookies InNonPreviewMode(SolrRESTSearchCommerceTokenHelper.java:168
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce Version 7 Feature Pack 8. PROBLEM ABSTRACT: NoClassDefFoundError for Search REST requests after shopper login BUSINESS IMPACT: Categories do not display after log on. RECOMMENDATION:
Problem conclusion
Added a condition to check whether the request is from Search. If yes, then skip the certain API which invokes EJB finding method.
Temporary fix
Comments
APAR Information
APAR number
JR59116
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-02-08
Closed date
2018-03-05
Last modified date
2018-03-05
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 EDITION
Fixed component ID
5724I3800
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce 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:
11 December 2021