Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy War File in Microsoft IIS 7

Tags:

java

iis-7

war

I would like to ask how can I deploy a war file to Microsoft IIS 7? Thanks in advance.

like image 823
user1176926 Avatar asked Feb 22 '12 09:02

user1176926


People also ask

Can we deploy WAR file in IIS?

You need a Java EE Web Container such as Tomcat or JBoss in order to do so. IIS can just act as a front facing proxy for the stuff hosted through the WAR file.

Where do I deploy a WAR file?

Copy and paste WAR files into Tomcat's webapps directory to deploy them. Tomcat monitors this webapps directory for changes, and if it finds a new file there, it will attempt to deploy it. If you do your application build on the same machine as your Tomcat server, simply cut and paste it to begin deployment.

Can I deploy Java application in IIS?

As IIS does not provide the services of a Java Application Server, it is not possible to deploy the Cognos Incentive Compensation Management web client directly into IIS.


1 Answers

You can't. You need a Java EE Web Container such as Tomcat or JBoss in order to do so. IIS can just act as a front facing proxy for the stuff hosted through the WAR file.

What you probably need is a way to connect IIS and Tomcat together so that requests for any dynamic resources such as JSPs and Servlets can be delegated to Tomcat.

The following link explains how to do so in detail.

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

like image 69
adarshr Avatar answered Sep 21 '22 14:09

adarshr