war - Deploying Java Servlet applications on Windows with IIS -


i have develop jsp-servlert application (i.e. war file) running on tomcat server. want run same web application on iis without tomcat.

currently following url: http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/

but while configuring java hosting package per mentioned in above article, giving error download jetty 8. other softwares same package getting download , install successfully.

when checked logs, found downloading jetty url: "http://dist.codehaus.org/jetty/jetty-hightide-8.1.7/jetty-hightide-8.1.7.v20120910.zip" , codehaus services has shutdown.

can me install jetty iis or other option deploy war iis?

thanks, sameerk

definately easiest option, @ time of writing, use microsoft's httpplatformhandler can install on iis 8+ (windows 8 or windows server 2012 @ least).

you need to:

  1. install iis on machine
  2. install jdk
  3. install jetty on windows (just download zip , unpack it)
  4. create war file
  5. copy war file jetty's installation folder under webapps directory.
  6. set iis web site web.config described here.
  7. that's it. can view site using http://localhost:your_iis_defined_port/your_war_name. if rename war root.war 'your_war_name' not necessary.

i have prepared step step guide on how more explanation.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -