Install and Configure Tomcat Server tomcat

this command is showing tomcat not found sudo yum install tomcat. can any help me

Hi @tambekrish,
HINT:
You need to download the archive file from the Tomcat official site. And extract it to a specific location in the given server to make it work. I hope this hint will help you to accomplish the task.

Regards,

I downloaded the archive file from Tomcat official site and configured the tomcat is working. But its showing connection refused



Yes, and restarted the service

@tsanghan
After restarting it was worked fine but now it showing
- application is not setup correctly on App Server 2
FAILED test_tomcat.py::test_tomcat - AssertionError: - application is not set…

Did you add host block to tomcat config?

	<Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
	<Context path="/" docBase="ROOT.war" />
	</Host>

Did you put ROOT.war file to correct location (/var/lib/tomcat/webapps/ in my case)?