IBM Support

How to automatcially remove RCL_API_Log_Sample files from UrbanCode Deploy Server bin directory

Question & Answer


Question

How do you automatically remove RCL_API_Log_Sample files from the IBM UrbanCode Deploy Server bin directory?

Cause

IBM UrbanCode Deploy generates RCL_API_Log_Sample file at start up.

You can remove RCL_API_Log_Sample files from IBM Urbancode Deploy Server bin directory if you choose.

You may also need to remove RCL_API_Log_Sample files based on defect APAR PI12564.

Answer

Below is a method that allows you to automatically delete the files whenever the server stop command is run:

Procedure:

  1. Go to <ibmucd_home>bin/
  2. Open the server file with a text editor
  3. Add the following line to the file ---Stop--- section:

    rm -f RCL_API_Log_Sample*


    For example:

    # -- Stop ----------------------------------------------------------------------
    elif [ "$1" = "stop" ] ; then

     shift
     FORCE=0
     cd "$SERVER_HOME/bin"

     rm -f RCL_API_Log_Sample*

     command_line="exec \"$javacmd\" "$JAVA_OPTS" -jar \
       \"$SERVER_HOME/bin/launcher.jar\" \"$SERVER_HOME/bin/classpath.conf\" \
       $stop_class 2>&1"
     eval $command_line


  4. Save the file

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"}],"Version":"6.0.1;6.0.1.1;6.0.1.2;6.0.1.3;6.0.1.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21671589