[jboss-cvs] JBossAS SVN: r90747 - in branches/JBPAPP_5_0: main/src/bin and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jul 1 13:21:04 EDT 2009
Author: smarlow at redhat.com
Date: 2009-07-01 13:21:04 -0400 (Wed, 01 Jul 2009)
New Revision: 90747
Added:
branches/JBPAPP_5_0/build/buildprod.sh
Modified:
branches/JBPAPP_5_0/main/src/bin/run.conf
branches/JBPAPP_5_0/main/src/bin/run.sh
Log:
JBPAPP-2052 production profile for EAP 5
Added: branches/JBPAPP_5_0/build/buildprod.sh
===================================================================
--- branches/JBPAPP_5_0/build/buildprod.sh (rev 0)
+++ branches/JBPAPP_5_0/build/buildprod.sh 2009-07-01 17:21:04 UTC (rev 90747)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./build.sh -Dversion.major=5 -Dversion.minor=1 -Dversion.revision=0 -Dversion.tag=GA -Dversion.name=EAP
Property changes on: branches/JBPAPP_5_0/build/buildprod.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/JBPAPP_5_0/main/src/bin/run.conf
===================================================================
--- branches/JBPAPP_5_0/main/src/bin/run.conf 2009-07-01 14:09:08 UTC (rev 90746)
+++ branches/JBPAPP_5_0/main/src/bin/run.conf 2009-07-01 17:21:04 UTC (rev 90747)
@@ -42,8 +42,10 @@
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
- JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+ JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
fi
+## Specify the Security Manager options
+#JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$POLICY"
# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
Modified: branches/JBPAPP_5_0/main/src/bin/run.sh
===================================================================
--- branches/JBPAPP_5_0/main/src/bin/run.sh 2009-07-01 14:09:08 UTC (rev 90746)
+++ branches/JBPAPP_5_0/main/src/bin/run.sh 2009-07-01 17:21:04 UTC (rev 90747)
@@ -11,36 +11,6 @@
PROGNAME=`basename $0`
GREP="grep"
-# Set conf if specified, else set to default
-JBOSSCONF="default"
-CONF_SPECIFIED=false
-
-arg_count=1
-eval SWITCH=\${$arg_count}
-while [ ! -z "$SWITCH" ]
-do
-
- if [ "$SWITCH" = "-c" ]; then
- eval JBOSSCONF=\$`expr $arg_count + 1`
- CONF_SPECIFIED=true
- break
- fi
-
- echo "$SWITCH" | grep "^\-\-configuration=" > /dev/null
- if [ $? -eq 0 ]; then
- JBOSSCONF=`echo $SWITCH|sed 's/\-\-configuration=//'`
- break
- fi
-
- arg_count=`expr $arg_count + 1`
- eval SWITCH=\${$arg_count}
-done
-
-if [ x${CONF_SPECIFIED} = "xfalse" ]
-then
- set -- "-c" ${JBOSSCONF} $@
-fi
-
# Use the maximum available, or set MAX_FD != -1 to use that
MAX_FD="maximum"
@@ -79,12 +49,7 @@
# Read an optional running configuration file
if [ "x$RUN_CONF" = "x" ]; then
-
- if [ ! -z "$JBOSSCONF" ] && [ -f "$DIRNAME/../server/$JBOSSCONF/run.conf" ]; then
- RUN_CONF="$DIRNAME/../server/$JBOSSCONF/run.conf"
- else
- RUN_CONF="$DIRNAME/run.conf"
- fi
+ RUN_CONF="$DIRNAME/run.conf"
fi
if [ -r "$RUN_CONF" ]; then
. "$RUN_CONF"
More information about the jboss-cvs-commits
mailing list