最近系统总出现内存占用满的问题,听说jprofiler可以查看内存占用情况,于是从网上下了个;
客户端及unix上都安装好了,但在unix上配置完了后,整么也连不上:
客户端提示信息如下:
Integration type: [Generic application]
Selected JVM: Sun 1.4.2 (hotspot)
Startup mode: Wait for JProfiler GUI(1) Please insert-Xrunjprofiler:port=8849  -Xbootclasspath/a:/export/home/eoms/jprofiler5/bin/agent.jarinto the start command of your remote application right after the java command.(2) Please add/export/home/eoms/jprofiler5/bin/solaris-sparcto the environment variable LD_LIBRARY_PATH.A remote session named Remote application on 192.168.182.6 will be created that connects to a running instance of the remote application that is started with the modified start command.
于是unix中相关配置如下:
修改/etc/profile文件,在最后加入:
JPROFILER_HOME=/export/home/eoms/jprofiler5/bin/solaris-sparc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JPROFILER_HOME
修改catalina.sh文件:
CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS -Xrunjprofiler:port=8849  -Xbootclasspath/a:/export/home/eoms/jprofiler5/bin/agent.jar"
这样配置后tomcat启动报错:找不到catalina.sh
请教配置哪个地方没对,导致无法启动;
还有unix上安装好jprofiler后,会提示是否启动,启动后如何查看jprofiler是否真正启用,启用日志在哪个地方可以查看?

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【snsy543】截止到2008-06-25 10:45:17的历史汇总数据(不包括此帖):
    发帖数:0                  发帖分:0                  
    结贴数:0                  结贴分:0                  
    未结数:0                  未结分:0                  
    结贴率:-------------------结分率:-------------------
    如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
      

  2.   

    我只下到windows版本4.2.3版本,因为jprofiler可以远程观察,但是远程调试时,若调试服务器的时候,需要在服务器端也装一个jprofiler,可惜我没有linux下的安装程序!能否请把unix/linux下的jprofiler安装程序(和注册码)发给我啊?谢谢!