On Wed, May 19, 2010 at 6:38 AM, Ozgur Ozdemircili
<[email protected]> wrote:

> I have the following parameters in my tomcat startup.sh

ripple:/tmp$ cat testenv
#!/bin/bash

export CATALINA_OPTS="-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server"
set CATALINA_OPTS="-Dcom.sun.management.jmxremote \
  -Dcom.sun.management.jmxremote.port=8999 \
  -Dcom.sun.management.jmxremote.ssl=false \
  -Dcom.sun.management.jmxremote.authenticate=false"
echo $CATALINA_OPTS
ripple:/tmp$ ./testenv
-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server
ripple:/tmp$ vi testenv
ripple:/tmp$ cat testenv
#!/bin/bash

export CATALINA_OPTS="-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server"
export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote \
  -Dcom.sun.management.jmxremote.port=8999 \
  -Dcom.sun.management.jmxremote.ssl=false \
  -Dcom.sun.management.jmxremote.authenticate=false"
echo $CATALINA_OPTS
ripple:/tmp$ ./testenv
-XX:MaxPermSize=512m -Xms512m -Xmx2048m -server
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
ripple:/tmp$

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to