Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## -*- shell-script -*- ######################################################
- ## ##
- ## JBoss Bootstrap Script Configuration ##
- ## ##
- ##############################################################################
- #
- # This file is optional; it may be removed if not needed.
- #
- #
- # Specify the maximum file descriptor limit, use "max" or "maximum" to use
- # the default, as queried by the system.
- #
- # Defaults to "maximum"
- #
- #MAX_FD="maximum"
- #
- # Specify the profiler configuration file to load.
- #
- # Default is to not load profiler configuration file.
- #
- #PROFILER=""
- #
- # Specify the location of the Java home directory. If set then $JAVA will
- # be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
- #
- #JAVA_HOME="/opt/java/jdk"
- #
- # Specify the exact Java VM executable to use.
- #
- #JAVA=""
- JBOSS_MODULES_SYSTEM_PKGS="org.jboss.logmanager"
- if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
- JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
- fi
- # Uncomment the following line to prevent manipulation of JVM options
- # by shell scripts.
- #
- #PRESERVE_JAVA_OPTS=true
- #
- # Specify options to pass to the Java VM.
- #
- if [ "x$JAVA_OPTS" = "x" ]; then
- JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true"
- JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
- else
- echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
- fi
- # Sample JPDA settings for remote socket debugging
- #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
- # Sample JPDA settings for shared memory debugging
- #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"
- # Uncomment to not use JBoss Modules lockless mode
- #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=false"
- # Uncomment to gather JBoss Modules metrics
- #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"
- # Uncomment this to run with a security manager enabled
- # SECMGR="true"
- # Uncomment this in order to be able to run WildFly on FreeBSD
- # when you get "epoll_create function not implemented" message in dmesg output
- #JAVA_OPTS="$JAVA_OPTS -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider"
- # Added 2015-08-01 by Dawid Mocek
- JAVA_OPTS="$JAVA_OPTS -Duser.timezone=Europe/Warsaw \
- -Duser.country=PL \
- -Xdebug \
- -Xms128m \
- -Xmx256m \
- -XX:PermSize=128m \
- -XX:MaxPermSize=256m \
- -Dcom.sun.management.jmxremote.port=6789 \
- -Dcom.sun.management.jmxremote.authenticate=false \
- -Dcom.sun.management.jmxremote \
- -Dcom.sun.management.jmxremote.ssl=false \
- -Djava.rmi.server.hostname=192.168.20.100 \
- -Djava.util.logging.manager=org.jboss.logmanager.LogManager \
- -Xbootclasspath/p:$JBOSS_HOME/modules/system/layers/base/org/slf4j/impl/main/slf4j-jboss-logmanager-1.0.3.GA.jar \
- -Xbootclasspath/p:$JBOSS_HOME/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.0.Final.jar \
- -Xbootclasspath/p:$JBOSS_HOME/modules/system/layers/base/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.2.Final.jar "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement