由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Q: load a profiler in Tomcat on Solaris
相关主题
tomcat 访问硬盘文件的问题, 3xJava crash
Tomcat Hot deployment问一个GC的问题
any free or trial JVM optimizer??eclipse remote debug java (tomcat) , has to connect with eclipse for tomcat to start?
java内存泄露问题面试被问了个奇怪的GC问题
java memory problem with redhat enterpriseWhere I can find comparison of JVMs
out of memoryRe: 一个最近完成的JAVA项目的反思。
问一个关于Eclipse IDE 的问题Java Http Question?
怎样让java 程序运行快?问个J2EE server跟Apache Web Server的问题?
相关话题的讨论汇总
话题: solaris话题: tomcat话题: profiler话题: xrun话题: jvm
进入Java版参与讨论
1 (共1页)
b**l
发帖数: 25
1
Now I am deploying a web application on Solaris9. In the application, I have
to use a JVM Profiler.
I developped it on WindowsXP with Eclipse and Sysdeo plug-in. It is easy to
add -Xrun* JVM argument when starting Tomcat server on Windows with IDE. But
in Solaris, I have no idea how to add -Xrun to startup.sh file.
Any body know how to add -Xrun* JVM argument to startup.sh file?
Thanks!
g*****g
发帖数: 34805
2
I guess you can have
set JAVA_OPTS=-Xms128m -Xmx512m
in startup.sh or catalina.sh

have
to
But

【在 b**l 的大作中提到】
: Now I am deploying a web application on Solaris9. In the application, I have
: to use a JVM Profiler.
: I developped it on WindowsXP with Eclipse and Sysdeo plug-in. It is easy to
: add -Xrun* JVM argument when starting Tomcat server on Windows with IDE. But
: in Solaris, I have no idea how to add -Xrun to startup.sh file.
: Any body know how to add -Xrun* JVM argument to startup.sh file?
: Thanks!

b**l
发帖数: 25
3
Finally, I can load the profiler.
In catalina.sh,
I added
JAVA_OPTS = Xrun*:$LD_LIBRARY_PATH
export JAVA_OPTS
Thank you!
1 (共1页)
进入Java版参与讨论
相关主题
问个J2EE server跟Apache Web Server的问题?java memory problem with redhat enterprise
Run Servlet with Tomcatout of memory
j2ee启动时, 启动了tomcat吗?问一个关于Eclipse IDE 的问题
如果用J2EE, 那还需要Apache吗?怎样让java 程序运行快?
tomcat 访问硬盘文件的问题, 3xJava crash
Tomcat Hot deployment问一个GC的问题
any free or trial JVM optimizer??eclipse remote debug java (tomcat) , has to connect with eclipse for tomcat to start?
java内存泄露问题面试被问了个奇怪的GC问题
相关话题的讨论汇总
话题: solaris话题: tomcat话题: profiler话题: xrun话题: jvm