服务器端
https://www.ej-technologies.com/download/jprofiler/version_92
tar解压到linux任意位置
2.客户端版本和服务器端要对应
客户端随意安装
3.更改server.xml
例如这个位置的
/home/ap/was/AppServer/profiles/Dmgr01/config/cells/yz1pasap9Cell01/nodes/yz1pasap9Node01/servers/server1/server.xml
只要在genericJvmArguments参数里增加
-Xshareclasses:none -agentpath:/home/ap/was/AppServer/profiles/AppSrv01/cj/jprofiler9/bin/linux-x64/libjprofilerti.so=port=10010
网上很多说需要加nowait
-Xshareclasses:none -agentpath:/home/ap/was/AppServer/profiles/AppSrv01/cj/jprofiler9/bin/linux-x64/libjprofilerti.so=port=10010,nowait
但是我试过很多次,只要加上nowait就起不来。不知道什么。
不加nowait,启动后需要jprofiler客户端连接上,不然服务会一致卡在那等待连接。
客户端连接很简单,