想请问下有没有人用过JProfiler,我的WEB APPLICATION 运行在本地的TOMCAT6.0上面发现内存泄露,听说J可以检测,就下了一下JProfiler 6.0.
我按照配置了,但是总不成功,上网查了很多资料也不能解决,想请用过的人帮帮忙,真得十分感谢。
我是这样配置的,
1.from the Quickstart window->An application server, locally or remotely
2.follow the wizard step by step
1)choose application server Apache Tomcat 6.x
2)application is located "on this computer"
3) Chose JVM vendor
4) wait for a connection from the JProfiler GUI
5) Locate the start script :C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.20\bin\startup.bat
6) port:8849
7)finished但开始后就是出错信息:
"Could not connect ot 127.0.0.1:8849.Please make sure that the remote address is correct, the remote program is started properly and the netword route allows socket connections."
我按照配置了,但是总不成功,上网查了很多资料也不能解决,想请用过的人帮帮忙,真得十分感谢。
我是这样配置的,
1.from the Quickstart window->An application server, locally or remotely
2.follow the wizard step by step
1)choose application server Apache Tomcat 6.x
2)application is located "on this computer"
3) Chose JVM vendor
4) wait for a connection from the JProfiler GUI
5) Locate the start script :C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.20\bin\startup.bat
6) port:8849
7)finished但开始后就是出错信息:
"Could not connect ot 127.0.0.1:8849.Please make sure that the remote address is correct, the remote program is started properly and the netword route allows socket connections."
(i got a problem with my computer, cannot type in Chinese........)
http://www.blogjava.net/wyz191/archive/2009/01/14/251208.html
I saw this blog before, and i did exactly the same.
one different is the blog used JProfiler 5 and I use 6.
The blog says:
第一,需要把
-agentlib:jprofilerti=port=8849,nowait,id=103,config=C:\Documents and Settings\stefanie_wu\.jprofiler4\config.xml"
"-Xbootclasspath/a:D:\Program Files\jprofiler4\bin\agent.jar" -Xbootclasspath/a:D:\usr\agent.jar
两个参数加载启动项中,
第二,要把D:\Program Files\jprofiler4\bin\windows放在PATH中。But it seems it is not required in Jprofiler 6..........
anyone can help, it's urgent......
Thankssssss!