RE: Application Deployment Process

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If a previous version of the BizTalk artifact is already deployed and
running in a host instance, deploying an updated version will not take
effect in the runtime until the host instance is restarted. Instead, the
cached version of the DLL will be held and used by the app domain -- this
is just how .NET works. The application domain is not recycled on a
deployment event by default, only when bouncing the service. There is a
warning that you will see about this in your Build Errors/Warning frame of
VS.

However, there is an option in the Deployment properties of a VS project
that will automatically restart all host instances on the local box after a
successful deployment. This will ensure the latest version is being
executed by the runtime. This is fine for testing on the local box, but if
you are troubleshooting on multi-machine topologies, just be sure to GAC
and restart the appropriate host instances on the other remote machines in
the group as well.

There is more about this in the Deployment whitepaper:
http://www.microsoft.com/biztalk/techinfo/whitepapers/bts2006_appdepwp.mspx

HTH,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Thread-Topic: Application Deployment Process
thread-index: AcbWfItNNXu/dp+1QKKg1QpKQH12Tg==
X-WBNR-Posting-Host: 194.75.37.250
From: =?Utf-8?B?TWlrZQ==?= <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Application Deployment Process
Date: Tue, 12 Sep 2006 08:03:02 -0700
Lines: 24
Message-ID: <8143625C-ECAF-4AC0-A3B9-3535912EFF34@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.biztalk.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:40714
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.biztalk.general

I had a situation which made me think i slightly understood the deployment
process incorrectly when deploying a BizTalk 2006 application. The
situation
was

1. I changed an orchestration to include an expression shape which was
writing out to the event log a message
2. I ran my automated build/deployment which does the following:
a. Stop the application
b. Delete the application
c. Create the application
d. Deploy all of the bizTalk artifacts
e. Start the application
f. Run bizunit tests against the application

the expression shape never wrote to the event log, and when i used the
orchestration debugger it always skipped the expression shape.

I found that if i stopped then started the bizTalk windows service
everything worked fine. My previous understanding was that BizTalk
applications were in some ways similar to an iis application pool in that
they sand boxed processing and stopping the application would release all
resources it had held. Obviously this doesnt seem to be the case.

Just wondering if anyone had thoughts or comments on this?


.



Relevant Pages

  • Re: Deploy dll with biztalk schema without the biztalk project
    ... At the moment we use binding files and BTSDeploy to automate the deployment ... > Our set-up is developer workstations with Biztalk 2004 and Visual Studio ... > Test and Production platforms with Biztalk 2004 and without Visual Studio. ... >> You can certainly deploy a separate dll with just the schema, ...
    (microsoft.public.biztalk.general)
  • Re: How long to setup / deploy
    ... Estimate the first 3 failed deployment, don't expect to be able to ... The time needed to de-secure Windows 2003 in order for BizTalk to work ... The SQL adapter is the most complicated adapter Microsoft ever ... taking to get BTS set up into a functional development environment? ...
    (microsoft.public.biztalk.general)
  • Re: Biztalk Pipe Errors
    ... Try using the BizTalk Server Deployment Wizard. ... >> Secondly my assemblies had not been deployed to the Biz ...
    (microsoft.public.biztalk.general)
  • Re: Deployment SSO Error
    ... reinstall BizTalk and now the deployment of my code has completed. ... I dont remember explicitly creating an SSO Affiliate ... >> What I mean is that, at some point in your deployment cycle (using Jon's ... >> performs that step is a member of the SSO admin group. ...
    (microsoft.public.biztalk.general)
  • Re: Biztalk Pipe Errors
    ... not using the Biztalk Deployment ... Secondly my assemblies had not been deployed to the Biz ... restart biztalk host. ...
    (microsoft.public.biztalk.general)