Redian新闻
>
Q: load a profiler in Tomcat on Solaris
avatar
Q: load a profiler in Tomcat on Solaris# Java - 爪哇娇娃
b*l
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!
avatar
g*g
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!

avatar
b*l
3
Finally, I can load the profiler.
In catalina.sh,
I added
JAVA_OPTS = Xrun*:$LD_LIBRARY_PATH
export JAVA_OPTS
Thank you!
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。