Command Sponsor Debugging

Document ID : KB000051012
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Steps to debug a command sponsor not working.

Solution:

  • Check direct execution of command on command-line.

  • Check Sponsor components, permissions and prerequisites (Java, IGateway).

  • Check network (can access port 5250 remotely).

  • Check that instances and environments are correctly defined (AutoSysCommandWrapper.XXX and instance2script.map).

  • Check credentials and instance name on UI side.

  • Enable debugging (igateway.log).

    • Set debug to true in igateway.con
  1. Windows.

    • Replace AutoSysCommandWrapper.exe with debug version.

    • Run portlet to test.

  2. Linux and UNIX.

    • As root, run AutoSysCommandWrapper.sh

    • Type in:

      user <ENTER>
      password <ENTER>
      command <ENTER>
      xxx <ENTER> (where xxx is the instance)

    • if wrapper is working, it will return the command result.