Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
dd 6.0.1 ERRORS
Ottawa_IWOV
Here is a deployment configuation I am trying to run. I continually get ##Unable to determine operation mode ERRORS
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<data-deploy-configuration>
<data-deploy-elements filepath="D:/PROGRA~1/INTERW~1/OpenDeployNG/etc/database.xml"/>
<client>
<deployment name= "remove_nr">
<destinations>
<database
use = "FAC-POC"
table = "no-table-needed">
<sql user-action="remove" type="update">
DELETE FROM newsReleases WHERE PATH='templatedata\fac_e\news-release\data\canada_welcomes_new_convention_61859'
</sql>
</database>
</destinations>
</deployment>
</client>
</data-deploy-configuration>
Does anyone see anything wrong with this configuration?
Thanks,
Find more posts tagged with
Comments
iwovGraduate
How are you trying to run the deployment ?
Perhaps you are missing some parameters.
Ottawa_IWOV
iwodcmd start <deploymentConfig> -k iwdd=<deploymentName> -k iwdd-op=do-sql -k user-op=<user-action-name>
image.JPG
Ottawa_IWOV
bump
Migrateduser
Hi,
The issue may be with the " runmode" specified in iwsyncdb.cfg.
# DAS run mode = { serialdaemon | threadperbranch }
Can you double check the configuration in odbase.xml and iwsyncdb.cfg.
The config file posted looks good.
I was able to run your config file and with
iwodcmd start devnet/test -k iwdd=remove_nr -k iwdd-op=do-sql -k user-op=remove
thanks
srini
Ottawa_IWOV
My default is serialdaemon in iwsyncdb.cfg
Also, it is not a DAS implementation, changing the setting to threadperbranch messed things up.
BTW, I have other DD deployments that work fine ...
Edited by Ottawa_IWOV on 04/21/05 11:42 AM (server time).
Migrateduser
Hi,
Can you post the deployment log?
I guess you are using the same DB connection ref "FAC-POC" in the "working DD deployment cfg's".
thanks
srini
Ottawa_IWOV
I am hard-coding the databse configuration for the working deployments, and calling DB by name for the one that isn't working (using data-data-elements call). I am attaching the deployment configuration.
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 Begin logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log] ---------
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 Job ID=m1 Deployment=deleteNR
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 DataDeploy Version is 6.0.1.0.0
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 Owner started the deployment is SYSTEM
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 DD args iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=c9240e00-b19f-11d9-ae7d-fc9c1ab1a7e2 leglabel=database
ENG: 2005-04-20 09:26:21 EDT GMT-04:00 Proceed to execute the database deployment
DD:TWorkItem:
oIt --- sock=2125 id=1
DD:msg [iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=c9240e00-b19f-11d9-ae7d-fc9c1ab1a7e2 leglabel=database logfile=D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
DD: id=1 fDdArgs[0]=[iwdd=remove_nr]
DD: id=1 fDdArgs[1]=[user-op=remove]
DD: id=1 fDdArgs[2]=[iwdd-op=do-sql]
DD: id=1 fDdArgs[3]=[cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml]
DD: id=1 fDdArgs[4]=[need-result=yes]
DD: id=1 fDdArgs[5]=[depuuid=c9240e00-b19f-11d9-ae7d-fc9c1ab1a7e2]
DD: id=1 fDdArgs[6]=[leglabel=database]
DD: id=1 fDdArgs[7]=[logfile=D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
DD:ERROR
eployment not found
DD:ERROR:ERROR: Unable to determine operation mode
DD:
### IWDataDeploy FAILED ###
DD:
### Sending result ###
ENG: 2005-04-20 09:26:22 EDT GMT-04:00 Database deployment execution returned 1
ENG: 2005-04-20 09:26:22 EDT GMT-04:00 <<< Completed database deployment Invocation>>>
ENG: 2005-04-20 09:26:22 EDT GMT-04:00 Job ID=m1 Deployment leg=database Elapsed Time=406 ms <<<
ENG: 2005-04-20 09:26:22 EDT GMT-04:00 End logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Begin logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log] ---------
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Job ID=m1 Deployment=deleteNR
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 DataDeploy Version is 6.0.1.0.0
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Owner started the deployment is SYSTEM
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 DD args iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=628aeb70-b1a2-11d9-ae7e-bd811ca61290 leglabel=database
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Proceed to execute the database deployment
DD:TWorkItem:
oIt --- sock=2125 id=1
DD:msg [iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=628aeb70-b1a2-11d9-ae7e-bd811ca61290 leglabel=database logfile=D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
DD: id=1 fDdArgs[0]=[iwdd=remove_nr]
DD: id=1 fDdArgs[1]=[user-op=remove]
DD: id=1 fDdArgs[2]=[iwdd-op=do-sql]
DD: id=1 fDdArgs[3]=[cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml]
DD: id=1 fDdArgs[4]=[need-result=yes]
DD: id=1 fDdArgs[5]=[depuuid=628aeb70-b1a2-11d9-ae7e-bd811ca61290]
DD: id=1 fDdArgs[6]=[leglabel=database]
DD: id=1 fDdArgs[7]=[logfile=D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
DD:ERROR
eployment not found
DD:ERROR:ERROR: Unable to determine operation mode
DD:
### IWDataDeploy FAILED ###
DD:
### Sending result ###
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Database deployment execution returned 1
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 <<< Completed database deployment Invocation>>>
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 Job ID=m1 Deployment leg=database Elapsed Time=422 ms <<<
ENG: 2005-04-20 09:44:58 EDT GMT-04:00 End logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Begin logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log] ---------
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Job ID=m1 Deployment=deleteNR
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 DataDeploy Version is 6.0.1.0.0
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Owner started the deployment is SYSTEM
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 DD args iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=c5a88580-b294-11d9-a442-99edbd9fe541 leglabel=database
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Proceed to execute the database deployment
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Run mode -- threadperbranch mode
DAS
eployment : remove_nr
DAS:ERROR
eployment not found
DAS:ERROR:ERROR: Unable to determine operation mode
DAS:
### IWDataDeploy FAILED ###
DAS:
### Sending result ###
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Database deployment execution returned 1
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 <<< Completed database deployment Invocation>>>
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 Job ID=m1 Deployment leg=database Elapsed Time=265 ms <<<
ENG: 2005-04-21 14:40:02 EDT GMT-04:00 End logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Begin logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log] ---------
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Job ID=m2 Deployment=deleteNR
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 DataDeploy Version is 6.0.1.0.0
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Owner started the deployment is SYSTEM
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 DD args iwdd=remove_nr user-op=remove iwdd-op=do-sql cfg=D:\PROGRA~1\INTERW~1\OPENDE~1\conf\deleteNR.xml need-result=yes depuuid=cb0a63e0-b294-11d9-a442-99edbd9fe541 leglabel=database
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Proceed to execute the database deployment
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Run mode -- threadperbranch mode
DAS
eployment : remove_nr
DAS:ERROR
eployment not found
DAS:ERROR:ERROR: Unable to determine operation mode
DAS:
### IWDataDeploy FAILED ###
DAS:
### Sending result ###
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Database deployment execution returned 1
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 <<< Completed database deployment Invocation>>>
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 Job ID=m2 Deployment leg=database Elapsed Time=109 ms <<<
ENG: 2005-04-21 14:40:11 EDT GMT-04:00 End logfile [D:\PROGRA~1\INTERW~1\OPENDE~1\log\src.deleteNR.remove_nr.lbpdmkwm01.to.database.log]
abhijeet1
Any luck with this?
Thanks
Abhijeet