SAP Mobile Platform
SUP/SMP 2.x 'Advanced Logging and Statistics'
Tags:
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
- Shutdown SUP Server
- Backup:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\server\ApplicationServer\<hostname>.properties - Open the file in an editor such as Notepad or Notepad++
- Modify the line starting with “scheduledTasks=….”
- 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 - Statistics captured to C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs\statistics directory in individual files for each timed dump
- Other non-Statistics memory logging captured in SUP server logs
- Statistics files show several key values: Datasource Connections, IIOP Connections, Method stats, Scheduled tasks statistics, Memory Usage