comparison wildfly/standalone.conf @ 781:625c8ae7fc30

Add custom standalone.conf with timezone set to UTC. REST-interfaces will deliver wrong timestamps if timezone is not UTC.
author Tom Gottfried <tom@intevation.de>
date Fri, 13 Nov 2015 15:40:36 +0100
parents
children
comparison
equal deleted inserted replaced
780:ec231b0c343d 781:625c8ae7fc30
1 ## -*- shell-script -*- ######################################################
2 ## ##
3 ## JBoss Bootstrap Script Configuration ##
4 ## ##
5 ##############################################################################
6
7 #
8 # This file is optional; it may be removed if not needed.
9 #
10
11 #
12 # Specify the maximum file descriptor limit, use "max" or "maximum" to use
13 # the default, as queried by the system.
14 #
15 # Defaults to "maximum"
16 #
17 #MAX_FD="maximum"
18
19 #
20 # Specify the profiler configuration file to load.
21 #
22 # Default is to not load profiler configuration file.
23 #
24 #PROFILER=""
25
26 #
27 # Specify the location of the Java home directory. If set then $JAVA will
28 # be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
29 #
30 #JAVA_HOME="/opt/java/jdk"
31
32 #
33 # Specify the exact Java VM executable to use.
34 #
35 #JAVA=""
36
37 if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
38 JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
39 fi
40
41 # Uncomment the following line to prevent manipulation of JVM options
42 # by shell scripts.
43 #
44 #PRESERVE_JAVA_OPTS=true
45
46 #
47 # Specify options to pass to the Java VM.
48 #
49 if [ "x$JAVA_OPTS" = "x" ]; then
50 JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true"
51 JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
52 else
53 echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
54 fi
55
56 # REST-interfaces will deliver wrong timestamps if timezone is not UTC
57 JAVA_OPTS="$JAVA_OPTS -Duser.timezone=UTC"
58
59 # Sample JPDA settings for remote socket debugging
60 #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
61
62 # Sample JPDA settings for shared memory debugging
63 #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"
64
65 # Uncomment to not use JBoss Modules lockless mode
66 #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=false"
67
68 # Uncomment to gather JBoss Modules metrics
69 #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"
70
71 # Uncomment this in order to be able to run WildFly on FreeBSD
72 # when you get "epoll_create function not implemented" message in dmesg output
73 #JAVA_OPTS="$JAVA_OPTS -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)