# Port for use by Access Point Binder service
PORT=8090
# Number of connection requests that can be queued
ACCEPT_QUEUE_SIZE=0
# Max text message buffer size, in bytes
MAX_TEXT_MESSAGE_BUFFER_SIZE=524288

# Path to Java executable
JAVA=/usr/bin/java

# Memory
JAVA_INIT_HEAP=128m
JAVA_MAX_HEAP=2048m

# Options for Java Garbage Collector
GC_OPTS="-XX:+UseG1GC \
-XX:+UseStringDeduplication \
-Xlog:gc*,gc+age=trace:/var/log/eltex-apb/gc.log:time,uptime,level,tags:filecount=7,filesize=5M"

JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/eltex-apb $GC_OPTS"

# To enable remote debugging uncomment the following line.
#JMX_OPTS="-Dcom.sun.management.jmxremote \
#-Dcom.sun.management.jmxremote.port=8091 \
#-Dcom.sun.management.jmxremote.ssl=false \
#-Dcom.sun.management.jmxremote.authenticate=false \
#-Dcom.sun.management.jmxremote.local.only=false \
#-Djava.rmi.server.hostname=127.0.0.1"