|
@@ -48,10 +48,10 @@ if [ -e "$tomcat_install_dir/conf/server.xml" ];then
|
|
cat > $tomcat_install_dir/bin/setenv.sh << EOF
|
|
cat > $tomcat_install_dir/bin/setenv.sh << EOF
|
|
JAVA_OPTS='-server -Xms${Xms_Mem}m -Xmx`expr $Mem / 2`m'
|
|
JAVA_OPTS='-server -Xms${Xms_Mem}m -Xmx`expr $Mem / 2`m'
|
|
CATALINA_OPTS="-Djava.library.path=/usr/local/apr/lib"
|
|
CATALINA_OPTS="-Djava.library.path=/usr/local/apr/lib"
|
|
-# -Djava.rmi.server.hostname=$IPADDR
|
|
|
|
-# -Dcom.sun.management.jmxremote.password.file=\$CATALINA_BASE/conf/jmxremote.password
|
|
|
|
|
|
+# -Djava.rmi.server.hostname=$IPADDR
|
|
|
|
+# -Dcom.sun.management.jmxremote.password.file=\$CATALINA_BASE/conf/jmxremote.password
|
|
# -Dcom.sun.management.jmxremote.access.file=\$CATALINA_BASE/conf/jmxremote.access
|
|
# -Dcom.sun.management.jmxremote.access.file=\$CATALINA_BASE/conf/jmxremote.access
|
|
-# -Dcom.sun.management.jmxremote.ssl=false"
|
|
|
|
|
|
+# -Dcom.sun.management.jmxremote.ssl=false"
|
|
EOF
|
|
EOF
|
|
cd ../../../;rm -rf tomcat-native-*
|
|
cd ../../../;rm -rf tomcat-native-*
|
|
chmod +x $tomcat_install_dir/bin/*.sh
|
|
chmod +x $tomcat_install_dir/bin/*.sh
|