Home
TeamSite
iwodstart.ipl and dnR
Ottawa_IWOV
Hey -
Does anyone have experience with iwodstart.ipl and dnR scripts. For instance, if my script fails, my deployment should fail, and I should get a failure return code (something other than 0) from iwodstart.ipl.
Is this functionality covered with iwodstart.ipl?
Thanks,
Find more posts tagged with
Comments
Adam Stoller
What version of OpenDeploy are you using on what platform (if Windows - be specific, NT, 2000, 2003, etc.)?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Ottawa_IWOV
Windows 2000
OD 5.6 SP1
Adam Stoller
I believe 5.6 SP1 introduced iwodcmd - if so / as such - you should probably switch to using that instead of iwodstart.ipl
Also - are you running your DNR script with async="yes" or async="no" (or unspecified)?
if you have async="yes" - any error resulting from the DNR script is ignored.
Also - does your script print out the requisite XML snippet to indicate failure?
if not - OD won't know that it failed (it does NOT check exit return status codes - or even, I believe, whether or not the script *can* execute, perhaps not even whether or not the script *exists*)
If all of this is new to you - I suggest you spend a bit of time RTFM'ing.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
jkm
Hi,
I am running OD 6.0.2 on Solaris 8. I want to pass parameters to my DNR. If I pass hard coded values then it works fine then I can access the parameters in my script but if i pass these as variable then I am not able to get those variables in perl script.
Here is the command lines pasted
<script cmd="/opt/Interwoven/TeamSite/iw-perl/bin/iwperl /opt/Interwoven/TeamSite/local/config/wft/BT/ipl/dnr.ipl $taskID" where="/tmp" async="no" as="root" />
I tried this with
<script cmd="/opt/Interwoven/TeamSite/iw-perl/bin/iwperl /opt/Interwoven/TeamSite/local/config/wft/BT/ip/dnr.ipl $taskID^" where="/tmp" async="no" as="root" /> but it didnt help.
Any pointers please
jkm
pheww my mistake .. got it working soon