<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>IIS Admin Blog</title>
	<atom:link href="http://www.iisadmin.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.iisadmin.co.uk</link>
	<description></description>
	<pubDate>Thu, 14 Jun 2012 15:27:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>How To Configure IIS 7.0 and Tomcat with the IIS ARR Module</title>
		<link>http://www.iisadmin.co.uk/?p=326</link>
		<comments>http://www.iisadmin.co.uk/?p=326#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:11:49 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[ARR]]></category>

		<category><![CDATA[IIS 7.0]]></category>

		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=326</guid>
		<description><![CDATA[Some time ago I wrote an installation guide for Apache Tomcat and IIS 7.0 using the JK 1.2 connector which you can find elsewhere on this blog. However, in response to a number of questions being asked on the Microsoft IIS forums I have decided to write a new installation guide for Apache Tomcat using [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I wrote an installation guide for Apache Tomcat and IIS 7.0 using the JK 1.2 connector which you can find elsewhere on this blog. However, in response to a number of questions being asked on the Microsoft IIS forums I have decided to write a new installation guide for Apache Tomcat using the Microsoft IIS Application Request Routing (ARR) module. Using the IIS ARR module means that there is no longer any need to use the Tomcat JK 1.2 ISAPI Connector.</p>
<p><span id="more-326"></span></p>
<p>For the purposes of this installation guide I used Java Runtime Version 6 Update 21, Apache Tomcat 6.0.29 and the Microsoft  		  		  			IIS Application Request Routing (ARR) 2.0 module.</p>
<p>You can download the software that I used in this guide from the following locations :</p>
<p>Java JRE Version 6 Update 21<br />
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a></p>
<p>Apache Tomcat (32-bit/64-bit Windows Service Installer)<br />
<a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a></p>
<p>IIS Application Request Routing (ARR) 2.0<br />
<a href="http://www.iis.net/download/applicationrequestrouting">http://www.iis.net/download/applicationrequestrouting</a></p>
<p>Start by installing the Java runtime (JRE) and accept the license agreement.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/1.png" alt="" /></p>
<p>Then change the installation target folder to C:\Java and then click OK and wait while Java installs</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/2.png" alt="" /></p>
<p>Once you have installed Java you can start installing Tomcat. Double-click the apache-tomcat-6.0.29.exe file to invoke the Apache Tomcat Setup Wizard.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/4.png" alt="" /></p>
<p>Choose a Custom installation and ensure that the Examples are selected as shown here. You wouldn&#8217;t necessarily want to install the sample applications in a production environment but we will be using them in this walkthrough so we need to install them.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/6.png" alt="" /></p>
<p>Select to install Tomcat in the C:\Tomcat folder as shown here and then click Next.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/7.png" alt="" /></p>
<p>Leave the default HTTP/1.1 Connector port set to 8080 and choose a password for the admin account.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/8.png" alt="" /></p>
<p>The setup wizard should find your Java installation automatically.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/9.png" alt="" /></p>
<p>Click install and wait while Tomcat setup completes. When the installation is complete click Finish.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatarr/10.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=326</wfw:commentRss>
		</item>
		<item>
		<title>How To Build a Windows Cluster with Virtual PC and iSCSI - Part III</title>
		<link>http://www.iisadmin.co.uk/?p=268</link>
		<comments>http://www.iisadmin.co.uk/?p=268#comments</comments>
		<pubDate>Fri, 05 Feb 2010 10:44:07 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[iSCSI]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=268</guid>
		<description><![CDATA[In the third and final article of this series we will look at installing the Windows Cluster service and creating a 2-node cluster using two virtual machines running in Virtual PC 2007. If you haven&#8217;t done so already I would recommend that you look at the previous two articles in this series which cover the [...]]]></description>
			<content:encoded><![CDATA[<p>In the third and final article of this series we will look at installing the Windows Cluster service and creating a 2-node cluster using two virtual machines running in Virtual PC 2007. If you haven&#8217;t done so already I would recommend that you look at the previous two articles in this series which cover the pre-requisites for building a cluster under Virtual PC. You can find them here (<a href="http://www.iisadmin.co.uk/?p=91" title="http://www.iisadmin.co.uk/?p=91">http://www.iisadmin.co.uk/?p=91</a>) and here (<a href="http://www.iisadmin.co.uk/?p=215" title="http://www.iisadmin.co.uk/?p=215">http://www.iisadmin.co.uk/?p=215</a>)</p>
<p><span id="more-268"></span></p>
<p>The Windows Cluster service requires a domain account in order to function correctly so start by creating a new domain account on your domain controller and make it a member of the Domain Users group. The account should also be made a member of the local Administrators group on each of the two nodes. </p>
<p>As mentioned previously, ensure that only one node is powered up at any one time until after the Cluster service has been installed. To begin the cluster installation log on to the first node using a domain account which is a member of the local administrators group and then launch the Cluster Administrator snap-in. Select the option to Create a new cluster from the drop-down and click OK</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Cluster/Cluster1.PNG" alt="" /></p>
<p>This will invoke the New Server Cluster Wizard. Click next to continue</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Cluster/Cluster2.PNG" alt="" /></p>
<p>On the Cluster name and Domain screen enter the domain name and the name of your cluster for your environment and click Next</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Cluster/Cluster3.PNG" alt="" /></p>
<p>On the Select Computer screen enter the name of the machine on which your are installing the Cluster service and click Next</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Cluster/Cluster4.PNG" alt="" /></p>
<p>The Cluster Wizard will analyze your setup to determine that the necessary requirements are in place for a successful installation. If it is successful you will see a green bar. In this example we can see that the wizard has flagged up a warning. This is due to the fact that my cluster nodes only have one network interface configured. In a production environment you should have separate network interfaces for the public and private networks but we can safely ignore the warning for the purposes of this test environment. Click Next to continue</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Cluster/Cluster5.PNG" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=268</wfw:commentRss>
		</item>
		<item>
		<title>How To Build a Windows Cluster with Virtual PC and iSCSI - Part II</title>
		<link>http://www.iisadmin.co.uk/?p=215</link>
		<comments>http://www.iisadmin.co.uk/?p=215#comments</comments>
		<pubDate>Thu, 04 Feb 2010 09:29:56 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[iSCSI]]></category>

		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=215</guid>
		<description><![CDATA[In the first part of this tutorial we looked at how to setup an iSCSI target in a virtual machine. If you haven&#8217;t read the first part you can find it here : How To Build a Windows Cluster with Virtual PC and iSCSI - Part I 
In this second part we will install and [...]]]></description>
			<content:encoded><![CDATA[<p>In the first part of this tutorial we looked at how to setup an iSCSI target in a virtual machine. If you haven&#8217;t read the first part you can find it here : <a href="http://www.iisadmin.co.uk/?p=91">How To Build a Windows Cluster with Virtual PC and iSCSI - Part I</a> </p>
<p>In this second part we will install and configure the Microsoft iSCSI Software Initiator and then in the third and final part we will build a Windows Server cluster using virtual machines running under Microsoft Virtual PC 2007.</p>
<p><span id="more-215"></span></p>
<p>Windows Server 2008 ships with a built-in iSCSI initiator but if you are running Windows Server 2003 you need to download and install it manually. In this walkthrough I am using version 2.08 which you can get here : <a href="http://www.microsoft.com/downloads/details.aspx?familyid=12cb3c1a-15d6-4585-b385-befd1319f825&#038;displaylang=en">Microsoft iSCSI Software Initiator Version 2.08</a></p>
<p>The Initiator software needs to be installed on each of the machines that will be required to connect to the iSCSI target in order join the cluster. Double-click the file &#8216;Initiator-2.08-build3825-x86fre.exe&#8217; to launch the setup. Click Next to continue</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator1.PNG" alt="" /></p>
<p>Ensure that &#8216;Initiator service&#8217; and &#8216;Software initiator&#8217; are both checked and click Next</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator2.PNG" alt="" /></p>
<p>Accept the license agreement and click Next</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator3.PNG" alt="" /></p>
<p>The installation wizard copies the files onto your server</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator4.PNG" alt="" /></p>
<p>When the installation completes click Finish to close the installation wizard.</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator5.PNG" alt="" /></p>
<p>Now that the Initiator software is installed we need to configure the iSCSI targets. Double-click the Microsoft iSCSI Initiator icon to open the Properties page. On the Discovery tab click Add</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator6.PNG" alt="" /></p>
<p>In the Add Target Portal dialog box type the IP address of your iSCSI target machine and click OK. Make sure that you leave the default port of 3260 set</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/Initiator/Initiator7.PNG" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=215</wfw:commentRss>
		</item>
		<item>
		<title>How To Build a Windows Cluster with Virtual PC and iSCSI - Part I</title>
		<link>http://www.iisadmin.co.uk/?p=91</link>
		<comments>http://www.iisadmin.co.uk/?p=91#comments</comments>
		<pubDate>Wed, 03 Feb 2010 15:01:31 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[iSCSI]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=91</guid>
		<description><![CDATA[I was working on a project recently which, for various reasons, required IIS to be installed in a Windows 2003 Server cluster and I was asked if I could do this. As I had never actually done this before I wanted to try it out for myself in a test environment. So I fired up [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a project recently which, for various reasons, required IIS to be installed in a Windows 2003 Server cluster and I was asked if I could do this. As I had never actually done this before I wanted to try it out for myself in a test environment. So I fired up Virtual PC 2007 and started to look at building a test platform using virtual machines.</p>
<p>Unfortunately, I quickly found out that that Virtual PC doesn&#8217;t emulate or provide support for SCSI disks and since SCSI disks are a requirement for a Windows Server 2003 cluster I had to look for an alternative method. I vaguely remembered an old post on a Virtual PC forum where someone had suggested that you could actually build a Windows Server cluster using iSCSI so I decided to give it a go.</p>
<p><span id="more-91"></span></p>
<p>A few internet searches led me to a number of iSCSI target software vendors&#8217; web sites and I eventually decided to<br />
use the Starwind free iSCSI target for Microsoft Windows which you can get here : <a href="http://www.starwindsoftware.com">http://www.starwindsoftware.com</a></p>
<p><strong>System Requirements</strong></p>
<p>In this walkthrough I will demonstrate how you can build a test environment using only virtual machines running under Virtual PC 2007.</p>
<p>A Windows Server cluster requires a domain account for the cluster service to function correctly so we will need to have a domain controller running in addition to the two cluster nodes and the iSCSI server. My test environment consists of 4 virtual machines each running Windows 2003 Server Enterprise Edition. Each virtual machine has been allocated 256MB of memory and a 4GB virtual hard disk. The iSCSI server has a second 10GB virtual hard disk assigned which is used as shared storage by the cluster.</p>
<p>All the virtual machines have been configured to use the Microsoft Loopback Adapter in Virtual PC as shown below and each machine has a static IP address assigned as follows :</p>
<p>Domain Controller  -  192.168.0.30<br />
iSCSI Server - 192.168.0.70<br />
Cluster Node A - 192.168.0.71<br />
Cluster Node B - 192.168.0.72</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/disk/Network.png" alt="" /></p>
<p>The virtual machine which will act as the iSCSI target server has a second virtual hard disk assigned to it. </p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/disk/disk1.png" alt="" /></p>
<p>This additional disk on the iSCSI server is configured as a Basic disk and formatted with NTFS as shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/iscsi/disk/disk12.png" alt="" /></p>
<p>The next step is to install the Starwind iSCSI Target Software. For the purposes of this test I used the free version which you can get here : <a href="http://www.starwindsoftware.com/free">StarWind Free iSCSI Target</a>.</p>
<p>Continued on the next page</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=91</wfw:commentRss>
		</item>
		<item>
		<title>How To Configure IIS 7.0 and Tomcat with the JK 1.2 Connector</title>
		<link>http://www.iisadmin.co.uk/?p=72</link>
		<comments>http://www.iisadmin.co.uk/?p=72#comments</comments>
		<pubDate>Fri, 05 Jun 2009 13:34:01 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[IIS 7.0]]></category>

		<category><![CDATA[Tomcat]]></category>

		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=72</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><span id="more-72"></span></p>
<p><strong>Update :</strong> I have also written a guide for installing Tomcat with IIS 7.0 on Windows Server 2008 using the IIS Application Request Routing (ARR) module which you can find here : <a href="http://www.iisadmin.co.uk/?p=326">http://www.iisadmin.co.uk/?p=326</a></p>
<p>For the purposes of this guide I have used Java Runtime Version 6 Update 13, Apache Tomcat 6.0.18 and the JK 1.2.28 Connector.</p>
<p>You can download the software used in this guide here :</p>
<p>Java Version 6 Update 13<br />
<a href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a></p>
<p>Apache Tomcat<br />
<a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a></p>
<p>Tomcat Connectors (mod_jk) Downloads<br />
<a href="http://tomcat.apache.org/download-connectors.cgi">http://tomcat.apache.org/download-connectors.cgi</a></p>
<p>Start by installing the Java runtime and accept the license agreement.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig1.png" alt="" /></p>
<p>Then change the installation target folder to C:\Java and then click OK and wait while Java installs</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig2.png" alt="" /></p>
<p>Once you have installed Java you can start installing Tomcat. Double-click the apache-tomcat-6.0.18.exe file to invoke the Apache Tomcat Setup Wizard.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig5.png" alt="" /></p>
<p>Choose a Custom installation and ensure that the Examples are selected as shown here. You wouldn&#8217;t necessarily want to install the sample applications in a production environment but we will be using them in this walkthrough so we need to install them.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig6.png" alt="" /></p>
<p>Select to install Tomcat in the C:\Tomcat folder as shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig7.png" alt="" /></p>
<p>Once you have chosen the install location click Next.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig8.png" alt="" /></p>
<p>Leave the default HTTP/1.1 Connector port set to 8080 and choose a password for the admin account.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig9.png" alt="" /></p>
<p>The setup wizard should find your Java installation automatically.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig10.png" alt="" /></p>
<p>Click install and wait while Tomcat setup completes.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig11.png" alt="" /></p>
<p>When the installation is complete click Finish.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatiis7/fig12.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=72</wfw:commentRss>
		</item>
		<item>
		<title>How To Configure SSL with Apache Tomcat and IIS 6.0</title>
		<link>http://www.iisadmin.co.uk/?p=67</link>
		<comments>http://www.iisadmin.co.uk/?p=67#comments</comments>
		<pubDate>Mon, 06 Oct 2008 13:52:29 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=67</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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 : <a title="http://www.iisadmin.co.uk/?p=40" href="http://www.iisadmin.co.uk/?p=40">http://www.iisadmin.co.uk/?p=40</a></p>
<p>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 : <a href="http://www.thawte.com">http://www.thawte.com</a></p>
<p><span id="more-67"></span></p>
<p>Before you can use a Thawte test SSL certificate you need to add the Thawte Test CA Root certificate to your server&#8217;s &#8216;Trusted Root Certification Authorities&#8217; certificate store as shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.1.png" alt="" /></p>
<p>Once you have done this you are now ready to add your certificate to your Tomcat web site. Right-click the web site, click Properties and then click the Directory Security tab. The &#8216;View Certificate&#8217; button should be greyed-out at this point, indicating that there is no certificate installed on this web site.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.2.png" alt="" /></p>
<p>Click the Server Certificate button and the Web Server Certificate Wizard should launch.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.3.png" alt="" /></p>
<p>Click Assign an existing certificate and then click Next.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.4.png" alt="" /></p>
<p>Click the certificate you wish to use and then click Next.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.5.png" alt="" /></p>
<p>Leave the SSL port set to the default of 443 and click Next.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.6.png" alt="" /></p>
<p>Click Finish and the certificate should now be installed.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcatssl/fig.7.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=67</wfw:commentRss>
		</item>
		<item>
		<title>How To Configure IIS 6.0 and Tomcat with the JK 1.2 Connector</title>
		<link>http://www.iisadmin.co.uk/?p=40</link>
		<comments>http://www.iisadmin.co.uk/?p=40#comments</comments>
		<pubDate>Tue, 09 Sep 2008 13:21:17 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[IIS 6.0]]></category>

		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=40</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><span id="more-40"></span></p>
<p><strong>Update :</strong> I have also written a guide for installing Apache Tomcat with IIS 7.0 on Windows Server 2008 which you can find here : <a href="http://www.iisadmin.co.uk/?p=72">http://www.iisadmin.co.uk/?p=72</a></p>
<p><strong>64-bit Update :</strong> I finally got around to testing this installation using Windows Server 2003 x64 Standard Edition and it worked OK. If you are using a 64-bit platform you need to ensure that you download the 64-bit Java JRE, the 64-bit version of Tomcat (I used the installer not the ZIP package) and the win64 Tomcat Connector.</p>
<p>For the purposes of this guide I have used Java Runtime Version 6 Update 7, Apache Tomcat 6.0.18 and the JK 1.2.26 Connector.</p>
<p>You can download the software used in this guide here :</p>
<p>Java Version 6 Update 7<br />
<a href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a></p>
<p>Apache Tomcat<br />
<a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a></p>
<p>Tomcat Connectors (mod_jk) Downloads<br />
<a href="http://tomcat.apache.org/download-connectors.cgi">http://tomcat.apache.org/download-connectors.cgi</a></p>
<p>Start by installing the Java runtime and accept the license agreement.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.1.PNG" alt="" /></p>
<p>Then change the installation target folder to C:\Java and then click OK and wait while Java installs</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.2.PNG" alt="" /></p>
<p>Once you have installed Java you can start installing Tomcat. Double-click the apache-tomcat-6.0.18.exe file to invoke the Apache Tomcat Setup Wizard.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.3.PNG" alt="" /></p>
<p>Choose a Custom installation and ensure that the Examples are selected as shown here. You wouldn&#8217;t necessarily want to install the sample applications in a production environment but we will be using them in this walkthrough so we need to install them.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.4.PNG" alt="" /></p>
<p>Select to install Tomcat in the C:\Tomcat folder as shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.5.PNG" alt="" /></p>
<p>Leave the default HTTP/1.1 Connector port set to 8080 and choose a password for the admin account.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.6.PNG" alt="" /></p>
<p>The setup wizard should find your Java installation automatically.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.7.PNG" alt="" /></p>
<p>Click install and wait while Tomcat setup completes.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.8.PNG" alt="" /></p>
<p>When the installation is complete click Finish.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/Fig.9.PNG" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=40</wfw:commentRss>
		</item>
		<item>
		<title>Apache Tomcat 6 Startup Error</title>
		<link>http://www.iisadmin.co.uk/?p=22</link>
		<comments>http://www.iisadmin.co.uk/?p=22#comments</comments>
		<pubDate>Tue, 09 Sep 2008 10:38:02 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=22</guid>
		<description><![CDATA[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&#8217;t start. I looked in the Windows System [...]]]></description>
			<content:encoded><![CDATA[<p>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&#8217;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.</p>
<p><span id="more-22"></span></p>
<p>The service failed to start again and the same entry appeared in the System event log.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/eventlog.PNG" alt="" /></p>
<p>I delved a bit deeper and discovered that the Tomcat service writes to a log file called jakarta_service_YYYYMMDD.log, so I looked in this file and saw the following entry : [994  prunsrv.c] [error] Failed creating java C:\Java\bin\client\jvm.dll</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/log.PNG" alt="" /></p>
<p>As you can see the error in the log file seemed to suggest that there was a problem with the file jvm.dll in the C:\Java\bin\client folder. I looked in that folder and I could see that the file was already there - so why should Tomcat be throwing an error suggesting there was a problem creating the file ?</p>
<p>Thinking I was perhaps facing a permissions issue I reached for a copy of Sysinternals Process Monitor and fired up a trace on the server whilst trying once more to start the Tomcat service. What I found was quite interesting.</p>
<p>The Tomcat service (tomcat6.exe) seemed to be able to find the jvm.dll file OK but then it appeared to be looking for a file called MSVCR71.DLL and, as you can see highlighted in the screen capture below, it wasn&#8217;t able to locate this file in any of the folders in which it was searching. Immediately following this you can see the tomcat6.exe process start writing to its own log file (jakarta_service_20080826.log) recording the error message shown above.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/MSVCR71.png" alt="" /></p>
<p>Since Tomcat was unable to find this file I decided to see if I could. I searched the whole of the C drive on the server and actually found the MSVCR71.DLL  file in the locations shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/tomcat6/search1.PNG" alt="" /></p>
<p>As you can see the file was actually found on my server - just not in any of the locations in which Tomcat was looking. The solution was simple. Once I had copied MSVCR71.DLL to the C:\Java\bin\client folder the Tomcat service started successfully.</p>
<p>You can get the Sysinternals free utilities here : <a title="http://technet.microsoft.com/en-us/sysinternals/default.aspx" href="http://technet.microsoft.com/en-us/sysinternals/default.aspx">http://technet.microsoft.com/en-us/sysinternals/default.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=22</wfw:commentRss>
		</item>
		<item>
		<title>How to Configure Application Pool Recycle Event Logging in IIS 6.0</title>
		<link>http://www.iisadmin.co.uk/?p=17</link>
		<comments>http://www.iisadmin.co.uk/?p=17#comments</comments>
		<pubDate>Mon, 08 Sep 2008 13:18:38 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[IIS 6.0]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=17</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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 <strong>LogEventOnRecycle</strong> metabase property as described on Technet here :</p>
<p><span id="more-17"></span><a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/87892589-4eda-4003-b4ac-3879eac4bf48.mspx?mfr=true">Logging Worker Process Recycling Events in IIS 6.0 (IIS 6.0)</a></p>
<p>The online documentation states that by default IIS does not log worker process recycling events. However, this is not entirely accurate. If you execute the following command against an unmodified installation of IIS 6.0 you should see that it returns the value shown below :</p>
<p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs get w3svc/AppPools/LogEventOnRecycle</p>
<p><img src="http://www.iisadmin.co.uk/images/recycle/Fig.1.PNG" alt="" /></p>
<p>What this means is that if you have an application pool (say for example the DefaultAppPool) which was created with the default values in place, then that application pool will be recycled every 1740 minutes after the first request is made. When that event occurs it will in fact be recorded in the System event log as shown below. If you also schedule application pool recycles then those events will also be logged.</p>
<p><img src="http://www.iisadmin.co.uk/images/recycle/Fig.2.PNG" alt="" /></p>
<p>However, if an application pool is manually recycled or has its configuration altered in some way by an administrator then these events will not be logged if you have the default <strong>LogEventOnRecycle</strong> metabase property in place. This is one of those circumstances where I personally feel that the default setup value is not the best choice. I would rather have everything that affects my application pools logged so that I have a clearer picture of what is happening on my web servers. At the very least I would rather be informed about an unexpected application pool recycle than one which I have already scheduled and would therefore be likely to know about.</p>
<p>So, if you want to enable logging of <strong>all</strong> application pool recycling events you need to issue the following command :</p>
<p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs Set w3svc/AppPools/LogEventOnRecycle 255</p>
<p><img src="http://www.iisadmin.co.uk/images/recycle/Fig.3.PNG" alt="" /></p>
<p>Once you have done this you will start to see additional events related to application pool recycling being logged to the System event log. For example, if a configuration change is made to a specific application pool then you will see event ID 1080 being logged as shown here.</p>
<p><img src="http://www.iisadmin.co.uk/images/recycle/Fig.4.PNG" alt="" /></p>
<p>And if an administrator manually recycles an application pool then that event will also be captured. The online documentation contains a list of all the application pool recycle event ID&#8217;s which you can expect to see.</p>
<p><img src="http://www.iisadmin.co.uk/images/recycle/Fig.5.PNG" alt="" /></p>
<p>However, there are a few limitations which I think are worthy of comment. Firstly, it would be nice to see the actual user ID of the person who made the change being captured in the event log. And secondly, it appears that if instead of recycling an application pool an administrator simply stops and re-starts it, then these actions are not captured at all. I think this is a pretty serious oversight as it allows someone to circumvent the auditing process, which is never a good thing.</p>
<p>Having said this I still feel that there is a real benefit to be gained from enabling the logging of all application pool recycle events and I would recommend that you do this on all production or mission critical systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>The ASP.Net Tab is Missing on 64-bit Windows</title>
		<link>http://www.iisadmin.co.uk/?p=15</link>
		<comments>http://www.iisadmin.co.uk/?p=15#comments</comments>
		<pubDate>Wed, 03 Sep 2008 10:56:49 +0000</pubDate>
		<dc:creator>Paul Lynch</dc:creator>
		
		<category><![CDATA[64-Bit Windows]]></category>

		<category><![CDATA[IIS 6.0]]></category>

		<guid isPermaLink="false">http://www.iisadmin.co.uk/?p=15</guid>
		<description><![CDATA[Here&#8217;s another oddity which I stumbled upon recently whilst working on a 64-bit Windows 2003 machine so I thought I&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another oddity which I stumbled upon recently whilst working on a 64-bit Windows 2003 machine so I thought I&#8217;d share it here.</p>
<p>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 <a href="http://support.microsoft.com/?id=894435">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</a>.</p>
<p>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&#8217;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.</p>
<p><span id="more-15"></span>If you&#8217;ve got a 64-bit server you can test this out for yourself by following these steps.</p>
<p>Install IIS 6.0 on the server and then open the Properties of the Default Web Site. You should see the Asp.Net tab as shown here</p>
<p><img src="http://www.iisadmin.co.uk/images/missingtab/fig.1.png" alt="Fig. 1" /></p>
<p>If you now run the following command at this point :</p>
<p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs get W3SVC/AppPools/Enable32bitAppOnWin64</p>
<p>you should see that it returns a value of false as shown below, which shows that IIS is currently running in 64-bit mode.</p>
<p><img src="http://www.iisadmin.co.uk/images/missingtab/fig.2.png" alt="Fig. 2" /></p>
<p>In order to configure IIS to run in 32-bit mode you need to execute this command :</p>
<p>cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1</p>
<p>You should now see that it returns a value of True as shown here. This means that IIS is now running in 32-bit mode on your server.</p>
<p><img src="http://www.iisadmin.co.uk/images/missingtab/fig.3.png" alt="Fig. 3" /></p>
<p>If you then go back to look at the properties of the Default Web Site you will see that the ASP.Net tab has gone.</p>
<p><img src="http://www.iisadmin.co.uk/images/missingtab/fig.4.png" alt="Fig. 4" /></p>
<p>I have to admit that this had me puzzled at first until I found a reference to this KB article - <a href="http://support.microsoft.com/?id=919283">The &#8220;ASP.NET&#8221; tab of IIS Manager does not appear when you retrieve the properties for a virtual directory in IIS Manager</a></p>
<p>Apparently, this anomaly is due to the fact that the 32-bit version of IIS Manager is incompatible with 64-bit machines running Asp.Net</p>
<p>What this means in practical terms is that if you have a 64-bit server running IIS in 32-bit mode and you need to change the version of the .Net framework on a particular web site then you need to use the <a href="http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx">ASP.NET IIS Registration Tool (Aspnet_regiis.exe)</a> to make those changes.</p>
<p>The use of this tool does present its own unique challenges which I&#8217;ll cover in a future post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iisadmin.co.uk/?feed=rss2&amp;p=15</wfw:commentRss>
		</item>
	</channel>
</rss>
