Collecting Administration Performance Data for Troubleshooting

Problem: You need to collect performance data to troubleshoot performance issues in SAP Control Center for SAP Mobile Platform administrative options.

Solution: Set up the SCC_HOME\log\executionTime.log, which provides information on the length of time taken to complete operations in SAP Control Center. SAP Product Support and Engineering teams can use this information to diagnose the source of your performance issues. To set up this log file:

  1. Open SCC_HOME\plugins\com.sybase.supadminplugin_<SAPMobilePlatformVersion>\agent-plugin.xml.
  2. Add the following line to the file under the <properties> element:
    <set-property property="log_MO_method_execution_time" value="enable_log_mo_method_execution_time" />
  3. Open SCC_HOME\conf\log4j.properties.
  4. If you are experiencing log truncation issues, edit the following lines to change the default values for maximum file size (default: 25MB) and maximum backup index (default: 20 files) to the values shown in this example:
    ## file appender (size-based rolling)
    log4j.appender.executionTime=org.apache.log4j.RollingFileAppender
    log4j.appender.executionTime.File=${com.sybase.ua.home}/log/executionTime.log
    log4j.appender.executionTime.layout=org.apache.log4j.PatternLayout
    log4j.appender.executionTime.layout.ConversionPattern=%d [%-5p] [%t] %c.%M(%L) - %m%n
    log4j.appender.executionTime.MaxFileSize=50MB
    log4j.appender.executionTime.MaxBackupIndex=20
    ## log MO method execution time
    log4j.logger.com.sybase.uep.sysadmin.management.aop=INFO,executionTime
    
  5. Restart SAP Control Center.

    The executionTime.log file now appears in the SCC_HOME\log folder.

Use this log file to diagnose and analyze performance problems. For more information on configuring the agent-plugin.xml configuration file, search for Agent Plugin Properties Reference in the System Administration guide.

You can also use the Adobe Flex log to track performance in SAP Control Center. To access Flex-side logging, highlight the resource in the Perspective Resources view and select View Log to show the user interface time for each activity. Alternately:

  1. Modify the SCC_HOME\plugins\com.sybase.supadminplugin\agent-plugin.xml file as indicated in step 2, above.
  2. Restart SAP Control Center.
  3. Log in and perform your regular administrative tasks.
  4. View the execution time indicators for these operations in the cookie file supatcookie.sol. The location of this file varies depending on your operating system:
    Operating System Location
    Windows XP C:\Documents and Settings\<username>\Application Data\Macromedia\Flash Player\#SharedObjects

    Windows Vista

    Windows 7

    C:\Users\<username>\AppData\Roaming\Macromedia\Flash Player\#SharedObjects
    Macintosh OS X /Users/<username>/Library/Preferences/Macromedia/Flash Player/#SharedObjects
    Linux /home/<username>/.macromedia/Flash_Player/#SharedObjects
  5. Analyze the log using your preferred method of data analysis.