APAR status
Closed as program error.
Error description
When SEO URL Keywords are modified, any incoming request for the old URL is automatically redirected to the new URL. But when the new keywords are exactly same as the old keywords, the redirect logic goes into an infinite loop and the thread eventually times out. Trace files will include exceptions similar to the following message: TimeoutManage I WTRN0124I: When the timeout occurred the thread with which the transaction is, or was most recently, associated was Thread[WebContainer : 16,5,main]. The stack trace of this thread when the timeout occurred was: java.util.Collections.replaceAll(Collections.java:2027) at com.ibm.commerce.seo.redirect.RedirectEngine.remapURL(RedirectEn gine.java:232) at com.ibm.commerce.seo.redirect.RedirectEngine.getRedirectURL(Redi rectEngine.java:97)
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce V7 Feature Pack 6 or later. PROBLEM ABSTRACT: SEO URL redirect causes an infinite loop and a timeout error occurs BUSINESS IMPACT: CPU runs at high utilization and server response will become slow and eventually server goes down. When the server goes down, shoppers cannot access the store. RECOMMENDATION:
Problem conclusion
RedirectEngine.remapURL method was modified to check that the new keyword does not equal the old keyword before calling the java.util.Collections.replaceAll method: if (newKeyword != null && !newKeyword.equals(originalKeyword)) { Collections.replaceAll(urlTokens, originalKeyword, newKeyword); }
Temporary fix
Comments
APAR Information
APAR number
JR53177
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-21
Closed date
2015-06-03
Last modified date
2015-06-08
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