Statistics
| Branch: | Tag: | Revision:

root / jboss-config / 5.1.0 / bin / run.conf @ 0fcbf8bd

History | View | Annotate | Download (1.7 kB)

1 6fd0673d Panagiotis Astithas
## -*- shell-script -*- ######################################################
2 6fd0673d Panagiotis Astithas
##                                                                          ##
3 6fd0673d Panagiotis Astithas
##  JBoss Bootstrap Script Configuration                                    ##
4 6fd0673d Panagiotis Astithas
##                                                                          ##
5 6fd0673d Panagiotis Astithas
##############################################################################
6 6fd0673d Panagiotis Astithas
7 6fd0673d Panagiotis Astithas
### $Id: run.conf 88389 2009-05-08 02:37:00Z ispringer $
8 6fd0673d Panagiotis Astithas
9 6fd0673d Panagiotis Astithas
#
10 6fd0673d Panagiotis Astithas
# This shell script is sourced by run.sh to initialize the environment 
11 6fd0673d Panagiotis Astithas
# variables that run.sh uses. It is recommended to use this file to
12 6fd0673d Panagiotis Astithas
# configure these variables, rather than modifying run.sh itself. 
13 6fd0673d Panagiotis Astithas
#
14 6fd0673d Panagiotis Astithas
15 6fd0673d Panagiotis Astithas
#
16 6fd0673d Panagiotis Astithas
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
17 6fd0673d Panagiotis Astithas
# the default, as queried by the system.
18 6fd0673d Panagiotis Astithas
#
19 6fd0673d Panagiotis Astithas
# Defaults to "maximum"
20 6fd0673d Panagiotis Astithas
#
21 6fd0673d Panagiotis Astithas
#MAX_FD="maximum"
22 6fd0673d Panagiotis Astithas
23 6fd0673d Panagiotis Astithas
#
24 6fd0673d Panagiotis Astithas
# Specify the JBoss Profiler configuration file to load.
25 6fd0673d Panagiotis Astithas
#
26 6fd0673d Panagiotis Astithas
# Default is to not load a JBoss Profiler configuration file.
27 6fd0673d Panagiotis Astithas
#
28 6fd0673d Panagiotis Astithas
#PROFILER=""
29 6fd0673d Panagiotis Astithas
30 6fd0673d Panagiotis Astithas
#
31 6fd0673d Panagiotis Astithas
# Specify the location of the Java home directory.  If set then $JAVA will
32 6fd0673d Panagiotis Astithas
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
33 6fd0673d Panagiotis Astithas
#
34 6fd0673d Panagiotis Astithas
#JAVA_HOME="/usr/java/jdk1.6.0"
35 6fd0673d Panagiotis Astithas
36 6fd0673d Panagiotis Astithas
#
37 6fd0673d Panagiotis Astithas
# Specify the exact Java VM executable to use.
38 6fd0673d Panagiotis Astithas
#
39 6fd0673d Panagiotis Astithas
#JAVA=""
40 6fd0673d Panagiotis Astithas
41 6fd0673d Panagiotis Astithas
#
42 6fd0673d Panagiotis Astithas
# Specify options to pass to the Java VM.
43 6fd0673d Panagiotis Astithas
#
44 6fd0673d Panagiotis Astithas
if [ "x$JAVA_OPTS" = "x" ]; then
45 0fcbf8bd Christos V. Stathis
   JAVA_OPTS="-Xms128m -Xmx1g -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
46 6fd0673d Panagiotis Astithas
fi
47 6fd0673d Panagiotis Astithas
48 6fd0673d Panagiotis Astithas
# Sample JPDA settings for remote socket debugging
49 6fd0673d Panagiotis Astithas
JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
50 6fd0673d Panagiotis Astithas
51 6fd0673d Panagiotis Astithas
# Sample JPDA settings for shared memory debugging 
52 6fd0673d Panagiotis Astithas
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"