想请问下有没有人用过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.   

    为什么 port=8849,这个是怎么来的? 
      

  2.   

    it's default 8849, i try to use port 8080, but got a message said the port 8080 has been listened by other application.
    (i got a problem with my computer, cannot type in Chinese........)
      

  3.   

    我也不会,你自已看吧
    http://www.blogjava.net/wyz191/archive/2009/01/14/251208.html
      

  4.   

    Thanks a lot.
    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..........
      

  5.   

    i have beening doing it for 3 days, still cannot sort it out......
    anyone can help, it's urgent......
    Thankssssss!
      

  6.   

    your key is wrong, you must find right key
      

  7.   

    有哪位高人解决的,help一下,不胜感激!
      

  8.   

    朋友,您的问题现在解决了吗?,可以的话,帮忙指导一下  我用的是jprofiler6.2.4 的  出现与您同样的错误 ,暂时还没找到解决方案
      

  9.   

    同样的问题,求解!是不是注册码的问题呢?我的是jprofiler_windows_6_0_2.exe