harbar.net component based software & platform hygiene

Application Pool Recycle Utility for SharePoint Developers

Print | posted on Monday, April 09, 2007 8:42 PM

This freeware application is a System Tray utility for providing quick access to common IIS tasks which are useful on a SharePoint development box. It may also be useful to others working with IIS. In essence, it enumerates the app pools on your box and lets you right click 'em to bounce 'em!

If you are experiencing problems with APM, please see the FAQ.

 


Version 3.0.0.0 (7th December 2009)

SharePoint 2010 and IIS7 only

apm3a[3]

removal of IIS6 legacy code
addition of new SP2010 services
SharePoint to IIS App Pool name mapping

Download
Application Pool Manager 3.0.0.0.


Version 2.0.0.0 (27th November 2008)

APM 2.0.0.0

Complete rewrite
Vastly reduced working set
Full Vista support
UAC manifest
IIS status detection
IIS6 operations use legacy APIs
IIS7 operations use Microsoft.Web.Administration
Event Logging

Download
Application Pool Manager 2.0.0.0.

 


Version 1.1.0.0 (23rd May 2008)

APM 1.1.0.0

New Options Layout
Form does not show on start up
Warm Up and IISReset now run in the background
Option to hide Tool Tips
Ability to hide Application Pools
Restart WSS Timer & WSS Admin Services
STSADM now works on localised versions of Windows Server
Ability to exclude STSADM from Warm Up
PID displayed on context menu for spun up Application Pools
Version Check

Download
Application Pool Manager 1.1.0.0.

 


Version 1.0.3.0 (10th August 2007)

Added Tooltip to display Process ID if an app pool has spun up. Refreshes in event of recycle.
Does not depend upon iisapp.vbs

Windows 2008/Vista Support: Requires Legacy IIS WMI.

Download
Application Pool Manager 1.0.3.0.

 


Version 1.0.2.0 (14th April 2007)

Added Support for Windows Vista.
Added ability to refresh the list of Application Pools.
Removed dependency upon the "Warm Up" scripts.
Added ability to "warm up" multiple URLs.
Improved notifications.
Removed 'Recycle' tooltip which caused artifacts on Virtual Machines.
Improved keyboard navigation.

 

Application Pool Manager 1.0.2.0

System Requirements
Windows Server 2003 Service Pack 1 or later, or Windows Vista.
Internet Information Services 6.0 or 7.0 (with IIS6 Management Compatability installed).
.NET Framework 2.0.

Download
Application Pool Manager 1.0.2.0.

