Tuesday, 28 February 2017

CommerceSrvr E com.ibm.commerce.registry.StoreRegistry find CMN0411E: The following finder exception has occurred during processing: "{0}".

CommerceSrvr  E com.ibm.commerce.registry.StoreRegistry find CMN0411E: The following finder exception has occurred during processing: "{0}".javax.ejb.ObjectNotFoundException        at com.ibm.commerce.datatype.AbstractFinderResult.myHydrateCachedFinderException(AbstractFinderResult.java:551)        at com.ibm.commerce.datatype.AbstractFinderResult.throwUseableException(AbstractFinderResult.java:863)        at com.ibm.commerce.datatype.CacheableFinderResult.generateFinderResult(CacheableFinderResult.java:248)        at com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.myInvokeFinder(AbstractFinderResultCache.java:1651)        at com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.invokeFinder(AbstractFinderResultCache.java:1156)        at com.ibm.commerce.user.objsrc.OrganizationCache.invokeFinder(OrganizationCache.java:962)        at com.ibm.commerce.user.objsrc.OrganizationCache.invokeSingleOrganizationAccessBeanFinder(OrganizationCache.java:951)        at com.ibm.commerce.user.objsrc.OrganizationCache.myFindByDN(OrganizationCache.java:344)        at com.ibm.commerce.user.objsrc.OrganizationCache.findByDN(OrganizationCache.java:318)        at com.ibm.commerce.registry.StoreRegistry.find(StoreRegistry.java:483)        at com.ibm.commerce.marketing.promotion.integration.dependency.EproUtil.getStoreId(EproUtil.java:456)        at com.ibm.commerce.marketing.promotion.integration.dependency.WCSStoreFactory.lookup(WCSStoreFactory.java:178)        at com.ibm.commerce.marketing.promotion.policy.PromotionPolicySessionBeanPersistenceManager.fromResultSetToPromotionPolicy(PromotionPolicySessionBeanPersistenceManager.java:192)        at com.ibm.commerce.marketing.promotion.policy.PromotionPolicySessionBeanPersistenceManager.myLoadPromotionPolicy(PromotionPolicySessionBeanPersistenceManager.java:314)        at com.ibm.commerce.marketing.promotion.policy.PromotionPolicySessionBeanPersistenceManager.load(PromotionPolicySessionBeanPersistenceManager.java:392)        at com.ibm.commerce.marketing.promotion.group.PromotionGroup.findAllAssociatedActivePolicies(PromotionGroup.java:393)        at com.ibm.commerce.marketing.promotion.runtime.StorePathSupportedAgendaBuilder$MyBuildAgenda.generateCacheableData(StorePathSupportedAgendaBuilder.java:544)        at com.ibm.commerce.datatype.AbstractFinderResult.invokeFinder(AbstractFinderResult.java:622)        at com.ibm.commerce.datatype.CacheableFinderResult.invokeFinder(CacheableFinderResult.java:195)        at com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.myInvokeFinder(AbstractFinderResultCache.java:1521)        at com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.invokeFinder(AbstractFinderResultCache.java:1156)        at com.ibm.commerce.dynacache.commands.AbstractDistributedMapCache$Cache.getOrPut(AbstractDistributedMapCache.java:520)        at com.ibm.commerce.dynacache.commands.AbstractDistributedMapCache$Cache.access$3(AbstractDistributedMapCache.java:507)        at com.ibm.commerce.dynacache.commands.AbstractDistributedMapCache.getOrPut(AbstractDistributedMapCache.java:285)        at com.ibm.commerce.marketing.promotion.runtime.StorePathSupportedAgendaBuilder.buildAgenda(StorePathSupportedAgendaBuilder.java:255)        at com.ibm.commerce.marketing.promotion.runtime.DefaultPromotionContextFactory.createContext(DefaultPromotionContextFactory.java:229)        at com.ibm.commerce.marketing.promotion.runtime.DefaultPromotionEngine.invoke(DefaultPromotionEngine.java:1612)        at com.ibm.commerce.marketing.promotion.runtime.DefaultPromotionEngine.invoke(DefaultPromotionEngine.java:634)        at com.ibm.commerce.order.commands.PromotionEngineOrderCalculateCmdImpl.invokePromotionEngine(PromotionEngineOrderCalculateCmdImpl.java:840)        at com.ibm.commerce.order.commands.PromotionEngineOrderCalculateCmdImpl.getCatalogEntryQuantitiesToAdd(PromotionEngineOrderCalculateCmdImpl.java:508)        at com.ibm.commerce.order.commands.PromotionEngineOrderCalculateCmdImpl.performExecute(PromotionEngineOrderCalculateCmdImpl.java:318)        at com.commerce.order.commands.OrderCalculateCmdImpl.performExecute(OrderCalculateCmdImpl.java:108)        at com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarget.java:157)        at com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCache.java:332)        at com.ibm.websphere.command.CacheableCommandImpl.execute(CacheableCommandImpl.java:166)        at com.ibm.commerce.command.MeasuredCacheableCommandImpl.execute(MeasuredCacheableCommandImpl.java:63)        at com.ibm.commerce.command.AbstractECTargetableCommand.execute(AbstractECTargetableCommand.java:199)        at com.ibm.commerce.component.BaseComponentImpl.executeCommand(BaseComponentImpl.java:202)        at com.ibm.commerce.component.WebAdapterComponentImpl.executeCommand(WebAdapterComponentImpl.java:46)        at com.ibm.commerce.component.objimpl.WebAdapterServiceBeanBase.executeCommand(WebAdapterServiceBeanBase.java:58)        at com.ibm.commerce.component.objects.EJSLocalStatelessWebAdapterService_ce749a4a.executeCommand(EJSLocalStatelessWebAdapterService_ce749a4a.java:31)        at com.ibm.commerce.component.objects.WebAdapterServiceAccessBean.executeCommand(WebAdapterServiceAccessBean.java:160)        at com.ibm.commerce.webcontroller.WebControllerHelper.executeCommand(WebControllerHelper.java:2778)        at com.ibm.commerce.struts.BaseAction.invokeService(BaseAction.java:1516)        at com.ibm.commerce.struts.BaseAction.executeAction(BaseAction.java:635)        at com.ibm.commerce.struts.BaseAction.execute(BaseAction.java:150)



