Create a file setenv.sh in $CATALINA_HOME/bin
set your JAVA_OPTS in there.
gaurav wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi List,
I want to increase the default memory usage of tomcat 5
and monitor tomcat thru JMX
for memory usage
for JMX
- -Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
but I dont where exactly to add these lines
- -> ./startup.sh -Xmn100M -Xms500M -Xmx500M
- -> or in Catlina.sh
- -> or set envoirment variable -> JAVA_opts
can someone pl tell which is the best place to put these variables
I tried in all these places but with no effect :-(
Regards,
GP
- --
"Innovation is not absolutely necessary, but then neither is survival."
- -- Andrew Papageorge
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDFX1kVAO9KHA2KWcRAni+AJwP4yE9Sv6hIujtA2XOwmN4rgiSIwCfbhkg
K5dYA5Wl7zNIESZdCapTx7o=
=iDJ2
-----END PGP SIGNATURE-----
DISCLAIMER:
--------------------------------------------------------------------------------------------------------------
This e-mail contains confidential and/or privileged information. If you are not the intended recipient
(or have received this e-mail in error)please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure, use or distribution of the material in
this e-mail is strictly forbidden.
---------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]