In order to step away from the ISAPI solution to proxy IIS requests to Tomcat, I wanted to give ARR2.5 a whirl and use its proxy options along with URL rewrites to achieve the same.
However, after installing ARR2.5 via the WPI (which all goes fine), my application pools start to crash the moment I try and visit one of the websites running on the server, resulting in 503 errors. I haven't set up any proxy or URL rewrite rules yet. This
is immediately after installing ARR2.5.
Event logs show 5 errors concerning listener channel failures after which it lists the error about the subsequent application pool shutdown.
My server configuration is a very default one: 1 Windows 2008R2 64bit server with 1 IIS7.5 instance, hosting several websites.
Regarding 5 consecutive failures, that is a feature in IIS called "rapid fail protection." It is meant to prevent the application pool from continously failing to start forever. And when you trigger this condition, which you have, then the application
pool will remain stopped.
That said, what you will want to investigate is the individual failures.
Some questions:
1. Prior to installing ARR, did you alreadyinstall URL rewrite?
2. What does the event log say exactly (including the error code, and also the details view).
3. Could you tell me little bit more about the "several websites"? And more specifically, what's running on *:80?
Yes, I was aware of the feature. I disabled the rapid fail protection to see what the result would be like, but that seemed to cause .
1. It was already installed before I installed ARR.
2. I'll have to reproduce these, but the system event log listed the standard listener channel failures and the subsequent pool shutdown one. I must however say I didn't check the event log until 2 days later. The application event log was flushed by that
time, so I couldn't check it for corresponding errors anymore.
3. Several websites meaning ASP.NET websites. One website per IP address, all on port 80.
There are currently no rewrite rules configured in URL Rewrite. Is this a must-have when ARR is installed? Will requests route as before (just via ARR), e.g. index.aspx routes to index.aspx, etc? Or do I also need rules in place for that?
I wanted to give ARR with URL Rewrite a go for the following scenario: I have an application running via Tomcat on port 8080, currently available on http://localhost:8080. I want to make this accessible on a subdomain, i.e. application.domain.com:80.
The scenario that you've described is supported. So I am surprised that you are running into problems.
URL rewrite is a required component of ARR. ARR, in fact, is a collection of several components, one of which is URL rewrite.
With that said, the first thing that need to be understood is the root cause of the crash. Have you been able to look at the event look and see what is actually crashing? It should have references to a DLL that is the cause. In addition, you've mentioned
that the machine has several sites. Are you seeing the crash on all the sites?
I've been able to solve this issue after narrowing the cause down with the application event log. The main culprit I had no knowledge off however, was the presence of a Plesk implementation on the server. Plesk comes with 2 custom users, which were the cause
of the issue I ran into.
For future reference:
The application event log will have an entry such as this:
This shows a permission issue (<Binary>05000000</Binary>) on C:\Program Files (x86)\IIS\Application Request Routing\requestRouter.dll, which can be fixed by giving the two Plesk custom users read/write permissions on C:\Program Files (x86)\IIS\.
Thanks again for your help, wonyoo. Much appreciated! Also to give me a better understanding of ARR, its components and the request handling.
Marked as answer by thephiend on Mar 27, 2012 10:58 AM
thephiend
4 Posts
Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 21, 2012 11:10 AM|LINK
Hello,
In order to step away from the ISAPI solution to proxy IIS requests to Tomcat, I wanted to give ARR2.5 a whirl and use its proxy options along with URL rewrites to achieve the same.
However, after installing ARR2.5 via the WPI (which all goes fine), my application pools start to crash the moment I try and visit one of the websites running on the server, resulting in 503 errors. I haven't set up any proxy or URL rewrite rules yet. This is immediately after installing ARR2.5.
Event logs show 5 errors concerning listener channel failures after which it lists the error about the subsequent application pool shutdown.
My server configuration is a very default one: 1 Windows 2008R2 64bit server with 1 IIS7.5 instance, hosting several websites.
Any idea what could cause this?
AppPool ARR 2.5 64-bit 503
wonyoo
196 Posts
Microsoft
Moderator
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 24, 2012 03:21 AM|LINK
Regarding 5 consecutive failures, that is a feature in IIS called "rapid fail protection." It is meant to prevent the application pool from continously failing to start forever. And when you trigger this condition, which you have, then the application pool will remain stopped.
That said, what you will want to investigate is the individual failures.
Some questions:
1. Prior to installing ARR, did you alreadyinstall URL rewrite?
2. What does the event log say exactly (including the error code, and also the details view).
3. Could you tell me little bit more about the "several websites"? And more specifically, what's running on *:80?
Thanks.
ARR application Request Routiing
thephiend
4 Posts
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 24, 2012 12:45 PM|LINK
Yes, I was aware of the feature. I disabled the rapid fail protection to see what the result would be like, but that seemed to cause .
1. It was already installed before I installed ARR.
2. I'll have to reproduce these, but the system event log listed the standard listener channel failures and the subsequent pool shutdown one. I must however say I didn't check the event log until 2 days later. The application event log was flushed by that time, so I couldn't check it for corresponding errors anymore.
3. Several websites meaning ASP.NET websites. One website per IP address, all on port 80.
wonyoo
196 Posts
Microsoft
Moderator
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 24, 2012 05:14 PM|LINK
I will need to better understand your configuration to really troubleshoot, but here is what I suspect.
- ARR is a server level feature, meaning, it will appliable to all sites.
- URL rewrite rules are used as "routing rules" for ARR. So the URL rewrite rules that you already have at the site level will function as routing rules for ARR. And I suspect that this is where the problem is. The following link explains the relationship between URL rewrite and ARR: http://blogs.iis.net/wonyoo/archive/2008/07/26/relationship-between-application-request-routing-and-url-rewrite-modules.aspx.
With that said, what scenario were you planning on enabling with ARR?
ARR application Request Routiing proxy
thephiend
4 Posts
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 26, 2012 08:07 AM|LINK
Thanks for you input and information so far.
There are currently no rewrite rules configured in URL Rewrite. Is this a must-have when ARR is installed? Will requests route as before (just via ARR), e.g. index.aspx routes to index.aspx, etc? Or do I also need rules in place for that?
I wanted to give ARR with URL Rewrite a go for the following scenario: I have an application running via Tomcat on port 8080, currently available on http://localhost:8080. I want to make this accessible on a subdomain, i.e. application.domain.com:80.
wonyoo
196 Posts
Microsoft
Moderator
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 26, 2012 04:28 PM|LINK
The scenario that you've described is supported. So I am surprised that you are running into problems.
URL rewrite is a required component of ARR. ARR, in fact, is a collection of several components, one of which is URL rewrite.
With that said, the first thing that need to be understood is the root cause of the crash. Have you been able to look at the event look and see what is actually crashing? It should have references to a DLL that is the cause. In addition, you've mentioned that the machine has several sites. Are you seeing the crash on all the sites?
ARR reverse proxy application Request Routiing
thephiend
4 Posts
Re: Installing ARR2.5 on IIS7.5 causes application pools to shutdown
Mar 27, 2012 10:58 AM|LINK
I've been able to solve this issue after narrowing the cause down with the application event log. The main culprit I had no knowledge off however, was the presence of a Plesk implementation on the server. Plesk comes with 2 custom users, which were the cause of the issue I ran into.
For future reference:
The application event log will have an entry such as this:
This shows a permission issue (<Binary>05000000</Binary>) on C:\Program Files (x86)\IIS\Application Request Routing\requestRouter.dll, which can be fixed by giving the two Plesk custom users read/write permissions on C:\Program Files (x86)\IIS\.
Thanks again for your help, wonyoo. Much appreciated! Also to give me a better understanding of ARR, its components and the request handling.