automaIT needs a user that has access to the database. For security reasons this user should only be used to access the automaIT database with least possible permissions. The password for the user needs to match the user password pair from JDBC configuration.
su postgres createuser --port 5432 --no-createdb --no-createrole --no-superuser --login --pwprompt automait
To work properly automaIT server needs at least 512 MB of RAM. Depending on the number of concurrent users the value may be set much higher. For production usage it's recommended to reserve 1.5 GB of RAM for automaIT server. One of the The following files file needs to be placed at
#!/bin/sh # $CATALINA_HOME/bin/setenv.sh for Java 7 64-bit export JAVA_OPTS="-XX:+UseCompressedOops -XX:MaxPermSize=256m" # Usinguse Javathe 8next optionline MaxPermSizeinstead canif berunning removed because it is no longer supported by Java.
#!/bin/sh # $CATALINA_HOME/bin/setenv.sh for Java 7 32-bit exporton Java 8 64-bit #export JAVA_OPTS="-XX:MaxPermSize=256m" # Using Java 8 this file can be ignored as MaxPermSize is no longer supported by Java.+UseCompressedOops"
The file needs to be executable as well.
password have to match the values defined in section before. The attribute
maxWait defines how long (in milliseconds) the pool waits to obtain a connection if all are taken before reporting an error.
-1 will wait an infinite time.