IBM Support

JR48633: CMVC 232441 - Testing a model throws a URL validation error when integrating WebSphere Commerce with Sterling Visual Modeler

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When integrating WebSphere Commerce with Sterling Configurator
    and Visual Modeler, the following error (or similar) may occur
    when trying to test a model from Visual Modeler:
    
    [10/10/13 16:13:16:689 CDT] 00000019 validator     W
    com.ibm.commerce.sterling.configurator.validator.ConfiguratorURL
    Validator validateConfiguratorURL(String urlOfRequest, String
    urlContext)
    http://mysterlinghost:9080/sic/configurator/testCart.action?orga
    nizationCode=Matrix URL did not validate against expect url:
    wc7dev.myhost.ibm.com
    [10/10/13 16:13:16:695 CDT] 00000019 SystemOut     O 2013-10-10
    16:13: 16,695:WARN   :WebContainer : 0: SECURITY-FAILURE -
    http://mysterlinghost:9080/sic/configurator/testCart.action?orga
    nizationCode=Matrix URL did not validate against expect url:
    wc7dev.myhost.ibm.com
        ValidationException @
    com.sterlingcommerce.security.dv.SCValidationException.<init>(SC
    ValidationException.java:60)
    
    
    This may occur if the ReturnURL in the following file has not
    been set correctly to match both the Commerce and Sterling
    servers' hostnames:
    <Sterling_eardir>/sic.war/WEB-INF/classes/config/configurator_WC
    _InputParam.properties
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who are integrating with
    Sterling Visual Modeler and Configurator.
    
    PROBLEM ABSTRACT:
    Testing a model throws a URL validation error when integrating
    WebSphere Commerce with Sterling Visual Modeler
    
    BUSINESS IMPACT:
    Models cannot be tested properly in Visual Modeler.
    
    RECOMMENDATION:
    

Problem conclusion

  • This fix allows you to set multiple comma-delimited hostnames in
    the ReturnURL property instead of only matching against the
    domain suffix.
    
    
    -------------------------------------------------------------
    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

  • As a workaround, ensure both servers have the same domain
    suffix, ex. ".com". Then set ".com" as the ReturnURL in the
    configurator_WC_InputParam.properties file so that both hosts
    are validated properly.
    

Comments

APAR Information

  • APAR number

    JR48633

  • 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

    2013-11-26

  • Closed date

    2014-01-21

  • Last modified date

    2014-01-22

  • 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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 January 2014