IBM Support

JR49902: Launching Store Preview gives 404 when shortened context root is a substring of the store context path

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When launching Store Preview from Management Center, the page
    fails to open resulting in an HTTP 404 error. The URL in the
    error message on the page may look similar to the following:
    
     "The requested URL
    /webapp/wcs:8006/webapp/wcs/preview/servlets/servlet/StoreView
    was not found on this server"
    
    
     However the URL in the Store Preview options appears to be
    correct:
    
     Ex.
    http://hostname/webapp/wcs/stores/servlet/StoreView?storeId=1015
    1
    
     This may occur if your SEO configuration in the wc-server.xml
    file has been shortened to a substring of the default value, for
    example:
    
         <SEOConfiguration defaultUrl="" dynamicUrl="true"
    enable="true">
             <context-root-rewrite value="/store" />
         </SEOConfiguration>
    
    
     The default context-root-rewrite value is "/webapp/wcs/stores".
    

Local fix

  • If possible, use the default context-root-rewrite value instead.
    

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce users on v7.0 using Store Preview with a
    shortened context root.
    
     PROBLEM ABSTRACT:
     Launching Store Preview gives 404 when shortened context root
    is a substring of the store context path
    
     BUSINESS IMPACT:
     Business users may be unable to launch Store Preview from
    Management Center.
    
     RECOMMENDATION:
    

Problem conclusion

  • With this fix, Store Preview should launch successfully with the
     shortened context root.
    
    
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49902

  • 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

    2014-04-08

  • Closed date

    2014-07-09

  • Last modified date

    2014-07-14

  • 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