Since 220.127.116.11 version, Plexus Connect allows the use of a simple configuration file in a custom location. You can define the location by using the
com.chemaxon.plexus.connect.configuration.propertiesFilePath system property. An example of its usage can be found below
java -Xmx2096m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dcom.chemaxon.plexus.connect.configuration.propertiesFilePath=/Users/myUser/.chemaxon/plexus-suite/config.properties -Dfile.encoding=UTF-8 -Duser.language=en -Dport=9000 -jar plexus-suite.war
Currently, the options which can be set in the file are:
plexus.sessionExpirationTimeSecs (default is 3600 seconds)
These options can also be set in the
nps.properties file, which is a part of the downloaded *.war file. If there is a needs for customization of Nps.properties, than this file needs to be copied to the working location and this location has to be specified with the following option:
Also, it is possible to set these options as system properties at the time of starting Plexus. Please keep in mind that the system properties have the highest priority, followed by the custom properties file and the values saved in nps.properties have the lowest priority.
nps.properties file the
plexus.sessionExpirationTimeSecs property is kept as default
custom.properties file the
plexus.sessionExpirationTimeSecs property is set to
If Plexus was started by the command shown before, the session would expire in 1800 seconds as the
custom.properties would be taken in account. If the
-Dplexus.sessionExpirationTimeSecs=60 would be added to the command, the session would expire in one minute.
com.chemaxon.plexus.connect.configuration.propertiesFilePathproperty a sample file is provided.