Deploy a WAR File on a Linux

Salikramchadar
Jan 22, 2024
  • Open your project in Eclipse or your preferred IDE.
  • Right-click on the project.
  • Choose “Export” > “WAR file”.
  • Select the project and destination.
  • Click “Finish” to export as a WAR file.

Using the Manager App (webapp):

  • Access the Tomcat Manager App by navigating to http://localhost:8080/manager/html.
  • Log in with appropriate credentials (configured in tomcat-users.xml).
  • Use the Manager App’s interface to the WAR file by uploading it from your local machine.

Using WinSCP Software:

  • Use WinSCP to securely transfer the WAR file from your local machine to the server where Tomcat is hosted.
  • Access the Tomcat server directory (webapps) via WinSCP.
  • Copy and paste the WAR file into the webapps directory of Tomcat.

Read More …

--

--