setenv file is located in $JLUPIN_HOME/server/start/configuration directory and it contains initial configuration that controls the startup procedure of JLupin.


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 to DEBUG the additional parameters are provided to JVM (ex. debug port), you can modify here if you want, through DEBUG_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 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 WINDOWS (aplicable only if 'start_bg.cmd' is used to start JLupin)

## Logging options for Main Server, available values:
# - WARN
# - INFO (default)

## Debug mode options

## JMX configuration
# JMX_PORT -> -Dcom.sun.management.jmxremote.port=${JMX_PORT}

## CONTROL configuration
# Set custom JAVA_HOME for local console, if not specified the Main Server settings are applied
# Set custom path for local console configuration, if not specified default path is set
# Set custom path for local console terminal commands history, if not specified default path is set

Note that setenv file consists of additional parameters regarding JLupin Local Console, but these are described in admin guide.