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:
- install iis on machine
- install jdk
- install jetty on windows (just download zip , unpack it)
- create war file
- copy war file jetty's installation folder under webapps directory.
- set iis web site web.config described here.
- 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
Post a Comment