Could not launch in profiling mode because no profilers are configured.

简介: 目前新版本的Eclipse在启动应用服务器的时候有一个新的选项:Start the server in profiling mode。  但是我在一开始点击这个按钮的时候,出现了错误提示信息: Could not launch in profiling mode because no profilers are configured.
目前新版本的Eclipse在启动应用服务器的时候有一个新的选项:Start the server in profiling mode。

  但是我在一开始点击这个按钮的时候,出现了错误提示信息: Could not launch in profiling mode because no profilers are configured.

  经过一番搜索,发现要求安装TPTP(Test and Performance Tools Platform),下面我把我的安装步骤简单地列举如下:

  1、下载,TPTP的最新版本是4.6.0,下载地址:http://www.eclipse.org/tptp/home/downloads /?ver=4.6.0#tptp-plugins. 这里包括两个部分:runtime和sdk,如果你只是进行profile的运行分析,不对TPTP进行任何扩展,那就只需要下载runtime。下载的时候可以下载相应平台的(比如:windows的)或者下载全部平台的压缩包。我选择的是下载runtime和SDK两个的所有平台的压缩包,

  2、安装。安装TPTP是非常简单的,把下载的压缩包解压到Eclipse的安装目录下就行了

  3、除了上面的runtime/SDK,还需要安装Agent Controller,第一步当然还是下载了,地址:http://www.eclipse.org/tptp/home/downloads/?ver=4.6.0#rac

  同样的,这也有runtime和SDK两部分,选择和步骤1一样。

  4、把下载的两个压缩也解压到Eclipse的安装目录下。

  5、其他还有一些可选的步骤,比如:Native Logging/Generic Log Adapter之类的东西,我一概都没有下载安装。

  6、重新启动Eclipse,点击start server in profiling mode, OK, 成功,出现了一个对话框,让你选择监控的类型,是要监控线程,还是内存,选择一个,然后浏览一下你的网站,就能得到一张列表了。

原文地址: http://bbs.cnw.com.cn/viewthread.php?tid=215733
目录
相关文章
|
8月前
|
虚拟化
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
77 0
|
Android开发
意外导致了gradle project sync failed. Basic functionality will not work properly
意外导致了gradle project sync failed. Basic functionality will not work properly
意外导致了gradle project sync failed. Basic functionality will not work properly
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
783 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
448 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
|
Web App开发
Reuse library debug in Chrome - phase1 init phase
Reuse library debug in Chrome - phase1 init phase
82 0
Reuse library debug in Chrome - phase1 init phase