Update the api war file

  • Shutdown apache:

    • cd /tdssapp/exec/apache/

    • ./bin/apachectl -k stop

  • Shutdown tomcat

    • cd /tdssapp/tomcat/

    • ./bin/shutdown.sh

  • Upload the new war file and copy it to /tdssapp/tomcat/webapps/ROOT.war

  • If Check /tdssapp/tomcat/webapps if it has a directory named ROOT, remove it

  • Restart tomcat

    • /tdssapp/tomcat/

    • ./bin/startup.sh

  • To check logs

    • cd /tdssapp/tomcat

    • tail -100f logs/catalina.out

  • Restart apacje

    • cd /tdssapp/exec/apache/

    • ./bin/apachectl -k start

Last updated