Solution:Check for any promo codes or coupons which are not applicable to the order is attached to it and fix it.

Thursday, 20 August 2015

com.ibm.commerce.webcontroller.WebControllerHelper executeCommand(ViewCommandContext,Map,String) CMN0409E: java.lang.NullPointerException



com.ibm.commerce.webcontroller.WebControllerHelper executeCommand(ViewCommandContext,Map,String) CMN0409E: The following error occurred during processing: "java.lang.NullPointerException". java.lang.NullPointerException

This error occurs when trying to hit a WebSphere commerce URL .

Steps to solve the issue:
Please revisit the extended or custom struts-config file entries and correct it.


Tuesday, 11 August 2015

com.ibm.commerce.foundation.dataimport.util.DataImportHelper printException INFO: Data import process was unsuccessful


com.ibm.commerce.foundation.dataimport.util.DataImportHelper printException
INFO: Data import process was unsuccessful. An unrecoverable error has occurred.


This error occurs  when trying to run di-buildindex in a toolkit environment
(DataImportHandlerException: java.lang.OutOfMemoryError: Java heap space)

Steps to solve this issue. (Either step1 or 2)

Step 1.Directly updating the server.xml file

1.      C:\IBM\WCDE_ENT70_New\wasprofile\config\cells\localhost\nodes\localhost\servers\server1
2.      Search for initialHeapSize and maximumHeapSize and change as below

initialHeapSize=1024
maximumHeapSize=1024

Step 2.Increase heap memory from WAS Admin console

If that doesn't help try to increase the heap memory as below.

initialHeapSize=512
maximumHeapSize=1536

Thursday, 26 March 2015