Score:0

how to start the snap install of tomcat?

mx flag

How is the tomcat server started?

nicholas@mordor:~$ 
nicholas@mordor:~$ sudo systemctl start tomcat
Failed to start tomcat.service: Unit tomcat.service not found.
nicholas@mordor:~$ 
nicholas@mordor:~$ sudo systemctl enable tomcat
Failed to enable unit: Unit file tomcat.service does not exist.
nicholas@mordor:~$ 
nicholas@mordor:~$ snap info tomcat-with-ssl
name:      tomcat-with-ssl
summary:   Apache Tomcat with SSL activated and managed by Certbot.
publisher: Brett Sutton (bsuttton)
store-url: https://snapcraft.io/tomcat-with-ssl
license:   unset
description: |
  Intended to use as a part to install Apache Tomcat with
  SSL enabled and the required certificate automatically
  managed by certbot (Lets Encrypt) including automatic renewals.
  Note: currently if a renewal occurs tomcat will be restarted without warning.
snap-id:      Fn6Om7Xumj9O1PsGY2O15rAOlA04e3jW
tracking:     latest/stable
refresh-date: today at 22:40 PDT
channels:
  latest/stable:    0.1 2018-02-23  (2) 149MB -
  latest/candidate: ↑                         
  latest/beta:      ↑                         
  latest/edge:      0.1 2018-09-12 (23) 121MB -
installed:          0.1             (2) 149MB -
nicholas@mordor:~$ 
nicholas@mordor:~$ man tomcat
No manual entry for tomcat
nicholas@mordor:~$ 
nicholas@mordor:~$ uname -a
Linux mordor 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nicholas@mordor:~$ 

It's just so I can deploy a few war files to localhost.

see also:

How to start a snap package

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.