Fixed PerfCakeAgent and MemoryUsageReporter to work with an application server.