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! |
|