Skip to Content

SUP/SMP 2.x 'Advanced Logging and Statistics'

SUP/SMP 2.x 'Advanced Logging and Statistics'

There is built in additional logging and statstics capture for the distrubuted Java container inside Sybase Unwired Platform/SAP Mobile Platform 2.x that can be used to troubleshoot issues and observe long running statistics in SUP/SMP.  This logging is not documented in the SUP/SMP product documentation.  Enabling these features can assist in researching and troubleshooting some aspects of the server

Enabling DJC Server Runtime Statistics/logging

  1. Shutdown SUP Server
  2. Backup:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\server\ApplicationServer\<hostname>.properties
  3. Open the file in an editor such as Notepad or Notepad++
  4. Modify the line starting with “scheduledTasks=….”
  5. Add the desired scheduled tasks for statistics. 
    These task dump data at the desired timing and there is no limit on the number of files:  Dump60MinuteMemoryUsage,Dump60SecondStatistics,Dump60MinuteStatistics,DumpShutdownStatistics,Dump60SecondMemoryUsage
  6. Statistics captured to C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs\statistics directory in individual files for each timed dump
  7. Other non-Statistics memory logging captured in SUP server logs
  8. Statistics files show several key values: Datasource Connections, IIOP Connections, Method stats, Scheduled tasks statistics, Memory Usage
Tags: