...
Replace the current /etc/default/tomcat7 with
#
...
A
...
backup
...
of
...
the
...
original
...
file
...
with
...
addition
...
options
...
is
...
at
...
/etc/default/tomcat7.bak
TOMCAT7_USER=tomcat7
TOMCAT7_GROUP=tomcat7
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
#Postgres
JAVA_OPTS="-Dfcrepo.home=/opt/fedora-data
...
-Dfcrepo.modeshape.configuration=classpath:/config/jdbc-postgresql/repository.json
...
-Dfcrepo.postgresql.username=trilby
...
-Dfcrepo.postgresql.password=porkpie2
...
-Dfcrepo.postgresql.host=localhost
...
-Dfcrepo.postgresql.port=5432
...
-Djava.awt.headless=true
...
-XX:+UseG1GC
...
-XX:+UseCompressedOops
...
-XX:-UseLargePagesIndividualAllocation
...
-XX:MaxPermSize=128M
...
-Xms512m
...
-Xmx4096m
...
-Djava.util.logging.config.file=/etc/tomcat7/logging.properties
...
-server"
Fedora export
In sufia 6 instance:
...