Page tree

Since 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/ -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 file, which is a part of the downloaded *.war file. If there is a needs for customization of, 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 have the lowest priority.


In file the plexus.sessionExpirationTimeSecs property is kept as default =3600

In the file the plexus.sessionExpirationTimeSecs property is set to 1800

If Plexus was started by the command shown before, the session would expire in 1800 seconds as the would be taken in account. If the -Dplexus.sessionExpirationTimeSecs=60 would be added to the command, the session would expire in one minute.

If a non-existent file is defined in the com.chemaxon.plexus.connect.configuration.propertiesFilePath property a sample file is provided.