Troubleshooting Content Manager Publishing
The following annotated publishing log can help you troubleshoot Content Manager publishing to Content Delivery.
| Issue | Information |
|---|---|
| Language Version is Locked | If the Content Manager publish event log fails with the following error, you must unlock the Content Delivery publication. The publication may have been locked by a previously failed publish, or through the web browser. You can continue by Locking and Unlocking a Language Version. |
| When are links resolved? | Content Manager checks for missing graphics and files and resolves the table of contents, but does not go into the files to resolve xrefs and conrefs; Content Delivery does this resolution. |
| Where are my DITA and Content Manager ishconditions? | On publish, Content Manager passes the conditions from the Conditions tab in the Publication Manager to Content Delivery as the ProductDefinition.xml file. |
Example Event Log for Publishing from Content Manager to Content Delivery
The following is a sample from an event log in Content Manager after publishing to Content Delivery. Annotations and comments are in bolded and in square brackets.
ExitCode: 1
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
-------------------------------------------------------------------------------
--
-- SDL Trisoft Publishing Engine
-- version 1.5.0
-- Copyright © 2006-2010 SDL Trisoft NV. All rights reserved.
--
-------------------------------------------------------------------------------
> INFOSHARE PUBLISHING ENGINE STARTED (30/04/2010
18:09:45)
> sJobTicketLocation:
C:\InfoShare\DataDita\PublishingService\Data\WatchFolder\GUID-70ADD682-FF68-40D2-AA03-4BB66E00EA74.20100430180828994.es.xml
>>> ISHPublUtil::SetISHEnvironmentVar -> Environment
Variable [PS_CATALOGLOCATION] set to:
C:\Infoshare\WebDita\Author\ASP\DocTypes\Catalog.xml
>>> ISHPublUtil::SetISHEnvironmentVar -> Environment
Variable [PS_BASEPATH] set to:
C:\InfoShare\DataDita\PublishingService\
>>> ISHPublUtil::SetISHEnvironmentVar -> Environment
Variable [PS_ISHWEBPATH] set to:
C:\Infoshare\WebDita\Author\ASP
>> Start of load job ticket.
>> End of load job ticket.
>> Start of retrieve job ticket parameters.
>> gsLngRef : 18665
>> gsExportType : ISHPublication
>> gsExportLevel : lng
>> gsOutputFormat : Content Delivery
>> gsPublicationObjectId :
GUID-70ADD682-FF68-40D2-AA03-4BB66E00EA74
>> gsReportName :
GUID-70ADD682-FF68-40D2-AA03-4BB66E00EA74.report.xml
>> gsRequiredResolution : Low, High
>> gsStartDocument :
GUID-C9CA7357-CBA3-43B3-A4B2-B977AD1B7D1E
>> gsExportPath :
C:\InfoShare\DataDita\PublishingService\Data\DataExports\GUID-70ADD682-FF68-40D2-AA03-4BB66E00EA74.20100430180828994\1\es
>> gsTransType :
>> End of retrieve job ticket parameters.
>>> Debug files created successfully
>> Check job ticket attributes
>> gsCombineLanguages : no
>> gsCompareVersions : no
>> End of check job ticket attributes
>>> Start of Create workset directory.
>>> End of Create workset directory.
>>> Start of copy all files.
>>> End of copy all files.
>>> Start of Copy Product Definition File.
>>> End of Copy Product Definition File.
>>> Start of Resolve File Names
>>>Number of report XML Type nodes 44
>>> Converting file:
GUID-11283692-6B6A-4781-9863-D4D8070BF606.xml
>>> Converting file:
GUID-2A1268AC-F89E-4FC8-A032-3CDBC1328658.xml
>>> Converting file:
GUID-54F20824-43B5-4CE1-8EA2-400F1CB13716.xml
[Converted several dozen files; removed for brevity]
>>> End of Resolve File Names
>>> Start of Feed Information to SDLLiveContent
>> Initializing SDL LiveContent parameters...
[Logging in to Content Delivery]
>> sLCServerURL : http://contentdelivery.lc.example.com/ContentDelivery
>> sLCUserName : TBTadmin
>> sLCPassWord : **********
[Passing the title, version, language, and setting the top-level TOC resource -- the root DITA map]
>> Initializing publication parameters...
>> sPubTitle : MP330
>> sPubVersion : 1
>> sLanguage : es
>> sTopLevelTocResource :
GUID-C9CA7357-CBA3-43B3-A4B2-B977AD1B7D1E
>> Logged on to SDL LiveContent successfully...
Starting to feed [es] into SDL LiveContent.
[Creating the publication and language version]
>> Creating publication in SDL LiveContent...
WRN ISHPublLiveContentUtil::SDLLiveContentCreatePublication ->
Publication already exists but language not yet. Add language for
the publication.
[Uploading topics, maps, media files, condition/filter files to Content Delivery]
>> Upload Files to SDL LiveContent...
>>>Number of content files to be uploaded 170
>>>Product Definition file to be uploaded
>> Configure Publication in SDL LiveContent...
Setting GUID-C9CA7357-CBA3-43B3-A4B2-B977AD1B7D1E as toc
parameter
Setting ProductDefinition.xml as filter.file parameter
[Preparing the Content Delivery publication]
>> Prepare publication in SDL LiveContent...
Executing preparation step: start_prepare
Executing preparation step: resolve_refs_early
Executing preparation step: build_index
Executing preparation step: build_toc
Executing preparation step: resolve_refs
Executing preparation step: make_live
Executing preparation step: update_status
Executing preparation step: end_prepare
>> Adding Publication metadata in SDL LiveContent...
[Setting the publication to be visible]
>> Visualize Publication in SDL LiveContent...
[Creating the ZIP file for download from Trisoft Publication Manager]
>> Store final publishing result in SDL Trisoft...
>> Starting compression command:
C:\Infoshare\AppDita\Utilities\7-zip\Tools\7za.exe a -tzip
"MP330-v1 - es.zip" -r
>>>>
7-Zip (A) 4.65 Copyright (c) 1999-2009 Igor Pavlov 2009-02-03
Scanning
Creating archive MP330-v1 - es.zip
Compressing index.html
Compressing
source\GUID-03AB2EA1-F81B-4A22-8149-710094BE1081.xml
Compressing
source\GUID-043A7DFC-335B-43AE-9870-BF3EF8FA068A-high.jpg
Compressing
source\GUID-043A7DFC-335B-43AE-9870-BF3EF8FA068A-low.gif
Compressing
source\GUID-0A2E9B9E-ADE3-4612-87E6-26E1939044BB-high.jpg
Compressing source\ProductDefinition.xml
[Compressed several dozen files; removed for brevity]
Everything is Ok
>> START of Distribute2InfoShare
>>>> WKQASV0306::InfoShareAuthorDita pid[5568]
WKQASV0306::InfoShareAuthorDita::DatabaseTypeName[sqlserver2005]
WKQASV0306::InfoShareAuthorDita::Database[WKQASV0306\XYSOFTCS][IshDita][isource]
WKQASV0306::InfoShareAuthorDita::LogAppLevel[Timing]
lngRef[18665]
Updating 1 cards
Updating card 'GUID-2858EE69-4734-4EDB-96EA-2103CA433A10' of type
'CTPUBLICATIONOUTPUT'
[Is this where Content Delivery gets reindexed for search?]
Reindexing 1 cards
>> END of Distribute2InfoShare
>>> End of Feed Information to SDLLiveContent
> INFOSHARE PUBLISHING ENGINE ENDED (30/04/2010 18:10:46)
exitcode=0