Instructions for post event warm ups:
Enter the full URLs (including http:// , /default.aspx or /pages/default.aspx etc) in comma seperated format. Warm ups do not support HTTP 302s. There is no need to install the Warm Up scripts with this version. If you are upgrading from the previous version, remove the Path within applicationpoolmanager.config, this is no longer required.

 


Version 1.0.1.0
Added Event Notifications.
Added ability to perform an IISReset.
Added ability to perform post event "Warm Ups".

System Requirements
Windows Server 2003 Service Pack 1 or later.
Internet Information Services 6.0
.NET Framework 2.0

Download
Application Pool Manager 1.0.1.0

 

Instructions for configuring post event "Warm Ups".

This requires the Warm Up Scripts posted by Joel Oleson. Download the ZIP file and extract the contents to a folder on your local disk (e.g. c:\warmup).

  1. Within the Options dialog of Application Pool Manager, select the Enable Post Events Warm Up check box.
  2. In the Path to WarmUpServer.cmd text box, enter the path you extracted the scripts to.
    Note: do not include a trailing slash, or the filename itself.
  3. In the URL to Warm Up text box, enter the hostname you wish to warm up.
    Note: do not include http:// or a trailing slash.
  4. Click OK to save the configuration. The configuration is persisted in the ApplicationPoolManager.config file.

Following a IISReset or Application Pool Recycle event, WarmUpServer.cmd will be run, and you will receive notifications of it's progress:

Note that the file startup.bat is redundant and not required. STSADM is run to warm up the admin interfaces by Application Pool Manager. Also there will be a delay whilst the HTTP GETs performed by WarmUpServer are executed before the final notification is displayed.

Don't forget to modify the WarmUpServer.cmd file to reference correct URLs for your SharePoint Central Administration and Shared Services Provider Administration web sites.

 

What might get done in the next version.

    • Allow associations between Application Pools and Warm Up Hosts.
      e.g SharePoint Intranet App Pool when recycled warms up http://intranet/ but
      SharePoint WCM App Pool when recycled warms up http://wcm/
    • Removal of initial display of About/Options form (if I can figure out how to do that).
    • Activate via keyboard shortcut (if I can figure out how to do that).
    • Add keyboard shortcuts for each Application Pool displayed.
    • Add ability to hide Application Pools (e.g. SharePoint Central Administration v3).
    • Add Start and Stop operations.

If you have feature requests, please leave a comment here. No promises!!


Feedback

Gravatar

# http://blogs.developpeur.org/phil/archive/2007/04/12/outils-communautaires-pour-sharepoint.aspx

http://blogs.developpeur.org/phil/archive/2007/04/12/outils-communautaires-pour-sharepoint.aspx

4/13/2007 9:45 AM | Pingback/TrackBack
Gravatar

# http://gatweb.fr/lists/billets/post.aspx?list=29f0ece6-dd9b-454b-a6d4-ff5563516758&id=39

http://gatweb.fr/lists/billets/post.aspx?list=29f0ece6-dd9b-454b-a6d4-ff5563516758&id=39

4/13/2007 9:45 AM | Pingback/TrackBack
Gravatar

# http://mhinze.com/links-for-2007-04-11/

http://mhinze.com/links-for-2007-04-11/

4/13/2007 9:45 AM | Pingback/TrackBack
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Would love to see a status when you refresh the app pools, or do an IISReset. At least some kind of message, right now you don't know what's going on, and whether the resets are complete.

Maybe changing the Tool Tip text while it's doing resets?

4/18/2007 2:12 PM | Bob Gusek
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

This is truly useful.

Thank you very much.

4/27/2007 4:31 AM | Tony Bierman
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Cool utility Spencer thanks!

5/1/2007 7:08 AM | Andrew Woodward
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

This is too cool.
Any chance of being able to also display the pid of each w3wp.exe. I can never bloody find them when I'm trying to attach. Ta.

8/2/2007 7:48 PM | Ian Campbell
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Awesome app, thanks for your work.

Adding command line arguments would be really neat. It would be pretty easy then to add keyboard shortcuts for specific tasks, or even schedule them. Being able to schedule a "warm up" after an IIS scheduled app pool recycle or in the morning right before the site starts getting hit would be very useful.

Thanks again.

9/13/2007 10:19 PM | Ray
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Big fan of this utility.

It would be really cool if you could connect to another IIS server to bounce its app pools.

10/4/2007 2:13 PM | Adam Drewes
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Sweet tool and yes, a couple of requests as well:-

1. As before - a scheduling engine built in would be nice (could use Task Manager in Windows possibly though to do it? - I haven't looked at this).

2. The ability to enter a specific user account which the warm-ups run as. This is handy on a server where the admin account that the app is running under hasn't actually got access permissions to the url that is being warmed up.

10/30/2007 8:42 PM | Glenn Laugesen
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Anthony: It depends upon the solution being deployed and which Web Applications it is deployed to. App Pool Manager is not intended to lessen this pain, and is really for development machines.

3/19/2008 10:12 AM | Spence
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Thanks alot for such a great tool.

5/25/2008 11:47 AM | mostafa
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Really nice tool. And as most users, I would like some added functionality :) The ability to run a post- and pre-process script at iisreset would be nice. Then I could add nlb stop and nlb start commands after the reset and use the tool in our staging environment

5/27/2008 5:00 PM | Kjell W
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Fantastic tool, but one quick question... Will the application error if users that are not in the admin group try to run it?

7/21/2008 9:01 AM | SpittingCAML
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

SpittingCAML:

APM requires administrator privileges in order to recycle app pools. If you run it as a regular user it will not be able to enumerate or recycle app pools.

7/22/2008 9:50 AM | Spence
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Awesome

10/13/2008 2:33 PM | Pritesh
Gravatar

#  Application Pool Recycle Utility for SharePoint Developers

Thank you very much !

Now I can work on My Own Test Web Application without having to reset the whole thing but only my Test Web App

10/27/2008 5:37 PM | Manh Le
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Excellent utility - so much quicker than IISRESET! It's on all our developer boxes and virtual machines. Thanks very much for creating it!

11/3/2008 3:00 PM | Lars Nielsen
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

I'm getting the error saying I'm unauthorized. I run the app "as administrator" by right clicking the exe file, but after it goes in the system tray I keep getting the error bubble. I'm on Windows 2008, don't know if that makes a difference. It's only when I try to bounce a pool where I get the error. It crawls them fine. Thanks!

11/3/2008 4:53 PM | Phil Wicklund
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Thank you for a great tool

Could it be extended reach IIS processes on remote servers?

So i from my desktop could do a recycle or iisreset remotely.

11/4/2008 6:58 PM | Brian Kenneth Nielsen
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

This is just what i was looking for all the time. Thanks for the great post, we realy like it.

Greetings,

2/9/2009 3:57 PM | Hypotheek
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Is anyone using this tool in a SharePoint environment to warm up the app pools after a scheduled recycle?

It doesn't kick off the warm up process after an w3wp.exe is recycled, isn't it supposed to run at that point?

Thanks

2/19/2009 6:56 AM | Danny
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

This is a great application and I am loving it.
There is a small bug though, it keeps looking for intranet.harbar.net so I am guessing that might be test code was slipped into release

3/5/2009 12:31 PM | Lambros Vasiliou
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

A hidden gem for SP developers...Thanks for the great work!

10/8/2009 4:20 PM | Abhi
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Any plans to support SP14 service restarts? Or can this be configured in the .config?

11/23/2009 7:48 PM | Oskar Austegard
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Any plans to support SP14 service restarts? Or can this be configured in the .config?

>> Never mind - I can see from the code that the Services are hardcoded. Would be nice to be able to specify a list in the config setting the name of the service and the notification services.

11/23/2009 7:57 PM | Oskar Austegard
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

fter installing the March 2009 CTP, I get the following error when I click Tools/Recycle App Pool :

Error recycling pool. Details: The system cannot find the path specified.

When I view External Tools, Recycle App Pool is defined as:

Title: Recycle App Pool

Command: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe

Arguments: -o recyclepool -pool mypool

12/23/2009 1:15 PM | Amanda 
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

I'm on Windows 2008, don't know if that makes a difference. It's only when I try to bounce a pool where I get the error. It crawls them fine. Thanks!

2/4/2010 5:38 AM | ged test
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Philip: It depends upon the solution being deployed and which Web Applications it is deployed to.

I've been so tired of getting the IIS reset all the time.

2/5/2010 7:17 PM | Piilolinssit
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Its an incredible tool thanks very much.

7/16/2010 12:27 PM | Terry
Gravatar

# re: Application Pool Recycle Utility for SharePoint Developers

Adding command line arguments would be really neat. jkl

1/6/2013 2:46 AM | wot promo code

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 5 and 6 and type the answer here: