Author: thomas.heute(a)jboss.com
Date: 2010-03-11 15:04:24 -0500 (Thu, 11 Mar 2010)
New Revision: 2186
Modified:
portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.bat
portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.sh
portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.bat
portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.sh
Log:
Default PermGen space is often too low (depends on OS/JVM)
Modified: portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.bat
===================================================================
--- portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.bat 2010-03-11
19:17:46 UTC (rev 2185)
+++ portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.bat 2010-03-11
20:04:24 UTC (rev 2186)
@@ -27,9 +27,9 @@
rem Sets some variables
set
LOG_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
set SECURITY_OPTS="-Djava.security.auth.login.config=..\conf\jaas.conf"
-set EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir=..\gatein\conf"
+set EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir.name=gatein\conf"
set EXO_CONFIG_OPTS="-Dorg.exoplatform.container.configuration.debug"
-set JAVA_OPTS=-Xms128m -Xmx512m %LOG_OPTS% %SECURITY_OPTS% %EXO_OPTS% %EXO_CONFIG_OPTS%
+set JAVA_OPTS=-Xms128m -Xmx512m -XX:MaxPermSize=256m %LOG_OPTS% %SECURITY_OPTS%
%EXO_OPTS% %EXO_CONFIG_OPTS%
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
Modified: portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.sh
===================================================================
--- portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.sh 2010-03-11 19:17:46
UTC (rev 2185)
+++ portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein-dev.sh 2010-03-11 20:04:24
UTC (rev 2186)
@@ -24,8 +24,8 @@
# Sets some variables
LOG_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
SECURITY_OPTS="-Djava.security.auth.login.config=../conf/jaas.conf"
-EXO_OPTS="-Dexo.product.developing=true -Dexo.conf.dir=../gatein/conf"
-EXO_CONFIG_OPTS="-Xms128m -Xmx512m
-Dorg.exoplatform.container.configuration.debug"
+EXO_OPTS="-Dexo.product.developing=true -Dexo.conf.dir.name=gatein/conf"
+EXO_CONFIG_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m
-Dorg.exoplatform.container.configuration.debug"
JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=8000
Modified: portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.bat
===================================================================
--- portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.bat 2010-03-11 19:17:46
UTC (rev 2185)
+++ portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.bat 2010-03-11 20:04:24
UTC (rev 2186)
@@ -27,8 +27,8 @@
rem Sets some variables
set
LOG_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
set SECURITY_OPTS="-Djava.security.auth.login.config=..\conf\jaas.conf"
-set EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir=..\gatein\conf"
-set JAVA_OPTS=-Xms128m -Xmx512m %LOG_OPTS% %SECURITY_OPTS% %EXO_OPTS%%
+set EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir.name=gatein\conf"
+set JAVA_OPTS=-Xms128m -Xmx512m -XX:MaxPermSize=256m %LOG_OPTS% %SECURITY_OPTS%
%EXO_OPTS%%
rem Launches the server
call catalina.bat %*
Modified: portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.sh
===================================================================
--- portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.sh 2010-03-11 19:17:46 UTC
(rev 2185)
+++ portal/trunk/server/tomcat/patch/src/main/tomcat/bin/gatein.sh 2010-03-11 20:04:24 UTC
(rev 2186)
@@ -27,9 +27,9 @@
# Sets some variables
LOG_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
SECURITY_OPTS="-Djava.security.auth.login.config=../conf/jaas.conf"
-EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir=../gatein/conf"
+EXO_OPTS="-Dexo.product.developing=false -Dexo.conf.dir.name=gatein/conf"
-JAVA_OPTS="-Xms128m -Xmx512m $JAVA_OPTS $LOG_OPTS $SECURITY_OPTS $EXO_OPTS"
+JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS $LOG_OPTS
$SECURITY_OPTS $EXO_OPTS"
export JAVA_OPTS
# Launches the server
Show replies by date