CachedHeadsUpDisplay.jsp 404 error in sample WebSphere Commerce Gift Center Consultant application

Technote (troubleshooting)


Problem(Abstract)

After installing IBM WebSphere Commerce Gift Center and the sample Gift Consultant application successfully, you notice when trying to browse the pages, an exception is seen a 404 error in the SystemOut.log for the file, CachedHeadsUpDisplay.jsp:

Exception thrown : javax.servlet.ServletException: 404
CVB2BDirectStorefrontAssetStore/GiftConsultant/CachedHeadsUpDisplay.jsp

Symptom

An exception similar to the following is seen in the logs and the pages don't display properly for the sample Gift Consultant application

SRVE0068E: Could not invoke the service() method on servlet /CVB2BDirectStorefrontAssetStore/GiftConsultant/GiftConsultantHomeDisplay.jsp.
Exception thrown : javax.servlet.ServletException: 404
CVB2BDirectStorefrontAssetStore/GiftConsultant/CachedHeadsUpDisplay.jsp?storeId=10151&catalogId=%5bLjava.lang.String%3b%407dd63a22&langId=-1&userType=A&userState=&liveHelp=&rfqLinkDisplayed=
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:650) at com.ibm._jsp._GiftConsultantHomeDisplay._jspService(_GiftConsultantHomeDisplay.java:700) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:262) at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:438)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:238)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:244)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1697)

Cause

The CachedHeadsUpDisplay.jsp isn't packaged with the Gift Center sample application. This file must be copied manually to the path seen in the 404 error. The reason the GC application is looking for this file, is because it's finding the feature, 'Heads Up', enabled in the store flow. By default, this feature is enabled for the B2B Direct Store, however the IBM Gift Center sample application includes

sample graphical user interfaces based on the consumer direct sample store.


Resolving the problem

If you intend to use the Heads Up feature, you can deploy the CachedHeadsUpDisplay.jsp to the appropriate directory. Otherwise, disable the Heads Up feature in the WebSphere Commerce accelerator. (Store > Change Flow > Configurable Store Display)


See the Information Center for details on Configurable Store Display (Heads Up).


Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Commerce Enterprise
Gift Center

Software version:

6.0

Operating system(s):

AIX, Linux, Solaris, Windows, i5/OS

Reference #:

1415725

Modified date:

2013-10-16

Translate my page

Machine Translation

Content navigation