IBM Support

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

Technote (FAQ)


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

Document information

More support for: IBM UrbanCode Deploy
General Information

Software version: 6.0.1, 6.0.1.1, 6.0.1.2, 6.0.1.3, 6.0.1.4

Operating system(s): AIX, Linux, OS X, Solaris

Reference #: 1671589

Modified date: 06 December 2014