Lab Content Issue: Day 11: Install and Configure Tomcat Server of DevOps

curl http//stapp01:6400 was working


war file was also present in the directory

still lab failed

Looking at the output, it looks like ROOT.war is not getting picked up correctly. The output should look like this:

[root@stapp03 bin]# curl http://stapp03:8087
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>SampleWebApp</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <h2>Welcome to xFusionCorp Industries!</h2>
        <br>
    
    </body>
</html>

ROOT.war needs to get copied over from the jump host into /var/lib/tomcat/webapps.

hi refer to this solution