Running your Java-based Web Applications on a Windows platform
Posted : January 19, 2005 at 2:45 pm [America/Los_Angeles]

If I had a choice and we were starting from scratch, I don’t think I would ever recommend a Windows Server + Internet Information Server (IIS) + Jakarta Tomcat as a Web Application Server platform. However, as many of us know, the reality is that we may very well find ourselves working in a company with millions already invested in Microsoft server and application development platform. How do you encourage JSP/Servlets/Struts as a web application development platform in such an environment?
Turns out last week, my brothers found themselves in a somewhat similar situation with the onus of providing a solution squarely on their very capable shoulders. One had to figure out a way to setup Apache 2.x + SSL + Rotate logs enabled + Tomcat 4.x/5.x on a Windows 2000 server platform. The other had to do hack his way and setup Microsoft IIS 5.x + Tomcat 5.x. They did what every developer ought to do in such a situation - Go “hunting” (for information that is) on Google. It took them a few trial and errors, but they soon had a working solution and in the process discovered some really useful links on this subject.
Here’s my attempt of having it all listed in one place for future reference purposes:
- Isapi redirector jk2.04 Installer - Integrating Tomcat with IIS
- Getting up and running with Tomcat 5.5 (on Windows with IIS)
- Tomcat 5.0.28 with mod_jk2 for Windows 2000/XP
- Getting IIS 5.x & Tomcat 5.x to play nice
- How To Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector (local copy as the original hyperlink does not seem to work)
- Building a Web Server, a Step-by-Step Instruction Guide Windows 2000/XP Instructions
Have something to add to this list? Feel free to use the comments
Enjoy!
- Anand
Category: Services and Software
3 Comments
Awesome stuff! I had to do the whole IIS + Tomcat thing a while back. I think we were using Tomcat 3.something and IIS running on NT4. The only server available was that NT4 server and corp security didn’t want to open up any other port than 80 which was already taken by IIS. So I used some ISAPI redirector code I found in the Tomcat docs and got it working. It worked pretty well too.
Posted by: Ben C at January 21, 2005 @ 7:14 am
Hello,,!!
Until,now i had searched how to solve my problem about IIs + Tomcat… so,
i have to appreciate to you….because,,i got it,,,Thanks,
regard
Nakamura from japan
Posted by: nakamura mitsugo at April 21, 2005 @ 11:27 pm
Hi,
I still got a problem such as my servlet cannot been executed. Here i put the result.
Tomcat Web Server
–
http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp
EL Expression Result
${1} 1
Tomcat + IIS
http://localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp
JSP 2.0 Expression Language - Basic Arithmetic
JSP 2.0 Expression Language - Basic Arithmetic
This example illustrates basic Expression Language arithmetic.
Addition (+), subtraction (-), multiplication (*), division (/ or div),
and modulus (% or mod) are all supported. Error conditions, like
division by zero, are handled gracefully.
Posted by: azhar at August 26, 2005 @ 1:04 am