When using the Account Management utility for Web Services from the Control-M Configuration Manager (CCM), receiving the following error:  The request failed with the following information: error message <Cannot send parameters to WS CM Extension>, error

Version 3
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M for Web Services, Java and Messaging


    COMPONENT:

    Control-M for Web Services, Java and Messaging


    APPLIES TO:

    All versions of Control-M for Web Services, Java and Messaging Control-M for Web Services Only



    PROBLEM:

     

    - When using the Account Management utility for Web Services from the Control-M Configuration Manager (CCM), receiving the following error:

      

    - The request failed with the following information: error message <Cannot send parameters to WS CM Extension>, error code <1>
    SEVERITY: ERROR
    CODE: CTM6781

      

     

     


    CAUSE:

    The Control-M for Web Services container not being able to start after parameter change or mis-configuration.


    SOLUTION:

    Verifying Control-M for Web Service Configuration

    1. Run the command 'hostname' on the Control-M for Web Services (Control-M for WJM) machine.

      

    2. Open the file ~/ctm_agent/ctm/data/wsprofile.dat file for editing  (<AgentInstallDir>\DATA\wsprofile.dat on Windows)
    - Set the WSHOSTNAME parameter to the output of the hostname command.
       Use the IP address instead, if adjusting the hostname does not work.
    - Make sure the WSPORTNUM parameter reflects a port that is free on this machine
    - Add the parameter JRE_BIN <path to java runtime environment directory bin with trailing />
    - Check if HTTP_AUTH is too long.  The limit is 512 characters.
     
    For example:
    ...
    WSHOSTNAME         mybpimachine
    WSPORTNUM          7001
    JRE_BIN            /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/
    ...

      

    3. Save and close the wsprofile.dat.

      

    4. From the WS configuration menu on the Control-M/Agent (ctmwsacc), perform Tools -> Shutdown CM  (ignore if this produces an error)

      

    5. Launch the Control-M Configuration Manager (CCM) WS Account Management utility again, to confirm you can now access the WS Accounts.

      
      Restarting the Control-M/Agent and Control-M for Web Service
    1. Hold all Control-M jobs that will ordered to this Control-M/Agent
      
      2. Wait for ALL current execution jobs to complete executing
      
      3. Stop the Control-M/Agent using shut-ag
      
      4. Control-M for Web Services
      
        UNIX: stopwscm
      
        Windows: <Agent>\cm\WS\exe\stopwscm
      
      5. Verify that there is not running Control-M Agent processes (especially Control-M for WJM)
      
      6. Restart Control-M/Agent using start-ag
    7. Free all Control-M jobs that is held in Step 1
      


    Additional Information:
    QM001878885 - Increase HTTP Authentication Field to greater than 512 bytes RFE

       Legacy ID:KA378913

     


    Article Number:

    000085546


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles