JR44406: CMVC 224563 - TO RESOLVE THE PASSWORD DECYPTION OF THE WEBFEEDLOAD UTLITITY

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • The trust store password specified in the securityConfiguration
    section of the web feed configuration file could not be
    decrypted correctly when running webFeedLoad utility.
    http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/index.jsp
    ?topic=%2Fcom.ibm.commerce.data.doc%2Ftasks%2Ftml_configconnecto
    r.htm
    
    The customer will observe following exception in the console:
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
            at
    com.ibm.commerce.foundation.internal.common.util.encryption.Encr
    yptionFactory.isEncryptionKeyVersioningEnabled(EncryptionFactory
    .java:117)
            at
    com.ibm.commerce.foundation.internal.common.util.encryption.Encr
    yptionFactory.<init>(EncryptionFactory.java:173)
            at
    com.ibm.commerce.foundation.internal.common.util.encryption.Encr
    yptionFactory.<clinit>(EncryptionFactory.java:59)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
            at
    com.ibm.commerce.foundation.dataload.config.XMLConfigHelper.hand
    lePassword(XMLConfigHelper.java:760)
            at
    com.ibm.commerce.foundation.dataload.config.KeyStoreConfiguratio
    n.setStorePassword(KeyStoreConfiguration.java:185)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.fe
    tchSSLConfiguration(FeedConfiguration.java:721)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.fe
    tchSecurityConfiguration(FeedConfiguration.java:657)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.bu
    ildFeedEndPoints(FeedConfiguration.java:476)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.in
    itCMSConfiguration(FeedConfiguration.java:407)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.lo
    adConfigFile(FeedConfiguration.java:267)
            at
    com.ibm.commerce.foundation.dataload.config.FeedConfiguration.re
    loadConfigFile(FeedConfiguration.java:367)
            at
    com.ibm.commerce.foundation.dataload.FeedRetriever.execute(FeedR
    etriever.java:162)
            at
    com.ibm.commerce.foundation.dataload.FeedRetriever.main(FeedRetr
    iever.java:321)
    Caused by:
    com.ibm.commerce.foundation.common.exception.ComponentConfigurat
    ionException: CWXFR0024E: Invalid database configuration for
    component com.ibm.commer
    ce.foundation -- missing attribute type
            at
    com.ibm.commerce.foundation.internal.common.config.node.Database
    ConfigNodeImpl.validateConnection(DatabaseConfigNodeImpl.java:13
    1)
            at
    com.ibm.commerce.foundation.internal.common.config.node.Database
    ConfigNodeImpl.parseElement(DatabaseConfigNodeImpl.java:86)
            at
    com.ibm.commerce.foundation.internal.common.config.node.Abstract
    ConfigNodeImpl.load(AbstractConfigNodeImpl.java:78)
            at
    com.ibm.commerce.foundation.internal.common.config.AbstractServi
    ceConfigurationImpl.loadConfig(AbstractServiceConfigurationImpl.
    java:88)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    .loadConfigServices(ComponentConfiguration.java:489)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    .initialize(ComponentConfiguration.java:179)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    .<init>(ComponentConfiguration.java:128)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    Registry.loadComponentConfiguration(ComponentConfigurationRegist
    ry.java:367)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    Registry.loadFoundationConfig(ComponentConfigurationRegistry.jav
    a:274)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    Registry.<init>(ComponentConfigurationRegistry.java:105)
            at
    com.ibm.commerce.foundation.common.config.ComponentConfiguration
    Registry.<clinit>(ComponentConfigurationRegistry.java:62)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
            ... 15 more
    

Local fix

  • You can leave the password empty in the configuration file, then
    the web feed utility will prompt for entering trust store
    password. After entering the password, web feed utility will run
    successfully.
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who use the web feed utility.
    
    PROBLEM ABSTRACT:
    The decryption of password fails with the class
    EncryptionFactory when running webFeedLoad utility
    
    BUSINESS IMPACT:
    The web feed utility will not be completed successfully even
    with the correct password specified.
    
    RECOMMENDATION:
    

Problem conclusion

  • The code change will use another class
    (com.ibm.commerce.util.nc_crypt.decrypt) to decrypt the password
    instead of the EncryptionFactory.
    -------------------------------------------------------------
    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

    JR44406

  • 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

    2012-10-17

  • Closed date

    2012-12-04

  • Last modified date

    2012-12-04

  • 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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Commerce Enterprise

Software version:

7.0

Reference #:

JR44406

Modified date:

2012-12-04

Translate my page

Machine Translation

Content navigation