Installing Tomcat9.0.86 with thingworx 9.4.4 - Manual Installation - Linux Ubuntu 22.04.3 LTS
Hello, I am struggling with a fresh install of thingworx 9.4.4. More so I am struggling to get the tomcat service to start. It is consistently comming up with the error: ubuntu systemd[1]: tomcat9.0.service: Killing process xxxx (n/a) with signal SIGKILL.
I have made sure that the permissions on the PID file location belongs to the tomcat9.0 user.
I have followed the guide: Install Java, Apache Tomcat, and ThingWorx (ptc.com)
I have installed java -version- openjdk version "11.0.21" 2023-10-17.
I have installed tomcat9.0.86.
For now, I have just used the self-signed certificate for simplicity and will change over once I have the service working.
From the guide I made sure to do the following:
Edit AUTHBIND properties to allow Tomcat to bind to ports below 1024
sudo apt-get install authbind
# For port 80
sudo touch /etc/authbind/byport/80
sudo chmod 500 /etc/authbind/byport/80
sudo chown tomcat9.0 /etc/authbind/byport/80
# For port 443
sudo touch /etc/authbind/byport/443
sudo chmod 500 /etc/authbind/byport/443
sudo chown tomcat9.0 /etc/authbind/byport/443
echo 'AUTHBIND=yes' | sudo tee /usr/share/tomcat9.0/9.0.86/bin/setenv.sh
sudo chmod +x /usr/share/tomcat9.0/9.0.86/bin/setenv.sh
Here is my Tomcat9.0.service file:
[Unit]
Description=Apache Tomcat Web Application Container
After=network.target
[Service]
Type=forking
PIDFile=/run/tomcat9.0/tomcat.pid
Environment="JAVA_OPTS=-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dserver -Dd64 -XX:+UseNUMA -Dlog4j2.formatMsgNoLookups=true -XX:+UseG1GC -Dfile.encoding=UTF-8 -Xms256M -Xmx512M -Djava.library.path=${CATALINA_BASE}/webapps/Thingworx/WEB-INF/extensions -DIGNITE_HOME=/usr/share/tomcat9.0/ignite"
Environment=CATALINA_PID=/run/tomcat9.0/tomcat.pid
Environment=JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
Environment=CATALINA_HOME=/usr/share/tomcat9.0/9.0.86
Environment=CATALINA_BASE=/usr/share/tomcat9.0/9.0.86
Environment=CATALINA_OPTS=
ExecStart=/usr/share/tomcat9.0/9.0.86/bin/jsvc \
-DIGNITE_HOME=/usr/share/tomcat9.0/ignite \
-Dcatalina.home=${CATALINA_HOME} \
-Dcatalina.base=${CATALINA_BASE} \
-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dserver -Dd64 -XX:+UseNUMA -Dlog4j2.formatMsgNoLookups=true \
-XX:+UseG1GC -Dfile.encoding=UTF-8 \
-Xms=4g \
-Xmx=4g \
-Djava.library.path=${CATALINA_BASE}/webapps/Thingworx/WEB-INF/extensions \
-Duser.timezone=UTC \
-cp ${CATALINA_HOME}/bin/commons-daemon.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
-user tomcat9.0 \
-java-home ${JAVA_HOME} \
-pidfile /run/tomcat9.0/tomcat.pid \
-errfile ${CATALINA_HOME}/logs/catalina.out \
-outfile ${CATALINA_HOME}/logs/catalina.out \
$CATALINA_OPTS \
org.apache.catalina.startup.Bootstrap
[Install]
WantedBy=multi-user.target
I am not sure where to turn to, and I am looking for some assistance / guidance / suggestions / additional reading material.
Thanks.

