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