TeamSite 6.5 SP1
Solaris 2.9
OD 6.0.2
I am trying to use the dbLoader element to synchronize moving code files (JSP) and then loading the contents and metadata of DCRs into a DB.
When I use the following:
<dbLoader useDatabaseRef="webdb">
<eaAndXmlData>
<xmlData schemaMapFile="/opt/iw-home/OpenDeployNG/schemas/$dct^.xml" xmlType="interwoven"/>
<eaData schemaMapFile="/opt/iw-home/OpenDeployNG/schemas/TeamSite-Metadata.xml"/>
</eaAndXmlData>
</dbLoader>
The webdb has delete-tracker="yes" in the database.xml file on the target
The DCR xml data is written to the database correctly, and tracking information is recorded. There is no tracking information recorded for the metadata. When I go to do a delete, the metadata selection is processed first, and it wipes out all the rows from the IWDELTRACKER table, causing it to do nothing when trying to remove the tracker entries for my content table, since there are no longer any entries in the tracker table.
Here is a snippet from the log:
DD : TUPLE={state=NotPresent, path=templatedata/EnhancedBrand/BrandServices/data/bktest, iw_internal_area=/appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content}
DD : TTableSchemaHelper object for [ts_metadata2] found in cache.
DD : SELECT KEYCOLNAME , KEYCOLVALUE FROM IWDELTRACKER WHERE PATH = ? AND AREA = ? AND KEYCOLNAME IN ( 'id')
DD : 0 PK values retrieved from iwdeltracker for templatedata/EnhancedBrand/BrandServices/data/bktest, /appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content
DD : DELETE FROM IWDELTRACKER WHERE PATH = ? AND AREA = ?
DD : -- Deleted
DD : Deployment eafile_s0_p0 ok
DD : extraction type=full
DD : tuple mode=wide
DD : area=/appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content
DD : filelist=[/opt/iw-home/OpenDeployNG/log/development/ddfilelist50176.txt]
DD : ERROR:/appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content/templatedata/EnhancedBrand/BrandServices/data/bktest not found:/appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content/templatedata/EnhancedBrand/BrandServices/data/bktest (No such file or directory)
DD : Building replicant order column information.
DD : Building replicant order column information... Done.
DD : TUPLE={state=NotPresent, path=templatedata/EnhancedBrand/BrandServices/data/bktest}
DD : TTableSchemaHelper object for [ts_brand_services] found in cache.
DD : SELECT KEYCOLNAME , KEYCOLVALUE FROM IWDELTRACKER WHERE PATH = ? AND AREA = ? AND KEYCOLNAME IN ( 'brand_id','svc_type')
DD : 0 PK values retrieved from iwdeltracker for templatedata/EnhancedBrand/BrandServices/data/bktest, /appsnfs/content/tmp/default/main/Enhanced/Conrad/WORKAREA/content
DD : DELETE FROM IWDELTRACKER WHERE PATH = ? AND AREA = ?
DD : -- Deleted
DD : Filelist walk done
DD : Deployment filelist_s0_p0 ok
so, it seems the eaData component is dying on their being no file in the file system, since od is removing it, but that doesn't seem to be a problem for the xmlSource component.
The metadata table is a user defined schema. This works completely in standalone DataDeploy mode, and was hoping to use this dcLoader element, but i don't think we can.
All we are trying to do is move code and load content and metadata into a database. The only way around this issue that I see is to use Data Deploy in standalone mode through a deploy and run script, unless I am missing something.
Edited by bk99nd on 11/17/05 11:30 AM (server time).