Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwsyncdb command is not working
Dhinesh
Hi All,
I am trying to create dbschema file through command prompt. I created empty dbschema.cfg file manually. Then I ran the below command, but still dbschema is an empty file.Nothing is there inside the dbschema file.
Please reply if anyone of you know how to proceed.
C:\Interwoven\OpenDeployNG\bin>iwsyncdb dbschemagen /default/main/City/WORKAREA/DhineshWA category/sample1
DD Home : C:\Interwoven\OpenDeployNG
DD Home : C:\Interwoven\OpenDeployNG
DeployAll flag: false
Force flag: false
Workarea : /default/main/MCity/WORKAREA/DhineshWA
dcrType : category/sample1
Workarea area name: /default/main/City/WORKAREA/DhineshWA DCR-Type: category/sample1
-------------
Generating dbschema.cfg for custom DTD
[Y:/default/main/City/WORKAREA/DhineshWA/templatedata/category/sample1/sample1.dtd] exists
[Y:/default/main/City/WORKAREA/DhineshWA/templatedata/category/sample1/dbschema.cfg] exists
=========
Finished
=========
Done executing iwsyncdb-dbschemagen.
Find more posts tagged with
Comments
nakumar
Try using -force option.
i.e.
C:\Interwoven\OpenDeployNG\bin>iwsyncdb dbschemagen /default/main/City/WORKAREA/DhineshWA category/sample1 -force
Dhinesh
Hi,
There are some issues with DTD parsing. So I tried with the following command and now its working. And dbschema file is generated.
C:\Interwoven\OpenDeployNG\bin>iwsyncdb -dbschemagen -dcfile Y:/default/main/City/WORKAREA/DhineshWA/templatedata/category/sample1/datacapture.cfg -DeployAll -force.
Then I ran the command C:\Interwoven\OpenDeployNG\bin>iwsyncdb -ddgen /default/main/City/WORKAREA/DhineshWA category/sample1
to generate dd.cfg xml file. The above command generates dd.cfg xml file but without any database info(oracle db name,user name,and pwd).
How to pass these info automatically to this file?
I need to do datadeployment from workflow. So I created an ipl which executes all these scripts one by one automatically.
Is the procedure is correct or not?
If anyone of you knows answer please reply.