AppFabric ApplicationStart command starts service in wrong ApplicationPool
-
2011年12月18日 23:07
I have written a simple WCF service (hosted in AppFabric) that sends statistics about the service to a monitoring process.
I have the Application configured with its own ApplicationPool. I also used the AppFabric 'Manage WCF and WF Services'
to enable 'AutoStart' for my service.Initially my WCF service is started in the w3wp process associated with the configured Application Pool for the application.
If I stop and restart the Application Pool, the old w3wp process is stopped and a new w3wp process is started.
The new w3wp process ID is assocated with the configured Application Pool for WCF service. If I recycle the Application Pool,
a new w3wp process is started and the old w3wp process exits after a few seconds. So far things work as expected.Then I went to the AppFabric 'Manage WCF and WF Services' menu and selected 'Stop Application'. Nothing seemed to happen.
My WCF service continued running and sending the statistics to my monitoring process. I then used the same menu and selected
'Start Application'. Now I had a second instance of my WCF service sending statistics to my monitor process. The w3wp process
hosting my new service was associated with the 'DefaultAppPool'. I did the 'Stop Application' then 'Start Application' sequence
again. And then I had three instances of my WCF service running. The third Wcf service was hosted in a w3wp process associated
with a different Application Pool.I would have expected the 'Stop Application' to stop the first instance of the application that was running in it's configured
Application Pool. Then when I selected the 'Start Application', I would have expected the WCF service to be started in the configured
Application Pool.I found this link
http://forums.iis.net/t/1178090.aspx (hotfix) Windows6.1-KB983484-x64
that sounded like my problem but when I tried to install the hot fix, it said 'The update is not applicable to your computer'.I have
Internet Information Services (Version 7.5.7600.16385)
installed on
Windows 7 Ultimate (Service Pack 1)
AppFabric installed
WindowsServerAppFabricSetup_x64_6.1
Any ideas on what is happening?Thanks,
Dave
全部回复
-
2011年12月26日 16:03版主
The hotfix saying that means that the hotfix was made for a different OS or maybe you are on 64-bit and the fix was for 32-bit. You need to contact MS Support to have them make the hotfix for your specific OS or 32-bit/64-bit version.
Thanks!
If this answers your question, please use the "Answer" button to say so | Ben Cline -
2011年12月29日 13:04
What is the best way of contacting MS Support to ask them about the hotfix and why it would not install on my machine?
Thanks,
Dave
-
2011年12月29日 15:08版主
At this page http://support.microsoft.com/ph/1163 you can see a link to contact support (email or call) about Windows Server. I am not sure exactly which subset of Microsoft technologies would get you to exactly the right team so they will probably figure this out along the way. I am guessing AppFabric services fall under IIS under Windows Server.
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline

