How to deploy java (jar or war) on Windows IIS

I have a java project that launches its own server (localhost) for user access. Then I was asked to deploy my tool in Apache, so I wrapped it in a WAR file (along with some changes to create servlets), and this is what we are using now. However, now I need to deploy my application on a Windows IIS server. Does anyone know how to do this? What needs to be rewritten or changed, or is it the only answer (found on another question) to install tomcat and talk to IIS with tomcat? Many thanks

+4
source share
3 answers

Try the following: Deploying WAR files in IIS

+4
source

This may be useful for you - http://tomcatiis.riaforge.org/

+1
source

This is a very simple process. Just follow these steps. (Version 5.5.25)

  • Open Tomcat in a browser using http: // tomcat-address (network ip or localhost)
    It will open the tomcat page.
  • In the left part of the administrative part, click the Tomcat Manager link. It will request a username and password. Enter the password for the admin username. In general, it is β€œadmin” and empty means password. After he shows you a list of installed military files.
  • Now go to the "Deployment" section after the installed list of military applications.
  • There will be a WAR file to deploy section, click on the file to select your .war file.
  • Now click the "Deploy" button and do it.
-3
source

Source: https://habr.com/ru/post/1403172/


All Articles