setenv file is located in $JLUPIN_HOME/platform/start/configuration (or directory %JLUPIN_HOME%\platform\start\configuration) and it contains initial configuration that controls the startup procedure of JLupin Platform.


The setenv includes the following parameters that :

  • JAVA_HOME - by default JLupin Platform'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 JLupin operates as a Windows Service
  • SERVICE_NAME - the name of JLupin Windows Service
  • 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_PORT - debug port, it implies ',address=$DEBUG_PORT' suffix for $DEBUG_OPTS
  • DEBUG_OPT - If you set LOG_LEVEL to DEBUG the additional parameters are provided to JVM through - $DEBUG_OPTS combined with $DEBUG_PORT
  • JMX_ENABLED - the switch that determines if JMX interface is enabled for Main Server
  • JMX_PORT - The port on which JMX server on Main Server is running.
  • JMX_OPTS - additional JMX options

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 (applicable only if Windows Service is used to manage JLupin)

## Windows service configuration
# You can change created service name

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

## Debug mode options

## JMX configuration
JMX_OPTS="-Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"