Overiew
setenv
file is located in $JLUPIN_HOME/server/start/configuration directory and it contains initial configuration that controls the startup procedure of JLupin.
Parameters
The setenv
includes the following parameters that :
- JAVA_HOME - by default JLupin Next Server's start script tries to set the value automatically. Set the JAVA_HOME here when automatic mechanisms fail.
- JAVA_OPTS - memory settings for Main Server' JVM process. The default value is enough for most use cases. Increase it only in case of performance issues and after consulting with support service.
- SERVER_OUT - The path of server output, using during startup process (LINUX)
- WINDOWS_SERVER_OUT - The path of server output, using during startup process (WINDOWS). Its applied only if
start_bg.cmd
is used to start JLupin. - LOG_LEVEL - determines the logging level of Main Server. NOTICE that 'DEBUG' level has significant impact on JLupin performance so please don't use it on production.
- DEBUG_PARAMS - If you set
LOG_LEVEL
toDEBUG
the additional parameters are provided to JVM (ex. debug port), you can modify here if you want, throughDEBUG_PARAMS
- JMX_PORT - The port on which JMX server on Main Server is running.
Default configuration file:
## JLupin tries to determine JAVA_HOME automatically, set it manually if it fails.
#JAVA_HOME=/opt/java
## Java Options for Main Server
JAVA_OPTS="-Dhttps.protocols=TLSv1.0,TLSv1.1,TLSv1.2 -Xms128M -Xmx256M"
## Server out for Main Server (initial logs from startup process)
# For LINUX
SERVER_OUT="logs/server/main/start/server.out"
# For WINDOWS (aplicable only if 'start_bg.cmd' is used to start JLupin)
WINDOWS_SERVER_OUT=logs\server\main\start\server.out
## Logging options for Main Server, available values:
# - ERROR
# - WARN
# - INFO (default)
# - DEBUG
LOG_LEVEL=INFO
## Debug mode options
DEBUG_PARAMS="-agentlib:jdwp=transport=dt_socket,address=12998,server=y,suspend=n"
## JMX configuration
# JMX_PORT -> -Dcom.sun.management.jmxremote.port=${JMX_PORT}
JMX_PORT=9010
## CONTROL configuration
# Set custom JAVA_HOME for local console, if not specified the Main Server settings are applied
#CONTROL_JAVA_HOME=
# Set custom path for local console configuration, if not specified default path is set
#CONTROL_CONFIGURATION_FILE=
# Set custom path for local console terminal commands history, if not specified default path is set
#CONTROL_HISTORY_FILE=
Note that setenv
file consists of additional parameters regarding JLupin Local Console, but these are described in admin guide.