Score:0

How to start Tomcat9 in foreground on Ubuntu22.04 if it was installed by apt repo?

za flag
f_s

I'v installed tomcat9 on my Ubuntu22.04LTS vm with the following commands:

sudo apt update
sudo apt upgrade

sudo apt search tomcat
sudo apt info tomcat9
sudo apt install tomcat9 tomcat9-admin tomcat9-examples

Then i uploaded my webapp.war file on /var/lib/tomcat9/webapps/ folder and restart it with the command sudo service tomcat9 restart.

For debugging purposes, I would like also to launch my webapp in foreground. Where the catalina.sh file is ? Should I use another sh file ?

Pilot6 avatar
cn flag
What is `catalina.sh`?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.