When i try to upload the geoserver.war file through apache tomcat and then deploying by clicking on Deploy .....deployment failed
I believe that is a problem of the filesize of the WAR file of geoserver.
At default tomcat only accepts 50MB in the WAR files to upload, open with notepad the file:
C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\webapps\manager\WEB-INF\web.xml
and find the lines with the text:
Increase that value, for example:
Restart tomcat and try again.