5th
June
2009
Some time ago I wrote an installation guide for Apache Tomcat and IIS 6.0 using the JK 1.2 connector which you can find elsewhere on this blog. However, in response to a number of questions and comments on my blog and IIS forums I have decided to write a new installation guide for Apache Tomcat using the latest release of the JK 1.2 connector and IIS 7.0.
Read the rest of this entry »
posted in IIS 7.0, Tomcat |
6th
October
2008
I was recently asked a question about using SSL with Tomcat on IIS 6.0 and I had to confess that this was something I had never previously tried. So I decided to build a test platform and see if I could get it to work. I started by building an II 6.0 server with Tomcat and the JK 1.2 Connector as documented here : http://www.iisadmin.co.uk/?p=40
You can use any valid SSL certificate (including a self-signed certificate if you like) but in this example I used a 21-day trial SSL certificate from Thawte which you can get from here : http://www.thawte.com
Read the rest of this entry »
posted in Tomcat |
9th
September
2008
Some time ago I wrote an installation guide for Tomcat and IIS 6.0 using the JK2 connector which you can find elsewhere on this blog. However since I wrote that previous guide the JK2 connector for Tomcat has been deprecated and is no longer supported. In response to a number of questions and comments on my blog I have decided to write a new installation guide for Tomcat using the latest release of the JK 1.2 connector.
Read the rest of this entry »
posted in IIS 6.0, Tomcat |
9th
September
2008
I recently had to install Apache Tomcat 6 on a Windows Server 2003 machine and I ran into a problem which prevented the Tomcat service from starting. I had already installed the Java Runtime and then installed Tomcat following the default options. However, the Tomcat service just wouldn’t start. I looked in the Windows System Event Log and saw the rather unhelpful error message shown below. So, in order to try and get a handle on the problem I decided to run some monitoring on the server whilst the Tomcat process was starting. This is what I discovered.
Read the rest of this entry »
posted in Tomcat |
8th
September
2008
If you are running production IIS servers which host multiple web sites and application pools it is often quite important to be able to keep track of the various events which can impact the smooth running of your sites and applications. We recently had an issue where it appeared that certain sites were apparently being randomly re-started and we needed to get a handle on the problem and understand why this was happening. In order to do this I decided to enable logging of worker process recycling events by configuring the LogEventOnRecycle metabase property as described on Technet here :
Read the rest of this entry »
posted in IIS 6.0 |
3rd
September
2008
Here’s another oddity which I stumbled upon recently whilst working on a 64-bit Windows 2003 machine so I thought I’d share it here.
I installed IIS on a newly installed 64-bit Windows 2003 R2 server and needed to configure it to support Asp.Net 1.1 applications. In order to do this I had to configure IIS to run in 32-bit mode as documented in this KB article How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Windows.
Once I had done this I went back into the Properties of the Default Web Site and I noticed that the ASP.Net tab seemed to have mysteriously vanished. After closing and re-opening and then checking the MMC a few times I still couldn’t find the ASP.Net tab. So I followed the same procedure on another 64-bit Windows 2003 server and got the same results - the Asp.Net tab disappeared after I configured the Enable32bitAppOnWin64 metabase property.
Read the rest of this entry »
posted in 64-Bit Windows, IIS 6.0 |
22nd
October
2007
I have recently started working on 64-bit Windows servers more often and thought I’d share some of my experiences along the way.
One of the issues I encountered was with the installation of PHP on a 64-bit Windows Server 2003 R2 machine. The server already had IIS 6.0 installed so I downloaded the latest distribution of PHP and installed it in the usual way as described here How To Install PHP on IIS 6.0
Read the rest of this entry »
posted in 64-Bit Windows, IIS 6.0, PHP |
15th
October
2007
In this tutorial we are going to look at how to create an FTP site which enforces ‘User Isolation’ in IIS 5.0
User Isolation is implemented as an option in the FTP service in IIS 6.0 when you create a new FTP site and it allows you to host multiple FTP sites on one server - it is particularly useful in an ISP shared server hosting situation as it prevents users from accessing or even viewing other users’ folders on the server. The FTP user’s top level folder appears as the root of the FTP site.
Implementing user isolation in IIS 5.0 is possible but it requires the server administrator to do some additional configuration in order to set it up it both successfully and securely.
Read the rest of this entry »
posted in IIS 5.0 |
8th
October
2007
In this tutorial I am going to demonstrate how to secure a web site using a client certificate. I don’t intend to explain in detail what a client certificate is or how it works. If you don’t know then I suggest you read this Microsoft KB article before we get started :
IIS and client certificates
http://support.microsoft.com/?id=907274
In a nutshell a client certificate provides an extra layer of security for a web site - you can configure a web site so that any user wishing to connect is required to provide both a valid client certificate and a valid password. This is commonly known as ‘two factor authentication’ - the two factors are ’something that you know’ and ’something that you have’. In this scenario the ’something that you know’ is your password and the ’something that you have’ is your client certificate.
I am also going to expand on the final comments in the above KB article and demonstrate how to perform User mapping with a client certificate.
Read the rest of this entry »
posted in IIS 6.0 |
10th
September
2007
Update : The JK2 Connector is no longer supported. I have written an updated guide which you can find here : http://www.iisadmin.co.uk/?p=40
I have also written a guide for installing Tomcat with IIS 7.0 which you can find here : http://www.iisadmin.co.uk/?p=72
System Requirements
For this installation I used the following :
Windows Server 2003 Enterprise Edition
Internet Information Services (IIS) 6.0
Sun Java Runtime JRE 5.0 Update 2
Apache Jakarta Tomcat version 5.5.9
The JK2 Tomcat Web Server Connectors
Read the rest of this entry »
posted in IIS 6.0 |