IBM Support

IT15014: THE CONNECT DIRECT SERVER ADAPTER CDSERVERCOPYTOSERVICE EXPERIENCES MISSINGPARAMETEREXCEPTION

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 Connect Direct Server Adapter experiences intermittent
    failures while transferring the files through
    Connect:Direct.The copy step fails with the below error message.
    
    ERROR CDServerCopyToService - Caught exception of type
    [com.sterlingcommerce.woodstock.cdinterop.MissingParameterEx
    cept ion], with message [Required Parameter LocalToCodePage
    Missing.  Cannot have aLocalFromCodePage without a
    LocalToCodePage.].
    
    Observations
    This error was observed in the cdinterop.log:
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() -
    localFromCodePage from wfc = [][2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - localToCodePage
    from wfc = [null]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - localXlate from
    wfc = [true]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - localXlateTable
    from wfc = [null]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - localStripBlanks
    from wfc = [false]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - default
    localXlate from wfc = [true]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - default
    localStripBlanks from wfc = [false]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - restartAttempts
    from wfc = [0]
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() -
    autoDetectTerminator from wfc = [true] (default: true)
    [2016-04-28 09:16:02.808] DEBUG
    CDServerCopyToService.primitiveProcessData() - localKill from
    wfc = [null] (0)
    [2016-04-28 09:16:02.808] ERROR  [CDServerCopyToService]
    WFID=8932100 - setting WFC Status to ERROR with Advanced Status
    [Mandatory Parameter Missing Error]
    [2016-04-28 09:16:02.808] ERROR [1461852962808] Required
    Parameter LocalToCodePage Missing.  Cannot have a
    LocalFromCodePage without a LocalToCodePage.
    [2016-04-28 09:16:02.808] ERRORDTL
    [1461852962808]com.sterlingcommerce.woodstock.cdinterop.MissingP
    arameterException: Required Parameter LocalToCodePage Missing.
    Cannot have a LocalFromCodePage without a LocalToCodePage.
        at
    com.sterlingcommerce.woodstock.services.cdinterop.server.CDServe
    rCopyToService.primitiveProcessData(CDServerCopyToService.java:4
    68)
        at
    com.sterlingcommerce.woodstock.services.cdinterop.CDService$1.ru
    n(CDService.java:86)
        at
    com.sterlingcommerce.woodstock.mailbox.db.DatabaseOperation.runC
    ontained(DatabaseOperation.java:101)
        at
    com.sterlingcommerce.woodstock.services.cdinterop.CDService.proc
    essData(CDService.java:84)
        at
    com.sterlingcommerce.woodstock.workflow.activity.engine.Activity
    EngineHelper.invokeService(ActivityEngineHelper.java:1818)
        at
    com.sterlingcommerce.woodstock.workflow.activity.engine.Activity
    EngineHelper.nextMainLogic(ActivityEngineHelper.java:631)
        at
    com.sterlingcommerce.woodstock.workflow.activity.engine.Activity
    EngineHelper.next(ActivityEngineHelper.java:362)
        at
    com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListe
    ner.doWork(WorkFlowQueueListener.java:442)
        at
    com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListe
    ner.run(WorkFlowQueueListener.java:236)
        at
    com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListe
    ner.onMessage(WorkFlowQueueListener.java:197)
        at
    com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListe
    ner.onMessage(WorkFlowQueueListener.java:184)
        at
    com.sterlingcommerce.woodstock.workflow.queue.wfTransporter.run(
    wfTransporter.java:444)
        at
    com.sterlingcommerce.woodstock.workflow.queue.BasicExecutor$Work
    er.run(BasicExecutor.java:529)
    
    The parameters localFromCodePage is set as blank XML element in
    the ProcessData but when it's being passed to the CopyToService
    it was sometimes being intrepreted as null value (when it
    works) and sometimes being interpreted as blank String (which
    caused failure).
    

Local fix

  • STRRTC - 500728
    DW / DW
    Circumvention: None
    

Problem summary

  • Users Affected:
    ALL
    
    Problem Description:
    The Connect Direct CopyTo Service requires both LocalToCodePage
    and LocalFromCodePage to be set or unset
    in the service invocation.
    Sometimes an empty string rather than null (no value) is
    passed to the CopyTo Service when the parameters are
    unspecified.
    This inconsistency leads to a MissingParameterException because
    the CopyTo Service consideres one parameter set and the other
    not set.
    
    Platforms Affected:
    ALL
    

Problem conclusion

  • Resolution Summary:
    A code fix is provided.
    
    
    Delivered In:
    5020500_13
    5020603
    5020601_7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT15014

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    524

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-28

  • Closed date

    2016-05-26

  • Last modified date

    2017-03-08

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R524 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
08 March 2017