IBM Support

PH11142: RUNNING THE WCTCMD.BAT FROM OUTSIDE OF THE <WCT_ROOT> DIRECTORY CAUSES

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 following command(outside of <WCT_ROOT> directory e.g. c:\)
    shows error message "The system cannot find the file specified."
    ---
    c:\>"C:\Program Files\IBM\WebSphere\Toolbox\WCT\wctcmd.bat"
    -tool pct -listDefinitions -defLocName WebServerPlugins
    The system cannot find the file specified.
    Definition location successfully imported
    
    Launching tool pct ...
    
    Tool execution completed successfully.
    
    c:\>
    ---
    

Local fix

  • Issue wctcmd.bat command from <WCT_ROOT> directory.
    e.g.
    c:\>cd "C:\Program Files\IBM\WebSphere\Toolbox\WCT\"
    c:\Program Files\IBM\WebSphere\Toolbox\WCT\>wctcmd.bat" -tool
    pct -listDefinitions -defLocName WebServerPlugins
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: wctcmd.bat returns the error "The       *
    *                      system cannot find the file             *
    *                      specified." when running from outside   *
    *                      of the <WCT_ROOT>.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When invoking wctcmd.bat from outside of the <WCT_ROOT> (by
    default C:\Program Files\IBM\WebSphere\Toolbox\WCT) directory,
    the error "The system cannot find the file specified." is
    encountered.
    

Problem conclusion

Temporary fix

  • Run from within the <WCT_ROOT> directory.
    

Comments

APAR Information

  • APAR number

    PH11142

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-17

  • Closed date

    2019-05-06

  • Last modified date

    2019-05-06

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PH11142

Modified date: 06 May 2019