最近系统总出现内存占用满的问题,听说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是否真正启用,启用日志在哪个地方可以查看?
客户端及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是否真正启用,启用日志在哪个地方可以查看?
解决方案 »
- 局部刷新
- AutoCode代码生成器(SSH版)
- 谁有struts+spring+hibernate的应用实例及教材,麻烦给我发一份好吗?连发两帖
- JSP中文问题----不知道是哪里出的问题
- FCKeditor,FCKeditor,FCKeditor,大家帮帮忙啊,我把网站上传了,,但服务商不是使用的是tomcat虚拟目录的概念,是使用。。。。。
- 一个初级问题,请赐教!
- 如何在IE里显示Applet???
- java能把数据做成excel的报表去吗?
- 菜鸟问题
- 谁有java函数大全,100重酬!!
- [Microsoft][ODBC SQL Server Driver][SQL Server]列名 'qun'无效。
- 必须用MVC模式么--问道
楼主【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