mixconfigurationproperties

MIX traditionally used a configuration file called mix.properties to set the parameters for the MIX installation. This has given way to a more uniform configuration file, used for all ErgoTech applications and stand-alone deployments, ErgoTechConfiguration.properties.

Note: Some startup parameters for MIX must be provided on the command-line as “-D” options and these special cases will be noted in this article.

ErgoTechConfiguration.properites is a text file which lists parameters and their values in a column, formatted as:

propertyName=propertyValue

The MIX runtime configuration has traditionally been named “mix.properties” but all these properties can be entered in a standard ErgoTechConfiguration.properties file.

#MIX properties
#
# remember that you MUST put a UnlockSever in the VIB Logic
# if you use a non-zero synclock time
synclock.timeout = 0
# 
debug.level = 0
mix.port=7226
#mix.usedirectorynamesasprojectnames=true
ntp.setter=date
ntp.pollinterval=3600
ntp.dateformat=MMddHHmmyyyy.ss
#authenticate=false
 
# the parameter below is an example of setting a non-default OPC Gateway port (other than port 5223)
#opc.port=3000
 
#setting this tells all opc beans to simulate
#opc.issimulating=true
 
#for OPCUA
exported.only=true
#export.servers=OPCUA
export.classpath=./lib/OPCUAServer.jar;./lib/opcua/guava-19.0.jar;./lib/opcua/jool-0.9.11-SNAPSHOT.jar;./lib/opcua/;./lib/opcua/jsr305-2.0.1.jar;./lib/opcua/metrics-core-3.1.2.jar;./lib/opcua/netty-all-4.0.35.Final.jar;./lib/opcua/protonpack-1.9.jar;./lib/opcua/reflections-0.9.10.jar;
 
#simulate all devices
#global.simulate=true
 
# The root of the web server
htmlroot.dir=./htmlroot
# The default project.  If set, the web browser will load from this directory directly
mix.project=mix
# The disk directory as used by HSQLDB and others.
diskdir=./

authenticate

The authenticate property defaults to true but can be set to false to avoid the login panel for the MIX web view.

mix.port

By default MIX runs on port 7226. You can change this port to a different value and restart MIX. The URL to access the web view will change from http://ipaddress:7226 to the new port, such as http://ipaddress:xxxx where mix.port is set to xxxx.

  • mixconfigurationproperties.txt
  • Last modified: 2022/09/26 18:23
  • by wikiadmin