APAR status
Closed as program error.
Error description
During preprocess, you might encounter an exception similar to the following message: [2017/09/07 21:21:50:970 UTC] I File name: /opt/IBM/WebSphere/CommerceServer80/instances/<instancename>/sea rch/pre-processConfig/MC_10251/DB2/wc-dataimport-preprocess-full build.xml java.lang.NumberFormatException: For input string: "A" at java.lang.NumberFormatException.forInputString(NumberFormatExcep tion.java:76) at java.lang.Long.parseLong(Long.java:452) at java.lang.Long.parseLong(Long.java:494) at com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreP rocessorMain.getIndexScopeByIndexType(DataImportPreProcessorMain .java:2362) at com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreP rocessorMain.processDataConfig(DataImportPreProcessorMain.java:1 379) at com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreP rocessorMain.execute(DataImportPreProcessorMain.java:1108) at com.ibm.commerce.foundation.dataimport.preprocess.DataImportPreP rocessorMain.main(DataImportPreProcessorMain.java:516) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:88) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:613) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280) [2017/09/07 21:21:50:990 UTC] I Table name: TI_CATENTRY_A Fetch size: 500 Batch size: 500 As you can see, the index scope tag is usually a number, like TI_CATENTRY_0. Due to having many Solr cores created, setupSearchindex created a new scope as 'A', which causes the preprocess exception.
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce Version 8 Mod Pack 4. PROBLEM ABSTRACT: Preprocess java.lang.NumberFormatException: For input string: 'A' BUSINESS IMPACT: If there are more than 9 catalogs, you cannot setup index if you want to build more catalogs. RECOMMENDATION:
Problem conclusion
Updated. The algorithm to generate new indexScope is to use 36 radix, so when read indexscope need use radix as 36 too.
Temporary fix
Comments
APAR Information
APAR number
JR58533
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-10-05
Closed date
2018-11-19
Last modified date
2018-11-19
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
R800 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":"8.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
11 December 2021