Hello, I’ve complete the task mention couple of time following the below steps but I’m still marked as failed. #install tomcat server
sudo yum install tomcat -y
sudo yum install tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc -y #open server.xml to update port
sudo vi /etc/tomcat/server.xml #copy the war file, navigate back to jump server
scp /tmp/ROOT.war banner@stapp03:/tmp #use the below command to finish
sudo cp /tmp/ROOT.war /usr/share/tomcat/webapps
sudo systemctl restart tomcat
sudo systemctl restart tomcat
Below the message returned each time.
Unexpected exit code 1 for CommandResult(command=‘uname -s’, exit_status=1, stdout=None, stderr=‘Error: No such container: stapp0{{HOST_COUNT}}\n’)
I test using curl - 172.16.238.12:6400 and it return what I believe to be the website.
I’ve tried this task several time now.
Admin,
Can you please support/advise here?
I requested a review, tried the task again and still the task is marked as failed.
Below the message:
Unexpected exit code 1 for CommandResult(command=‘uname -s’, exit_status=1, stdout=None, stderr=‘Error: No such container: stapp0{{HOST_COUNT}}\n’)
Also below a screenshot of my history, that shows the steps I followed.
Apologies for this issue, we are trying to fix this issue. Once fixed we will update you and will mark this task as success or pending for you to try again.
@Inderpreet For me it is still showing under review, should I wait for the status to change to success or pending automatically or just re-attempt it ?
@Inderpreet@mmumshad
I tried this again and failed but hte port is correctly confugured and tomcat is rnning successfully as show in the snap . I can opne the URL from terminal on port 80 .