Project

General

Profile

Download (1.27 KB) Statistics
| Branch: | Tag: | Revision:
1
#/etc/defaults/cdmserver
2

    
3
# CONTEXT_PATH_PREFIX per default is set to / in the cdmserver init script
4
# enable the below line to override this variable
5
#CONTEXT_PATH_PREFIX=cdmserver
6

    
7
# The JAVA_HOME variable
8
# must point to the location of the jdk you want to run the CDM Server with
9
#JAVA_HOME=/opt/java-oracle/jdk1.8
10

    
11
# To configure an alternative logging directory (default is /var/log/cdmserver) 
12
#LOGDIR=
13

    
14
# determine the number of processors available in the system
15
CPU_CORES=$(nproc)
16

    
17
# HEAP_SIZE=5000M
18

    
19
# jvm settings for jdk 1.8
20
#JAVA_OPTIONS="-Xms${HEAP_SIZE} -Xmx${HEAP_SIZE} -XX:+UseG1GC -XX:ParallelGCThreads=${CPU_CORES} -XX:ConcGCThreads=${CPU_CORES} -Duser.home=$CDM_HOME -Dcdm.logDir=$LOGDIR"
21

    
22
#
23
# enable jmx
24
#
25
CDMSERVER_ARGS="$CDMSERVER_ARGS -jmx"
26
JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=9999"
27

    
28
#
29
# enable remode debugging
30
#
31
#JAVA_OPTIONS="$JAVA_OPTIONS -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n"
32

    
33
#
34
# user custom logback configuration file
35
#
36
#JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=~/.cdmLibrary/logback.xml
37

    
38
#
39
# force schema update
40
#
41
CDMSERVER_ARGS="$CDMSERVER_ARGS -forceSchemaUpdate"
    (1-1/1)