Skip to content
Ethan Gruber edited this page Aug 19, 2025 · 6 revisions

The first step in deploying Numishare is to deploy Tomcat on the server. The Numishare documentation has been migrated to Tomcat 10 as of November 2024.

sudo apt-get install tomcat10

This will install Tomcat and all dependencies, including the latest Java JDK. Tomcat's home in Ubuntu is /var/lib/tomcat10 by default.

Configuring the Virtual Machine

By default, the Tomcat startup script will allot less than 500 MB of heap space to Java. Any application running Orbeon will likely require at least 2GB for test and 4GB in production, especially considering the complexity of the harvesting and transformation process.

The Orbeon wiki has documentation for configuring the virtual machine. Edit /etc/default/tomcat10 to modify the Java defaults. The following should function well in production:

JAVA_OPTS="-server -Djava.awt.headless=true -Xms2G -Xmx4G"

Clone this wiki locally