Biztalk 主机进程的配置文件
单个 Biztalk Server 可以有多个主机进程。 是否可以为每个主机进程创建一个应用程序配置文件? 例如,我想使用 Unity 或 log4net 或任何需要此类配置文件的东西。
编辑:谢谢大卫·霍尔。 详细说明一下: 我们在一个组中有 12 个 Biztalk 服务器,每个服务器运行 5 到 10 个主机进程。 主机进程运行的某些内容对于每个进程来说都是唯一的,但它们也在库级别共享大量代码。 引发我问题的原因是需要为当前出现问题的一个系统部分(相当于主机进程)配置跟踪级别。
作为替代方案,如果我能找出当前代码在哪个主机进程中运行,那将会有所帮助,但我会将其发布到另一个问题。
A single Biztalk Server can have multiple Host processes. Is it possible to create an application config file for each host process? For example I would like to use Unity or log4net or whatever which needs such a configuration file.
Edit: Thanks at David Hall. To elaborate a bit more:
We have 12 Biztalk Servers in a group each running between 5 and 10 host processes. Some things the host processes run are unique to each process, but they also share a lot of code on the library level. The trigger for my question was the need to configure for example trace levels for the one system part (equivalent to host process) that currently gives trouble.
As an alternative it would help if I could figure out in which host process the current code is running, but I'll post that to a different question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我正确解释您的问题,您希望能够为每个主机实例拥有单独版本的 BTSNTSvs.exe.config 文件吗?
那么,除了 BizTalkServerApplication 主机实例之外,您还希望为 YourHostInstance 主机实例进行单独的配置吗?
我不100%知道你不能这样做,但我几乎可以肯定这是不可能的。
我相当确定这是不可能的原因是:
我刚刚翻阅了我手上的 BizTalk 书籍以及一些优秀的网络资源,但找不到任何提及有人做你想做的事情的内容。
据我所知,您需要将 log4net 之类的配置设置放入 BTSNTSvc.exe.config 文件中,并让每个主机实例的配置设置都相同。
接近您想要的效果的一种方法是从规则引擎加载应用程序特定的设置。
If I interpret your question correctly, you want to be able to have a separate version of the BTSNTSvs.exe.config file for each host instance?
So as well as the BizTalkServerApplication host instance, you have YourHostInstance host instances that you want to have a separate config for?
I don't 100% know that you cannot do this, but I am almost sure that it is not possible.
The reasons I'm fairly sure this isn't possible are:
I've just flipped through the BizTalk books I have to hand as well as some of the good web resources and can't find any mention of someone doing what you want.
So as far as I know, you will need to put the config settings for things like log4net into the BTSNTSvc.exe.config file, and have them the same for each host instance.
One way to get close to what you want would be to load application specific settings from the rules engine.