自动启动意外预加载分配给不同应用程序池的应用程序 [英] Auto-start unexpectedly preload applications assigned to different application pool

查看:63
本文介绍了自动启动意外预加载分配给不同应用程序池的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AppFabric中部署了几个WCF服务应用程序。所有服务都已正确配置为AutoStart。请考虑以下部署:

I have deployed few WCF service applications in AppFabric. All services are appropriately configured to AutoStart. Consider following deployment:

应用程序池:ServiceAppPool1

Application Pool: ServiceAppPool1

==>服务1(启用自动启动。)

==> Service 1 (Auto-Start enabled.)

==>服务2(启用自动启动。)

==> Service 2 (Auto-Start enabled.)

应用程序池:ServiceAppPool2

Application Pool: ServiceAppPool2

==>服务3(启用自动启动。)

==> Service 3 (Auto-Start enabled.)

当我启动应用程序池ServiceAppPool1,Service-1和Service-2时,在与ServiceAppPool1关联的工作进程中自动启动。此后,如果我启动应用程序池ServiceAppPool2,Service-3也会在与ServiceAppPool2关联的
的工作进程中自动启动。但是,此时Service-1和Service-2再次加载到ServiceAppPool2的同一个工作进程中。

When I start application pool ServiceAppPool1, Service-1 and Service-2 auto-starts in a worker process associated with ServiceAppPool1. Thereafter, if I start application pool ServiceAppPool2, Service-3 auto-starts as well in a worker process associated with ServiceAppPool2. However, at this point Service-1 and Service-2 are again loaded in same worker process of ServiceAppPool2.

由于这种意外行为,我的自定义代码用ServiceHost打开并关闭方法悲惨地失败了。我尝试过很多关于这个问题的研究,但没有运气!

Because of this unintended behavior, my custom code written in ServiceHost Opened and Closed method fails miserably. I tried researching a lot about this problem but no luck!

1。 KB983484没有帮助。我们得到了这里要求的内容  http://social.msdn.microsoft.com/Forums/en-US/dublin/thread/bcc9fe66-a2ba-4b34-ae33-2642b4b1153a

1. KB983484 does not help. We get what is asked here http://social.msdn.microsoft.com/Forums/en-US/dublin/thread/bcc9fe66-a2ba-4b34-ae33-2642b4b1153a.

2。这个
文章
确认了这种行为。 Windows Server 2008 R2 SP1上也会发生同样的问题。

2. This article confirms this behavior. Same issue even happens on Windows Server 2008 R2 with SP1.

启动应用程序池时,只有那个应用程序池中设置为自动启动的服务必须启动,并且某些应用程序池启动时仅停止应用程序池中的服务应该停止。这就是我要的。任何人都可以建议
一些解决方案吗?

When an Application Pool is started only those services in that Application Pool that are set to auto-start must start and when some Application Pool is stopped only service in that Application Pool should stop. This is what I want. Can anyone please suggest some solution?

提前致谢。

推荐答案

这个其他线程听起来像你的问题:
http://social.msdn.microsoft.com/Forums/en-US/dublin/thread/bcc9fe66-a2ba-4b34-ae33-2642b4b1153a

我建议给微软支持部门打电话。

I suggested calling Microsoft Support about this.

谢谢,


这篇关于自动启动意外预加载分配给不同应用程序池的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