Hi Ghoti,I am using Version 6.0.2.1.0 and it runs on Solaris 5.9(8)There are two DNR scripts one for success and one for failurehere is the config file
<deployment transactional="no"> <dnrDeploymentJob location="source" when="after" state="success"> <script cmd="/opt/iwov/iw-home/iw-perl/bin/iwperl /opt/iwov/iw-home/bin/odDNR_success.ipl" async="no" /> </dnrDeploymentJob> <dnrDeploymentJob location="source" when="after" state="failure"> <script cmd="/opt/iwov/iw-home/iw-perl/bin/iwperl /opt/iwov/iw-home/bin/odDNR_failure.ipl" async="no" /> </dnrDeploymentJob> <execDeploymentTask useDefinition="FILELIST16648REVIEW1"></execDeploymentTask> <!-- ... --></deployment>
For killing the OD, what is do is if the OD is running for more than 30 seconds, i get the process id of the OD process and kill it using kill command in solaris..I am doing the above mentioned things on the Sender(Teamsite)..Please let me know if you need any other info....Thanks and RegardsMohan
Hi Ghoti,I am not killing the OD Server, i am killing the OD Process which is created when i run iwodcmd start... commandmy understanding is when we kill the OD process, it should not fire any DNR Script, bcoz i have mentioned in the OD config file to fire DNR script only at the end of the deployment... (after completion of deployment)The two DNR Scripts produce different results... but when i kill the OD process is always executes the one under success.. which is wrong (either it shouldn't fire anyone or it should fire the one under Failure..bcoz the deployment was not completed)i have verified the deployment throughly... i have a deployment which runs around 1.15 seconds.. i have tested it.. :-)so what i do is i run the deployemnt...through the iwodcmd and after 30 seconds, i will kill the OD process... (i am sure that the deployment has not completed)when i check the OD logs... it doesn't say anything neither success or failure..Thanks and RegardsMohan