Anda di halaman 1dari 103

EMC® Documentum®

XML Transformation Services


Version 6.5

Administration Guide
P/N 300-007-277 A01

EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
Copyright © 2007–2008 EMC Corporation. All rights reserved.
Published July 2008
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION MAKES NO REPRESENTATIONS
OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY
DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.
All other trademarks used herein are the property of their respective owners.
Table of Contents

Preface ........................................................................................................................... 9

Chapter 1 XML Transformation Services Overview ................................................ 11


What is Content Transformation Services? .................................................... 11
Content Transformation Services scalability ............................................. 12
What is XML Transformation Services? ........................................................ 12
XML Transformation Services components ............................................... 12
XML Transformation Services environment .......................................... 13
XML Transformation Server ................................................................ 13
Documentum Foundation Classes ....................................................... 13
XML Transformation Services plug-in .................................................. 14
Transform handlers ................................................................................ 14
How XML Transformation Services works ............................................... 15
How XML Transformation Services creates PDF renditions ................... 15
How XML Transformation Services creates HTML renditions ................ 16
How XML Transformation Services creates CHM renditions ..................... 17
Features of XML Transformation Services .................................................... 19
Supported transformations by source and target formats .............................. 20

Chapter 2 Conguring XML Transformation Services ........................................... 23


Configuring XML Transformation Services through Documentum
Administrator ............................................................................................ 23
Starting and stopping the CTS Administration Agent ............................... 24
Accessing the configuration screen in Documentum Administrator ............ 25
Adding or removing repositories serviced by XML Transformation
Services ..................................................................................................... 25
Defining file formats and DOS extensions .................................................... 26
Configuring filters ...................................................................................... 28
Adding product names to the product filter ............................................. 29
Configuring other DITA filters................................................................. 30
Configuring other DocBook filters ........................................................... 33
Configuring Inbox notifications ................................................................... 35
Configuring XTS with custom style sheet ..................................................... 37
Configuring XTS to transform DITA content with peer links .......................... 37

Chapter 3 Administering XML Transformation Services ........................................ 41


Administering XML Transformation Services through
Documentum Administrator ....................................................................... 41
Starting and stopping the CTS Administration Agent ............................... 42
Starting and stopping XML Transformation Services ..................................... 43
Altering timing and operational parameters ................................................. 43
Controlling the logging level ................................................................... 44
Managing multiple servers .......................................................................... 44

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 3


Table of Contents

Changing the CTS Service user after installation ........................................... 44


Changing the CTS administrator password .................................................. 45
Conguring the queue marker mechanism to manage queue item
sign-off ...................................................................................................... 45
Working with the CTS Activity Template in Documentum Process
Builder....................................................................................................... 46
Making the CTS Activity Template available to users ................................ 46
Making transformation profiles available for use with CTS
Activity Template ................................................................................... 47
Transformation profiles with no parameters ......................................... 48
Using the CTS Activity Template ............................................................. 48
Using the CTS Reporting Tool ..................................................................... 50
Enabling and disabling the CTS Reporting Tool ........................................ 51
Viewing the CTS Reporting Tool report .................................................... 51
Managing the transformation queue ............................................................ 52
Viewing transformation requests in the queue .......................................... 53
Changing a queue item’s priority ............................................................. 53
Viewing details of a queue item ............................................................... 54
Deleting a pending queue item ................................................................ 55
Configuring additional queue management fields .................................... 55
Removing a queue management field ...................................................... 56
Migrating existing profiles .......................................................................... 57
Viewing log file of migrated profiles ........................................................ 57
Selecting Internet Protocol version ............................................................... 58
Configuring XTS to transform XML content ................................................. 58

Chapter 4 Administering Content Transformation Services Web Services ............ 61


What are CTS web services.......................................................................... 61
Profile service ......................................................................................... 61
Operations related to this service ......................................................... 62
Transformation service............................................................................ 62
Operations related to this service ......................................................... 63
Web services and Document Foundation Services (DFS) ................................ 63
Content Transformation Services web services architecture .......................... 64
Asynchronous and synchronous transformation ........................................... 65
Synchronous requests ............................................................................. 65
CTS asynchronous architecture................................................................ 66
Configuring CTS WebServices instance ........................................................ 66
Configuring CTS WebServices instance for JBoss ...................................... 66
Verifying configuration of CTS web services ......................................... 67
Verifying CTS web service file are accessible ........................................ 67
Verifying deployment of EAR files ....................................................... 68
Verifying contents of transformation.properties file .............................. 68
Verifying preferences.xml file is updated with configured
repository .......................................................................................... 68
Location of realtime requests log files .................................................. 69
Configuring CTS WebServices instance for other supported
applications............................................................................................ 69
Locating CTS WebServices log file ........................................................... 72

Chapter 5 Working with Proles ............................................................................ 73


Understanding command-line files .............................................................. 73
Building and modifying profiles with Profile Editor...................................... 74

4 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Table of Contents

Editing a profile ..................................................................................... 74


Building a new profile ............................................................................ 75
Building a chain profile ........................................................................... 77
Building a parallel profile........................................................................ 79
Modifying profiles manually ....................................................................... 81
Using DQL in profiles ................................................................................. 81
The dql attribute value syntax ................................................................. 82
DQL guidelines ...................................................................................... 82
DQL query examples .............................................................................. 82
Querying the r_object_id attribute ........................................................... 83

Chapter 6 Performing Transformations ................................................................. 85


Transforming DITA files.............................................................................. 85
Transforming DocBook files ........................................................................ 87
Transforming DocBook files to CHM ....................................................... 87
Transforming DocBook files to HTML ...................................................... 89
Transforming DocBook files to PDF ......................................................... 91
Viewing renditions ..................................................................................... 92

Chapter 7 Troubleshooting .................................................................................... 93


Error events and log files............................................................................. 93
A transformation request fails ..................................................................... 94
A profile error occurs .................................................................................. 94
XML Transformation Server cannot add a rendition to a particular
format........................................................................................................ 95
XML Transformation Server cannot log in to the repository ........................... 95
CTS Administration Agent gives AGENT_INACCESSIBLE message.............. 96
Content Transformation Services fails to function ......................................... 97
Locating application server working folder .................................................. 97

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 5


Table of Contents

List of Figures

Figure 1. Typical XML Transformation Services installation ............................................. 13


Figure 2. Processing a request for a PDF rendition .......................................................... 16
Figure 3. Processing a request for an HTML rendition..................................................... 17
Figure 4. Processing a request for a CHM rendition ........................................................ 19
Figure 5. Content Transformation Services Web Services Architecture .............................. 64

6 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Table of Contents

List of Tables

Table 1. XML Transformation Services features ............................................................. 19


Table 2. Supported transformations with XML Transformation Services by
source and target formats ............................................................................ 20
Table 3. File format attributes ...................................................................................... 26
Table 4. Documentum format mapping ........................................................................ 28
Table 5. Inbox notification settings ............................................................................... 35

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 7


Table of Contents

8 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Preface

This guide provides step-by-step procedures for configuring and administering Documentum XML
Transformation Services. This manual also includes information about modifying profiles to extend
the functionality of XML Transformation Services.
You can find additional information about XML Transformation Services in the following documents:
• XML Transformation Services Installation Guide
• XML Transformation Services Release Notes
See the appropriate Documentum product documentation for information on related Documentum
products. For example, many administration and configuration tasks for XML Transformation
Services are best performed through Documentum Administrator; consult the Documentum
Administrator User Guide for guidance.

Intended audience
The primary audience for this guide is the system administrator who maintains this
software. The secondary audience is the system integrator who wishes to extend XML
Transformation Services functionality.
Familiarity with Microsoft Windows and the Documentum system is essential.

Revision history
The following changes have been made to this document.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 9


Preface

Revision date Description


July 2008 Initial publication for version 6.5 product release.

10 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 1
XML Transformation Services Overview

This chapter contains a brief overview of XML Transformation Services. It gives a basic description
of the Documentum environment and relates the XML Transformation Services components within
the installation.
This chapter contains the following sections:
• What is Content Transformation Services?, page 11
• What is XML Transformation Services?, page 12
• Features of XML Transformation Services, page 19
• Supported transformations by source and target formats, page 20

What is Content Transformation Services?


Content Transformation Services (CTS) is a suite of Documentum server products that
perform transformations and analysis on repository content. CTS includes these main
products:
• Advanced Document Transformation Services (ADTS)
• Document Transformation Services (DTS)
• Media Transformation Services (MTS)
• XML Transformation Services (XTS)
Additional components are available for some of these products. For example, Media
Transformation Services may have additional transformation services installed, such
as Audio/Video Transformation Services (AVTS). These components supplement
the features already provided by the base product, according to your organization’s
requirements.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 11


XML Transformation Services Overview

Content Transformation Services scalability


Content Transformation Services (CTS) products allow for a high level of scalability.
All CTS products run under the same Windows Service on the CTS host. This means
that stopping or starting the CTS service stops or starts all the CTS products on that
host. For example, if your CTS host contains XML Transformation Services and Media
Transformation Services, stopping the CTS service stops both products.
Each CTS product can be configured for multiple repositories. If you have one installation
of a product on a host, that installation can be configured against multiple repositories.
CTS scalability also allows for several instances of Content Transformation Services
products on different hosts to be configured for the same repository. This means that
your installation can take either of two forms: one with identical plug-in capabilities,
or one with different plug-in capabilities.
To enable this functionality, Content Transformation Services has format awareness.
Format awareness is the ability for a Content Transformation Services product to
recognize which file formats it is capable of processing. Items that cannot be processed
successfully will be removed from the queue automatically. A check for unprocessed
items is performed periodically.

What is XML Transformation Services?


XML Transformation Services is server software that generates copies of documents in
Portable Document Format (PDF), HyperText Markup Language (HTML), ZIP, and
Compiled HTML Help (CHM). You can use Documentum client applications to request a
rendition of a document stored in a Documentum repository.
Designed primarily for technical publication organizations, XML Transformation
Services is part of a seamless approach to storing, managing, and transforming XML,
DITA, and DITAMAP content.
Refer to the XML Transformation Services Release Notes for details about the XML standards
supported in this release.

XML Transformation Services components


XML Transformation Services is an added component to your basic Documentum
installation that includes Content Server and defined repositories with file stores. The
following sections detail the main components that comprise a XML Transformation
Services installation.

12 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


XML Transformation Services Overview

XML Transformation Services environment

Figure 1, page 13 shows a typical XML Transformation Services installation on the


Documentum platform.

Figure 1. Typical XML Transformation Services installation

XML Transformation Server

XML Transformation Services integrates with Documentum Content Server to process,


store, and manage files within the Documentum schema. When users import files or
request file transformations, the Content Server stores those register and request objects
in a queue. The XML Transformation Server will poll that queue intermittently, looking
for register and request objects. The file is then passed to the appropriate Transformation
Service plug-in for processing.
When the processing is complete, the XML Transformation Server updates the original
objects with new renditions or creates the new objects, as requested. The objects are
saved to the repository and the requests are removed from the queue. The objects are
then ready for use.

Documentum Foundation Classes

The Documentum Foundation Classes (DFC) are a set of Java classes that provide
access to Content Server functionality. Web-based applications, such as Digital Asset

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 13


XML Transformation Services Overview

Manager and Web Publisher, make calls directly to the DFC or indirectly through the
Web Development Kit (WDK).
DFC must be installed on the XML Transformation Services host. If you are installing
XML Transformation Services on a host that already has the DFC, XML Transformation
Services may be able to use the existing DFC, provided they are the correct version.
The XML Transformation Services installer checks for existing DFC on the host. If the
DFC are detected, they will be replaced by the version included with the installer.
Refer to the relevant version of the Documentum System Migration Guide available at the
Documentum Download Center at https://emc.subscribenet.com/control/dctm/index for
more information on migration issues. Follow the Documentum Foundation >
Documentation for Documentum 6.5 link.
Any applications that were dependent upon the older version of the DFC will have
to be upgraded as well. For more information on the DFC and their effect on other
applications, refer to your specific Documentum application documentation.
If your version is newer than the DFC included with the installer, it will be refreshed.

XML Transformation Services plug-in

The XML Transformation Services plug-in enables users to transform a variety of files
from one format to another (for example, from XML to PDF or HTML).
During an installation of XML Transformation Services, this plug-in is installed:
• XPUB — transforms XML (based on DocBook and DITA standards), DITA, and
DITAMAP files to PDF, HTML, ZIP, or CHM; DITAMAP files to Java Help, Eclipse
Help, RTF, and DocBook; and custom XML to PDF.
Plug-ins are extensible. You can configure plug-in types and formats, and you can
add new plug-ins to the system to support new file formats as required. Information
about creating and adding new plug-ins is contained in the Content Transformation
Services Product Development Guide, or contact your Documentum account or support
representative for more information.

Transform handlers
Unique to XML Transformation Services is the use of transform handlers. While other
Content Transformation Services plug-ins perform transformations directly, the XPUB
plug-in delegates transformation requests to the transform handlers. Each doctype
family supported by XML Transformation Services has their own transform handler.
The following transform handlers are installed with XML Transformation Services:

14 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


XML Transformation Services Overview

• DITA transform handler (DefaultDitaOT13Handler)


This transform handler is designed to work with DITA Open Toolkit version 1.3.x.
• DocBook transform handler (DefaultDocBookHandler)
This transform handler transforms DocBook XML content using DocBook XSL
stylesheets.
• XML transform handler (DefaultXMLToPDFhandler)
This transform handler transforms any custom XML to PDF.
(The customer provides the styles sheet required to generate XSL-FO content.)

How XML Transformation Services works


The following sections detail how XML Transformation Services creates renditions in
PDF, HTML, and CHM.

How XML Transformation Services creates PDF renditions

The following steps describe how XML Transformation Services produces PDF
renditions in response to client requests:

1. The client application sends the rendition request to the Documentum Content
Server.
Note: XML Transformation Services modifies the document object, so it cannot
process locked (checked out) documents.
2. Content Server stores the request in a queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds a PDF rendition request in the queue, it
checks the input_doctype_family name token to distinguish between a DITA and
DocBook file. The request is passed to the appropriate transform handler for the
document.
5. The transform handler generates a PDF rendition based on what the default profiles
specify.
6. Content Server adds the PDF rendition to the object in the repository.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 15


XML Transformation Services Overview

can view the rendition from the client application.


Each time a transformation is performed, an additional rendition is created for the
source file.
Figure 2, page 16 illustrates this rendition process.

Figure 2. Processing a request for a PDF rendition

How XML Transformation Services creates HTML renditions

The following steps describe how XML Transformation Services produces HTML
renditions in response to client requests:

1. The client application sends the rendition request to the Content Server.
Note: XML Transformation Services cannot process documents that are locked
(checked out from the repository).
2. Content Server stores the request in a special queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds an HTML rendition request in the queue,
it checks the input_doctype_family name token to distinguish between a DITA and
DocBook file. The request is passed to the appropriate transform handler.format
of the document.
5. XML Transformation Services invokes the corresponding application to open the
file and then saves an HTML version.

16 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


XML Transformation Services Overview

• If the result is a single HTML file, XML Transformation Services sends this file
to the Content Server.
• If the result consists of multiple files (for example, HTML, graphics, and XML
files), XML Transformation Services creates a Zip file containing these files,
and sends the Zip file to Content Server. The Zip file includes any folders the
application creates to contain these files.
6. Content Server adds the HTML or Zip file to the repository as a rendition of the
document object.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users
can view the rendition from the client application.
Each time a transformation is performed, an additional rendition is created for the
source file.
Figure 4, page 19 illustrates this rendition process.

Figure 3. Processing a request for an HTML rendition

How XML Transformation Services creates CHM


renditions
The following steps describe how XML Transformation Services produces CHM
renditions in response to client requests:

1. The client application sends the rendition request to the Content Server.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 17


XML Transformation Services Overview

Note: XML Transformation Services cannot process documents that are locked
(checked out from the repository).
2. Content Server stores the request in a special queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds a CHM rendition request in the queue,
it checks the input_doctype_family name token to distinguish between a DITA
and DocBook file. The request is passed to the appropriate transform handler for
the document.
5. XML Transformation Services invokes the corresponding application to generate the
desired rendition for the XML content and then saves an CHM version.
• If the result is a single-file rendition, XML Transformation Services sends this file
to the Content Server.
• If the result consists of multiple files (for example, HTML, graphics, and XML
files), XML Transformation Services creates a Zip file containing these files,
and sends the Zip file to Content Server. The Zip file includes any folders the
application creates to contain these files.
6. Content Server adds the single file to the repository as a rendition of the document
object.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users
can view the rendition from the client application.
Each time a transformation is performed, an additional rendition is created for the
source file.
Figure 4, page 19 illustrates this rendition process.

18 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


XML Transformation Services Overview

Figure 4. Processing a request for a CHM rendition

Features of XML Transformation Services


The following are the features that XML Transformation Services offers.

Table 1. XML Transformation Services features

Feature Comments
Runs as a Windows Service and
intelligently handles exceptions raised
by native applications.
Transforms XML, DITA, and XML source files in DITA and DocBook
DITAMAP files into PDF, HTML, standards are supported.
ZIP*, Compiled HTML Help (CHM);
Eclipse Help**, Java Help**, RTF**,
DocBook.**
Transform XML to PDF. The target output is PDF only.
Filters the output based on a variety By default, filters for operating systems,
of parameters. audience levels, revisions, and product names
are available. These filters are configurable.
See Configuring filters, page 28 for details.
Creates a new rendition each time a
file is transformed.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 19


XML Transformation Services Overview

Feature Comments
Transforms a document as part of a CTS Activity Template is included. Profile
business workflow process using the configuration required. See Working with
CTS Activity Template. the CTS Activity Template in Documentum
Process Builder, page 46 for details. See XML
Transformation Services Installation Guide for
installation instructions.
Integrates with entire Documentum
product suite.
* ZIP output is valid for DITA source files only.
**Output is valid for DITAMAP source files only.

Supported transformations by source and


target formats
The supported transformations depend upon the installation of a variety of applications
on the XML Transformation Services host. For more information, see the XML
Transformation Services Release Notes.
With the required supporting applications installed, XML Transformation Services can
perform the following transformations.

Table 2. Supported transformations with XML Transformation Services by source and


target formats

Source format (input) XML standard Target formats


(output)
XML DITA PDF, HTML, ZIP
DocBook PDF, HTML,
Compiled HTML
Help (CHM)
XML XML Schema PDF

20 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


XML Transformation Services Overview

Source format (input) XML standard Target formats


(output)
DITA DITA PDF, HTML, ZIP
DITAMAP DITA PDF, HTML,
Compiled HTML
Help (CHM), Java
Help, Eclipse Help,
RTF, and DocBook

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 21


XML Transformation Services Overview

22 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 2
Conguring XML Transformation
Services

This chapter contains instructions for configuring XML Transformation Services. The following
sections are included in this chapter:
• Configuring XML Transformation Services through Documentum Administrator, page 23
• Adding or removing repositories serviced by XML Transformation Services, page 25
• Defining file formats and DOS extensions, page 26
• Configuring filters, page 28
• Configuring Inbox notifications, page 35
• Configuring XTS with custom style sheet, page 37
• Configuring XTS to transform DITA content with peer links, page 37

Conguring XML Transformation Services


through Documentum Administrator
Many configuration tasks for XML Transformation Services can now be done through the
CTS Administration component of Documentum Administrator. You must have access
to Documentum Administrator and the repositories to which XML Transformation
Services is configured.
The CTS Administration component appears in Documentum Administrator if at least
one instance is installed and configured on a repository to which it is connected. This
check is done through executing the DQL/DFC call to find the presence of at least one
cts_instance_info object in the repository.
The following XML Transformation Services configuration tasks can be performed
through the Documentum Administrator client, in the CTS Administration Node:

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 23


Conguring XML Transformation Services

• Change the system operator user. The system operator is the name of the user who
receives messages from an instance of XML Transformation Services.
If XML Transformation Server fails to process a particular item, it queues an event
(dm_mediaserver_error) to the Inbox of the repository user who is defined as the
XML Transformation Server system operator (sysOpUser). The event appears as an
error message in the sysOpUser’s Inbox.
• Change the user for repository login.
• Change the polling interval. The polling interval is the amount of time in seconds
that the instance will wait between polls.
When document processing (transformation) is requested, Content Server
creates queue items and appends them to the dm_mediaserver queue or
dm_autorender_win31 queue, depending on the type of request. XML
Transformation Server uses a queue polling mechanism to look for items in the
queue that it has to process. When XML Transformation Server finds items in any of
these queues, it proceeds with processing.
• Change the logging level. The logging level value controls how much information
will be recorded in the CTS log files, which XML Transformation Services uses. Log
files can be used to troubleshoot the system.
• Change the system notification setting. The notification setting controls whether
success notifications should be sent to each individual user requesting a
transformation through a CTS product.
• Change the maximum number of queue items. This value controls how many items
the XML Transformation Services instance adds for processing each time it polls
the queue.
• Change the queue item expiry. This value controls the amount of time an item will
be sitting in a queue before being deleted from the queue.
The Documentum Administrator User Guide provides more information about these
configuration tasks.

Starting and stopping the CTS Administration Agent


In order to use the Content Transformation Services Administration component in
Documentum Administrator, it is necessary to have the CTS Admin Agent running on
the CTS host machine. The Admin Agent can be stopped or started either from the
Windows Start menu, or by running a batch file.

To start/stop the CTS Admin Agent through the Start menu:


1. Log in to the XML Transformation Services host.

24 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

2. Go to the Windows Services utility located at Start > Settings > Control Panel >
Administrative Tools > Services.
3. Select Documentum CTS Admin Agent.
4. To start the Admin Agent, click Start.
To stop the Admin Agent, click Stop.

To start/stop the CTS Admin Agent by running the batch le:


1. Log in to the XML Transformation Services host.
2. Navigate to C:\Program Files\Documentum\CTS\Admin Agent\bin.
3. To start the Admin Agent, run the startup.bat file.
To stop the Admin Agent, run the shutdown.bat file.

Accessing the conguration screen in Documentum


Administrator
You can perform the tasks outlined in Configuring XML Transformation Services
through Documentum Administrator, page 23 through the configuration screen in
Documentum Administrator. Ensure that the CTS Admin Agent is running.

To access the conguration screen:


1. Log in to Documentum Administrator.
2. Select the Content Transformation Services node under Administration.
3. Select the CTS instance you would like to configure.
4. Select Tools > Content Transformation Services > Configure.
Consult the Documentum Administrator User Guide for information about configuration
tasks.

Adding or removing repositories serviced by


XML Transformation Services
During installation, XML Transformation Services is configured to communicate with
single or multiple repositories. You can add or remove a repository by running the
XML Transformation Services Configurator (accessible through the Windows menu at

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 25


Conguring XML Transformation Services

Start>Programs>Documentum>XTS Configuration Utility). For information on the


Configurator and how to run it, see the XML Transformation Services Installation Guide.
Note: You must have SuperUser privileges for a repository in order to add or remove
support for XML Transformation Services.

Dening le formats and DOS extensions


You must define file formats and DOS file extension pairs in the repository for all source
document types that you want XML Transformation Services to recognize. In addition, if
the DOS file extension differs from the Documentum format name, you must update
the FormatMapperService.xml config file.

To add a le format using Documentum Administrator:


1. Start Documentum Administrator and connect to the repository to which you want
to add the new file format.
2. Under Repository Management, click Formats.
The Formats page appears.
3. Click New.
The Create New Format Object page appears.
4. Enter the general attributes for the format, as listed in Table 3, page 26.

Table 3. File format attributes

Field Value
Name Name of the format object
Description Description of the format
Default File Extension Examples of valid file extensions are:
• dita for DITA topic files
• ditamap for DITA map files
• xml for XML (DITA or DocBook) files
COM Class ID Component Object Model (COM) registry ID for the
format
MIME Type The Multimedia Internet Mail Extension (MIME)
designation for the content type

26 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

Field Value
Windows Application Name of an application to launch when users select
a document in the format represented by the format
object
Is Hidden Used by client applications
Macintosh Creator* Information used internally for managing Macintosh
resource files
Macintosh Type* Information used internally for managing Macintosh
resource files
* The Macintosh Creator and Type values are necessary for users to access files in
this format from Macintosh clients.
5. If the format is indexable, define the indexing options.
a. Select Can Be Indexed.
b. To index with a filter, click Index with Filter and select the filter from the list box.
By default, all formats installed with the Content Server use the universal filter.
c. To index with a rendition, click Index with Rendition and select the rendition
format from the list box.
This is the format in which the document will be indexed if its original format is
not used for indexing. If you are indexing the PDF text rendition of documents
in this format, set this to pdftext.
6. Click Create.
A confirmation page appears. You can create a new template for this format by
selecting Create New Template for this Format.
The following procedure is required only if the DOS file format differs from the
Documentum format name in Content Server. See Table 4, page 28 for a listing of format
names used in Documentum systems.

To update the FormatMapperService cong le:


1. Navigate to %CTS_HOME%\config.
2. Open the FormatMapperService.xml file in a text editor.
3. Add the format to the <CTSHandlerList> section, using the following syntax:
<FormatMapper CTSFormat="<dos extension>" DocumentumFormat=
"<format name in Content Server>"/>
For example, the entry for DITA topic files is:
<FormatMapper CTSFormat="dita" DocumentumFormat="ditatopic"/>

4. Save and close the FormatMapperService.xml file.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 27


Conguring XML Transformation Services

Table 4, page 28 lists some examples of the format mapping used in Documentum
systems. Use these format names in DQL.

Table 4. Documentum format mapping

Format Documentum name


DITA ditatopic
DITAMAP ditamap
XML xml

Conguring lters
Filters allow you to configure the output to include or exclude specific content that has
been tagged within the source document. For example, a user guide may have content
that applies to specific operating systems on which the application is installed. If the
content pertaining to those operating systems is tagged as such within the source file, the
output can be filtered accordingly.
XML Transformation Services is configured out of the box with the following four filters:
• profile_os
The following operating systems are available: Windows, Linux, HP-UX, Solaris,
and Mac.
• profile_audience
The following audience levels are available: Expert, Intermediate, and Beginner.
• profile_revision
The following revision names are available: New, Changed, Deleted, and Final.
• profile_product
No names exist for this filter. You must add the product names that apply to your
organization.
If any of these default filters are appropriate for your organization, you must ensure that
the source documents are profiled accordingly. To use the operating system profile, for
instance, you must tag sections within your source documents with operating system
names. Consult the documentation for your authoring system to determine how to
profile your source documents.
For many organizations, these filters will require modification, or new filters will be
needed.

28 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

One transformation profile controls all DITA filters, while three different profiles are
required for DocBook transformations. Separate procedures are provided for both DITA
and DocBook filter configurations.
This section covers the following topics:
• Adding product names to the product filter, page 29
• Configuring other DITA filters, page 30
• Configuring other DocBook filters, page 33

Adding product names to the product lter


Since each organization will have a unique set of product names for which to filter, you
must add the appropriate product names to the transformation profiles.
Note: By default, the profiles have no product names specified. If you do not add
product names as outlined below, users can simply enter the product name in a text box
when they perform transformations. However, this approach could lead to user errors
if incorrect product names are entered. Configuring the product names in the profiles
is highly recommended.

To add product names to appear in the product lter list box:


1. Log in to the repository using an appropriate application.
2. Navigate to /System/Media Server/Profiles.
3. Check out or export the ProfileSchema.dtd file.
If you export the file, you only need to do so the first time you modify a profile.
Leave the DTD file in your checkout directory so that the profiles you check out in
the future can reference the DTD.
4. Check out the appropriate profile:
• For all DITA transformations, select dita_transform.xml.
• For DocBook transformations, select the docbook_transform_chm.xml,
docbook_transform_html.xml, or docbook_transform_pdf.xml, depending on
the transformations your organization will be using.
Note: If these files are not immediately visible, select Show All Objects and
Versions from the Show list box.
5. Open the profile in an XML or text editor.
6. Locate the profile_product parameter. Change the controltype from "text” to
"listbox”.
7. Add <ValueList> tokens to the profile_product parameter.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 29


Conguring XML Transformation Services

For example, if you want to filter content based on model number, you could add
values as follows:
<Parameter name="profile_product"
label="Product Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Select any Products You wish...">
<ValueList>
<Value label="Model A">Model A</Value>
<Value label="Model B">Model B</Value>
<Value label="Model C">Model C</Value>
<Value label="Model D">Model D</Value>
</ValueList>
</Parameter>

8. Save your changes.


9. Check in the profile.
10. Stop and restart the transformation server service.
The correct product names will now appear in the product list box when users are
requesting transformations.

Conguring other DITA lters


The dita_transform.xml profile file controls the filters for all DITA transformations.

To modify an existing DITA lter:


1. Log in to the repository using an appropriate application.
2. Navigate to /System/Media Server/Profiles.
3. Check out or export the ProfileSchema.dtd file.
If you export the file, you only need to do so the first time you modify a profile.
Leave the DTD file in your checkout directory so that the profiles you check out in
the future can reference the DTD.
4. Check out the dita_transform.xml file.
Note: If this file is not immediately visible, select Show All Objects and Versions
from the Show list box.
5. Open the profile in an XML or text editor.
6. Locate the filter parameter you wish to modify within the <Transcodings> section.
For example, the revision filter appears as follows:
<Parameter name="profile_revision"
label="Revision Filter"

30 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

controltype="listbox"
datatype="string"
isRequired="false"
description="Select Any Revision Flags You Wish to
Exclude">
<ValueList>
<Value label="New">New</Value>
<Value label="Changed">Changed</Value>
<Value label="Deleted">Deleted</Value>
<Value label="Final">Final</Value>
</ValueList>
</Parameter>

7. Add, modify, or delete a value within the list, being careful to follow the proper
syntax.
For example, you could change the values for profile_revision, as follows:
<Parameter name="profile_revision"
label="Revision Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Select Any Revision Flags You Wish to
Exclude">
<ValueList>
<Value label="First draft">First draft</Value>
<Value label="Technical review">Technical review</Value>
<Value label="Approved">Approved</Value>
</ValueList>
</Parameter>

8. Save your changes.


9. Check in the profile.
10. Stop and restart the transformation server service.
The modified values will now appear when users request transformations for DITA files.

To add a new lter for DITA source les:


1. Log in to the repository using an appropriate application.
2. Navigate to /System/Media Server/Profiles.
3. Check out or export the ProfileSchema.dtd file.
If you export the file, you only need to do so the first time you modify a profile.
Leave the DTD file in your checkout directory so that the profiles you check out in
the future can reference the DTD.
4. Check out the dita_transform.xml file.
Note: If this file is not immediately visible, select Show All Objects and Versions
from the Show list box.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 31


Conguring XML Transformation Services

5. Open the profile in an XML or text editor.


6. Add a parameter for the filter you wish to add.
For example, to add a filter based on application servers, the new parameter might
appear as follows:
<Parameter name="profile_appserver"
label="Application Server Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Select an application server to exclude">
<ValueList>
<Value label="BEA">BEA</Value>
<Value label="Oracle">Oracle</Value>
<Value label="Sun One">Sun One</Value>
<Value label="Tomcat">Tomcat</Value>
</ValueList>
</Parameter>

7. Save your changes.


8. Check in the profile.
9. Navigate to /System/Media Server/Command Line Files.
10. Check out the dita_transform_command.xml file.
Note: If this file is not immediately visible, select Show All Objects and Versions
from the Show list box.
11. Open the profile in an XML or text editor.
12. In the <input_properties> section, add the new filter. This illustrates the entry for
the application server example:
<!-- property maps to the 'profile_appserver' parameter
- used as a conditional processing filter
(default value '' indicates that there are no
filter tokens) -->
<property name="profile_appserver" value=""/>

13. In this same file, add an entry to the <conditional_params> section. Continuing the
application server example, this addition would appear as follows:
<param name="appserver" use-property="profile_appserver"/>

14. Save your changes.


15. Check in the profile.
16. Stop and restart the transformation server service.
The new filter will now appear when users request transformations for DITA files.

32 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

Conguring other DocBook lters


Three profile files handle DocBook transformations, based on the output format:
• docbook_transform_chm
• docbook_transform_html
• docbook_transform_pdf
Each of these profiles contains a unique set of parameters. They also include the standard
four filters as for DITA files.

To modify an existing DocBook lter:


1. Log in to the repository using an appropriate application.
2. Navigate to /System/Media Server/Profiles.
3. Check out or export the ProfileSchema.dtd file.
If you export the file, you only need to do so the first time you modify a profile.
Leave the DTD file in your checkout directory so that the profiles you check out in
the future can reference the DTD.
4. Check out the docbook_transform file you wish to modify.
Note: If these files are not immediately visible, select Show All Objects and
Versions from the Show list box.
5. Open the profile in an XML or text editor.
6. Locate the filter parameter you wish to modify within the <Transcodings> section.
For example, the audience filter appears as follows:
<Parameter name="profile_audience"
label="Audience Filter"
controltype="listbox"
datatype="string"
isRequired="false"
default="">
<ValueList>
<Value label="Expert">Expert</Value>
<Value label="Intermediate">Intermediate</Value>
<Value label="Beginner">Beginner</Value>
</ValueList>
</Parameter>

7. Add, modify, or delete a value within the list, being careful to follow the proper
syntax.
For example, you could change the values for profile_audience, as follows:
<Parameter name="_audience"
label="Audience Filter"
controltype="listbox"

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 33


Conguring XML Transformation Services

datatype="string"
isRequired="false"
default="">
<ValueList>
<Value label="User">User</Value>
<Value label="Administrator">Administrator</Value>
<Value label="Developer">Developer</Value>
</ValueList>
</Parameter>

8. Save your changes.


9. Check in the profile.
10. Stop and restart the transformation server service.
The modified values will now appear when users request transformations for DocBook
files.

To add a new lter for DocBook source les:


1. Log in to the repository using an appropriate application.
2. Navigate to /System/Media Server/Profiles.
3. Check out or export the ProfileSchema.dtd file.
If you export the file, you only need to do so the first time you modify a profile.
Leave the DTD file in your checkout directory so that the profiles you check out in
the future can reference the DTD.
4. Check out the docbook_transform file for which to add a filter.
Note: If these files are not immediately visible, select Show All Objects and
Versions from the Show list box.
5. Open the profile in an XML or text editor.
6. Add a parameter for the filter you wish to add.
For example, if your documents contain different regulatory statements pertaining
to different countries, you might require a country filter. Such a parameter might
appear as follows:
<Parameter name="profile_country"
label="Country Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Include content specific to this country">
<ValueList>
<Value label="USA">USA</Value>
<Value label="Canada">Canada</Value>
<Value label="Mexico">Mexico</Value>
</ValueList>
</Parameter>

34 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

7. Save your changes.


8. Check in the profile.
9. Navigate to /System/Media Server/Command Line Files.
10. Check out the docbook_transform_command.xml file.
Note: If this file is not immediately visible, select Show All Objects and Versions
from the Show list box.
11. Open the profile in an XML or text editor.
12. In the <input_properties> section, add the new filter. This illustrates the entry for the
country example:
<!-- property maps to the 'profile_country' parameter
- used as a conditional processing filter
(default value '' indicates that there are no
filter tokens) -->
<property name="profile_country" value=""/>

13. In this same file, add an entry to the <conditional_params> section. Continuing the
country example, this addition would appear as follows:
<param name="country" use-property="profile_country"/>

14. Save your changes.


15. Check in the profile.
16. Stop and restart the transformation server service.
The new filter will now appear when users request transformations for DocBook files.

Conguring Inbox notications


When transformation requests fail, the XML Transformation Server sends notifications to
the Inbox of the repository user. By default, success notifications are not sent. However,
these default behaviors can be configured using the procedures in this section.
The behavior of success and failure notifications differs slightly. While success
notifications can be suppressed for all users, failure notifications are sent to admin users
regardless of the setting. Table 5, page 35 outlines these behaviors.

Table 5. Inbox notication settings

Notification Setting User(s) notified


Success Yes Regular user
No none

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 35


Conguring XML Transformation Services

Notification Setting User(s) notified


Failure Yes Regular user and admin user
No Admin user

To modify the conguration of success notications:


1. Navigate to %CTS_HOME%\config.
2. Open the CTSServerService.xml file in a text editor.
3. To turn on notifications for successful transformations, you need to set the
notifySuccessMessage parameter to the following:
<CTSServer AttributeName="notifySuccessMessage" AttributeValue="YES"/>
To turn off notifications for successful transformations, you need to set the
notifySuccessMessage parameter to the following:
<CTSServer AttributeName="notifySuccessMessage" AttributeValue="NO"/>

Note: There are two <QueueProcessorContext> tags for each repository that is
configured. You must modify the notifySuccessMessage parameter within each
<QueueProcessorContext> tag.
4. Save and close the CTSServerService.xml file.

To modify the conguration of failure notications:


1. Navigate to %CTS_HOME%\config.
2. Open the CTSServerService.xml file in a text editor.
3. To turn on notifications for failure transformations, you need to set the
notifySuccessMessage parameter to the following:
<CTSServer AttributeName="notifyFailureMessage" AttributeValue="YES"/>
To turn off notifications for failure transformations, you need to set the
notifySuccessMessage parameter to the following:
<CTSServer AttributeName="notifyFailureMessage" AttributeValue="NO"/>

Note: There are two <QueueProcessorContext> tags for each repository that is
configured. You must modify the notifySuccessMessage parameter within each
<QueueProcessorContext> tag.
4. Save and close the CTSServerService.xml file.

36 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

Conguring XTS with custom style sheet


The XML to PDF transformation uses the "Transform XML to PDF” profile. New
parameters need to be configured for this profile.

To congure XTS with custom style sheet:


1. Locate the %CTS_HOME%\config\xpub.xml file.
2. Locate the <STYLESHEET> section.
3. Update the <STYLESHEET> node corresponding to "XML" handler to point to the
new file on your local system.
<STYLESHEET handler="XML" name="DEFAULT" fileref="C:\PROGRA~1\
DOCUME~1\CTS\xts\xsl\default.xsl">

To congure parameter for the "Transform XML to PDF” prole:


1. Check out the "xml_transform_pdf.xml” profile from the following folder in the
repository: /System/Media Server/Profiles.
2. Open the profile in an XML or text editor. Make the necessary changes and save
the file.
3. Locate the <Transcoding> tag and add the new parameter(s) as required.
4. Save and check in the file.
5. Check out the "xml_transform_pdf_command.xml” command line file from the
following folder in the repository: /System/Media Server/Command Line Files.
6. Locate the <xslt_params format="pdf"> section. For each of the parameters that you
add in Step 2, add a new tag, using the new parameter name:
<param name="new_xslt_param_name1" use-property=" new_xslt_param_
name1"/>
<param name="new_xslt_param_name2" use-property=" new_xslt_param_
name2"/>
</xslt_params>

7. Save and check in the file.


8. Restart the Documentum Content Transformation Services service.

Conguring XTS to transform DITA content


with peer links
You need to configure XTS to transform DITA content with peer links:

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 37


Conguring XML Transformation Services

To congure XTS to transform DITA content with peer links:


Perform ONE of the following:

1. Check out the "dita_transform_command.xml” command line file from the following
folder in the repository: /System/Media Server/Command Line Files.
2. Locate the following section:
<!-- set value = "false" if no DRL parsing is required-->
<drl_resolver_enabled token="doc_token_drlresolver" value="true">
<!-- use the parse@ paramters to specify the element and
attributes that should be checked for DRL-->
<!-- for example parse@xref@href requires the href
attributes in xref elements to be parsed. The -->
<!-- value of the param is the link type (cross/con)-->
<param name="parse@xref@href" value="cross"/>
<param name="parse@link@href" value="cross"/>
<param name="parse@*@conref" value="con"/>
<!--file extensions to be processed (optional)-->
<param name="file_types" value="xml,dita,ditamap"/>
<!-- repository path to a file represeting a broken link
page, has to be configured by user-->
<param name="brokenlink" value="/Administrator/broken.dita"/>
<!--for conrefs, an attempt to export a file and process it is
made. the process is recursive and depth -->
<!-- is used to control the number of recursive iterations-->
param name="depth" value="1"/>
</drl_resolver_enabled>

3. Move your current configuration elements from version SP5 located at


"${documentum.dir}\CTS\xts\DITA-OT1.3\lib\drlresolver.properties” to the
section in Step 2.
4. Save and check in the file.
5. Remove the following lines:
• <antcall target="resolve-drl"></antcall> from ${DITA-OT}\build.xml
• <task target name="resolve-drl"> from ${DITA-OT}\build_preprocess.xml
6. Save the changes.
7. Restart the Documentum Content Transformation Services service.
OR

1. Check out the "dita_transform_command.xml” command line file from the following
folder in the repository: /System/Media Server/Command Line Files.
2. Locate the following line:
<drl_resolver_enabled token="doc_token_drlresolver" value="true">

3. Change the value from "true” to "false”.

38 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Conguring XML Transformation Services

4. Save and check in the file.


5. Restart the Documentum Content Transformation Services service.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 39


Conguring XML Transformation Services

40 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 3
Administering XML Transformation
Services

This chapter contains information about XML Transformation Services administration options. The
following sections are included in this chapter:
• Administering XML Transformation Services through Documentum Administrator, page 41
• Starting and stopping XML Transformation Services, page 43
• Altering timing and operational parameters, page 43
• Managing multiple servers, page 44
• Changing the CTS Service user after installation, page 44
• Changing the CTS administrator password, page 45
• Conguring the queue marker mechanism to manage queue item sign-off, page 45
• Working with the CTS Activity Template in Documentum Process Builder, page 46
• Using the CTS Reporting Tool, page 50
• Managing the transformation queue, page 52
• Migrating existing profiles, page 57
• Selecting Internet Protocol version, page 58
• Configuring XTS to transform XML content, page 58

Administering XML Transformation Services


through Documentum Administrator
Some administration tasks for XML Transformation Services can now be done through
the Content Transformation Services Administration component of Documentum
Administrator. The CTS Administration component appears in Documentum
Administrator if at least one instance is installed and configured on a repository to which

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 41


Administering XML Transformation Services

it is connected. This check is done through executing the DQL/DFC call to find the
presence of at least one cts_instance_info object in the repository.
The following XML Transformation Services administration tasks can be performed
through Documentum Administrator:
• Change your password. Alternatively, this task can be done using the setPassword
utility. Note that the system administrator must also change the password on the
server.
• View log files. Log files are created for each plug-in. The contents and detail
level of each log file depend on the log file setting you have chosen for the XML
Transformation Services instance.
• View details of an instance. Details include each CTS product that is configured for a
repository, the version number of each product, the name of the host machine for
each product, its current status (running or stopped), the time it was last started, the
number of queued items for the instance, and the number of items processed by
the instance.
• Control a CTS instance. This includes starting, stopping, and refreshing an instance.
Note that performing any of these actions will apply to all CTS products running
on the host. This is because all CTS products on a host use the same CTS Windows
service. Starting and stopping the CTS Windows service can also be done manually,
on the host machine. See Starting and stopping XML Transformation Services,
page 43.

Starting and stopping the CTS Administration Agent


In order to use the Content Transformation Services Administration component in
Documentum Administrator, it is necessary to have the CTS Admin Agent running on
the CTS host machine. The Admin Agent can be controlled either from the Windows
Start menu or by running a batch file.

To start/stop the CTS Admin Agent through the Start menu:


1. Log in to the XML Transformation Services host.
2. Go to the Windows Services utility located at Start > Settings > Control Panel >
Administrative Tools > Services.
3. Select Documentum CTS Admin Agent.
4. To start the Admin Agent, click Start.
To stop the Admin Agent, click Stop.

42 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

To start/stop the CTS Admin Agent by running the batch le:


1. Log in to the XML Transformation Services host.
2. Navigate to C:\Program Files\Documentum\CTS\Admin Agent\bin.
3. To start the Admin Agent, run the startup.bat file.
To stop the Admin Agent, run the shutdown.bat file.

Starting and stopping XML Transformation


Services
When you restart the XML Transformation Server host, the XML Transformation Server
will start automatically. You may also start and stop the XML Transformation Server
manually, using the following procedure. This may be necessary after modifying a
transformation profile, for example.

To start/stop XML Transformation Services:


1. Log in to the XML Transformation Services host.
2. Go to the Windows Services utility located at Start > Settings > Control Panel >
Administrative Tools > Services.
3. Select Documentum Content Transformation Services.
4. To start XML Transformation Services, click Start.
To stop XML Transformation Services, click Stop.
Note: A background service, called Documentum Content Transformation Monitor
Services, restarts XML Transformation Services if it stops unexpectedly. Since the
monitor is set to run automatically by default, you will not typically need to access
it. It is located under Windows Services.

Altering timing and operational parameters


The sections that follow explain how to alter the timing and operational parameters that
can be changed. The following is the basic procedure to follow when changing timing
and operational parameters.

To change timing and operational parameters:


1. Stop the XML Transformation Server.
2. Change timing and operational parameters as desired.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 43


Administering XML Transformation Services

Refer to the sections that follow for detailed information about options for setting
parameters.
3. Restart the XML Transformation Server.

Controlling the logging level


The logging level can be controlled by modifying the log4j.properties file, available in the
Documentum user directory (such as C:\Documentum\config). By default it is set to
INFO level. To get more logging information, modify this level to DEBUG.
Note: This task can also be performed through the Content Transformation Services
Administration component in Documentum Administrator. See Configuring XML
Transformation Services through Documentum Administrator, page 23.

Managing multiple servers


The standard installation for XML Transformation Services consists of one repository
with one server. Additional servers can be added to an active repository to enhance its
performance. Load balancing can optimize performance by spreading transformation
requests between multiple servers.
Load balancing can be achieved by adjusting settings in the CTSServerService.xml file,
in the %CTS_HOME%\config folder. By default, CTS products are equipped with a
standard load balancing strategy.
The ideal load balancing strategy depends upon your environment and the specific
servers in use. Contact your Documentum consulting representative for load balancing
guidance.

Changing the CTS Service user after installation


In certain situations, you may need to change the CTS Service user account after XML
Transformation Services has been installed and configured. This may be necessary for
security reasons, for example.
It is not necessary to uninstall and reinstall XML Transformation Services to make this
change. Simply ensure that the new user has full COM access permissions for the
rendering software being used by XML Transformation Services.

44 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

Changing the CTS administrator password


You can change the CTS administrator’s password by running the setPassword utility.
The password also must be changed on Content Server.

To change the administrator’s password:


1. Stop Content Transformation Services.
2. Change the password on the Content Server.
3. Open a command prompt window.
4. Enter the following command:
> cd %CTS%\docbase\<repository name>\CTSServerScript\bin
> setPassword <new_password>

5. Restart Content Transformation Services.


Note: It is also possible to change the password in Documentum Administrator instead
of running the setPassword utility (Step 3 and Step 4 above). You must still perform
the other steps in this procedure.

Conguring the queue marker mechanism to


manage queue item sign-off
This procedure applies only if you have different CTS products polling the same
repository but installed on separate hosts.
The queue marker mechanism analyzes queue items and marks those that can be
executed by the CTS instance, preventing items from being prematurely expired by
a CTS instance that cannot handle them.
This functionality is controlled by two elements in the CTSServerService config file:
• ignoreItemsToSignOffLimit
This element is used to create the marking job when CTS starts up. If the value is set
to "YES", the marker thread will be created. By default, the value is set to "NO", and
there is no marking mechanism.
• markerInterval
This element sets the wait period between consecutive queue marking jobs.
The CTSServerService.xml file is located at %CTS_HOME%\config.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 45


Administering XML Transformation Services

The expiration period and marking interval should be tuned based on each system
configuration. On a system with similar CTS products polling the same queue, the
marker mechanism is not required and thus the default setting is appropriate. However,
if there are different CTS products running against a repository, one CTS instance might
expire items (because it cannot handle them) when the instance that could handle them
is busy. In this case, the marking mechanism should be turned on for those instances that
could process the items.

Working with the CTS Activity Template in


Documentum Process Builder
The CTS Activity Template allows users to add a content transformation as part of a
workflow process. With this version of Advanced Document Transformation Services
the CTS Activity Template is available for use with Documentum Process Builder.
Any user profile for Advanced Document Transformation Services can be used with the
CTS Activity Template. However, keep in mind that if a profile contains user-defined
parameters, these parameters cannot be exposed within the workflow. See Making
transformation profiles available for use with CTS Activity Template, page 47 for details
about choosing profiles and making them available for use with the activity template.
The following section outlines the procedures required to install and use the activity
template for Content Transformation Services. It is meant to supplement — not replace
— the information in the Documentum Process Builder documentation set. You should
be familiar with the Documentum Process Builder application and have access to the
Documentum Process Builder Installation Guide, Documentum Process Builder User Guide, and
Documentum Process Builder Release Notes before proceeding with the tasks in this section.
This section includes the following procedures:
• Making the CTS Activity Template available to users, page 46
• Making transformation profiles available for use with CTS Activity Template, page 47
• Using the CTS Activity Template, page 48

Making the CTS Activity Template available to users


Users can begin using the CTS Activity Template after:
• All installation procedures (as described in XML Transformation Services Installation
Guide) are complete.
• The system administrator has given CTS users access to Documentum Process
Builder (consult the Documentum Process Builder User Guide for details).

46 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

• The users have set their Preferences to display the CTS palette in Documentum
Process Builder (see below).

To display the CTS palette in Documentum Process Builder:


1. Launch Documentum Process Builder.
2. Select File > Preferences.
The Preferences dialog box appears. The list box on the left displays the available
activity palettes, and the list box on the right displays the palettes currently being
displayed in Documentum Process Builder.
Note: Preferences are saved separately for each user. The list of palettes may differ if
you log in as a different user.
3. To display the CTS palette in Documentum Process Builder, highlight its name in
the left list box and click Add.
The name moves to the right list box.
The CTS palette and template are now available to use with a business process.
Note: The preferences you set apply to your user ID only; each user can set different
preferences.

Making transformation proles available for use with


CTS Activity Template
You need to link all CTS Profiles which you would like to use with CTS Activity Template:

To make transformation proles available for use with CTS Activity


Template
1. Login to the repository using DAM or WebTop.
2. Navigate to: /System/Media Server/Profiles.
3. Select Show All Object and Versions from the top right hand corner of the screen to
view all profiles.
4. Select the required profile from the list.
5. Select Edit>Add to Clipboard from the main menu.
6. Navigate to /System/CTSActvity from the tree menu. Click on the CTSActivity
folder.
7. Select Edit>Link Here from the main menu.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 47


Administering XML Transformation Services

The profile is now linked.


8. Repeat steps 3–7 as required.
In Document Transformation Services, only System Profiles are available for CTS
Activity Template:

Transformation proles with no parameters

There are profiles that do not include user-defined parameters that are suitable for
linking, for example, transform_to_html_dts. You will find them in the /System/Media
Server/System Profiles folder.

Using the CTS Activity Template


This section describes the CTS Activity Template and the special workflow parameters
associated with it. You will also find the procedure to add a transformation to a business
process using the Activity Inspector.
In Documentum Process Builder, activities are the tasks that comprise the workflow.
Most of the configuration of the workflow relates to configuring its activities. You
configure activities using the Activity Inspector.
The Activity Inspector has several tabs, each corresponding to one aspect of activity
configuration. When you select the CTS Activity Template, the following tabs are
available:
• The Properties tab sets the priority for automatic activities and lets you provide
instructions for manual performers.
• The Performer tab enables you to select who performs the activity and what actions
the performers have available to them.
• The Trigger tab settings determine when the activity starts.
• The Timers tab sets warning timers to take action if an activity does not start or is not
completed within a designated amount of time.
• The Notification tab specifies whether to notify the workflow supervisor when
certain system events occur.
• The Display tab controls how the activity appears in the visual display of the process
template.
• The CTS Parameters tab enables you to select a transformation and set the options
relating to the transformation.
The Documentum Process Builder User Guide describes all of these tabs – with the exception
of the CTS Parameters tab – in the "Working with Activities” chapter. The following

48 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

procedure describes how to add a transformation to a business process using the CTS
Parameters tab in the Activity Inspector.

To add a document transformation to a business process:


1. Double click on the CTSActivity node to open the Activity Inspector dialog.
2. Select the CTS Parameters tab.
3. Choose a transformation profile from the Profile Name list box.
4. Select the output format for the transformation from the Target Format list box.
5. Enter a rendition description, if desired.
6. Set this transformation as the default proxy, if desired, by choosing the Yes option.
7. Save this transformation, if desired, by choosing the Yes option.
8. Click Apply to save your updates without closing the Activity Inspector, or click OK
to save your updates and close the Activity Inspector.
Consult the Documentum Process Builder User Guide for further instructions on how to
use the workflow feature.

To save a new activity template to the repository:


1. From the Tools menu, select File > Save.
The Save Process Template dialog appears showing the file structure of the
repository.
2. Enter a name for the new activity template in the Name text box.
3. Select Create new folder for associated items, if required.
4. Click OK.
The system saves the new workflow template.
5. The Validate Template dialog box appears confirming the workflow has been saved.
The dialog box asks if you would like to proceed to validate the template. Click OK.
If validation fails, a dialog box appears telling you so. Click the Details button to see
the error that prevented validation. If the validation is successful, a red check mark
appears next to the activity template icon in the Activity Templates window.
6. The Install Template dialog box appears confirming the workflow has been
validated. The dialog box asks if you would like to proceed to install the template to
make it available to all users. Click OK.
If the Install option is unavailable, it means the template is currently installed or you
don’t have permission to install. If the installation is successful, an arrow appears
next to the activity template icon in the Activity Templates window.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 49


Administering XML Transformation Services

7. A dialog box appears to confirm the installation of the template and its activities.
Click OK.

To uninstall an activity template:


1. From the Tools menu, select Activity Template > Uninstall.
You can only uninstall if the template is in the installed state and you have Write
permission. If the template is successfully uninstalled, the arrow next to the template
icon (representing installed state) is replaced with a red check mark (representing
validated state).

To start a workow:
When you start a workflow, you select the activity template that includes the sequence
of tasks to be performed. and you attach files which are supported by the CTS profile
used in the workflow.
See Chapter 6, "Workflows and Quickflows,” in the EMC Documentum Digital Asset
Manager User Guide for instructions on how to start a workflow.

Using the CTS Reporting Tool


The CTS Reporting Tool provides detailed information about transformation type,
volume and error events. Data such as CTS product performance, plug-in usage,
and requests by users assists in monitoring and analyzing transformation usage and
can assist with load balancing strategies. Reporting can be logged for a configurable
time frame and then rolled over to be archived. The resulting information is retained
in the repository and is viewable as a CSV formatted file (a report format using
comma-separated values) through Digital Asset Manager (DAM). Users can view their
own CTS reporting data. Administrators have access to all data.
Usage tracking is configured in Documentum Administrator. The CTS Reporting Tool
reports on the number of requests in a given time frame according to the following
options:
• Number of successful transformations
• Number of requests that could not be handled
• Cumulative error report
• Number of errors per format and per specific transformation request
• Cumulative total file sizes of input and output per given time frame
• Total requests per specific user

50 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

Enabling and disabling the CTS Reporting Tool


The CTS Reporting Tool is turned off by default. Usage tracking can be switched on or
off.

To enable/disable the CTS Reporting Tool:


1. Login to Documentum Administrator.
2. In the tree pane, select Transformation Services>CTS Reporting Configuration
3. Select the following:
• Reporting Configuration (ON/OFF) check box, to select whether the data is
collected or not.
• Purging Configuration (ON/OFF) option, to delete any data collected.

• Archiving Configuration (ON/OFF) option, to select whether data should be


archived.
4. If you have enabled Reporting Configuration and Archiving Configuration, provide
the information for the following fields.
• (Number of days) Archiving Interval to set how often the report should be
archived — everyday, every two days, etc.
• (Size of transformation request table) Archiving DataSize, to set the number of
transformations that should be recorded at a time before the data is archived
and for the compilation to start again.
• (Archiving monitor interval in seconds) Archiving Monitor Interval, to set the length
of time in seconds the report should be updated.
5. Click OK.

Viewing the CTS Reporting Tool report


When the CTS Reporting Tool is enabled, the following information is recorded for each
transformation request:
• The object id of the source document
• The object id of the queue item
• The user name who sends the requests
• The format of the source document SOURCE_FORMAT = "source_format"
• The format of target TARGET_FORMAT = "target_format"
• The transformation type, it could be either user created or auto/import
• The profile name used for the transformation request

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 51


Administering XML Transformation Services

• The target object type, it could be rendition or related object


• The parameters send in the request
• The queue item added time
• The queue item signed off time
• The transformation completed time
• The source file size
• The target file size
• The status, it could be SUCCESS, FAILED, or UNHANDLED
• The CTS instance doing the transformation
• Any message resulting from a transformation execution.

To view the CTS Reporting Tool report:


1. In DAM, go to Tools>Transformation report>View
2. The CTS Transformation Report page displays. Enter the information for the
following fields:
• Report name
• Start date
• End date
3. Click OK.
4. The Select Folder screen appears. Select the destination folder to save the retrieved
report. Click OK. A CSV report opens with the requested information.

Managing the transformation queue


The Queue Management feature provides a mechanism for monitoring and
administrating transformation request queues. This feature allows users to view or
delete their own pending transformation requests. Administrators can manage the
queues for all users and change the priority of transformation requests when required.
The Queue Management feature is accessed through the Transformation node in XML
Transformation Services via Digital Asset Manager (DAM).
Administrators can manage the queue by deleting items or changing the priority
of items. Users can view their own transformation requests and delete their own
transformation requests, but cannot change a queue item priority.
• Viewing transformation requests in the queue, page 53
• Changing a queue item’s priority, page 53
• Viewing details of a queue item, page 54

52 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

• Deleting a pending queue item, page 55


• Configuring additional queue management fields, page 55
• Removing a queue management field, page 56

Viewing transformation requests in the queue


Users can monitor the status of their transformation requests by viewing the queue. If a
user is dissatisfied with the priority level of their transformation request(s), they can ask
their administrator to change an item’s priority on their behalf.

To view transformation requests in the queue:


1. Login to DAM.
2. In the tree view on the left side of the screen, select the Transformations node.
Click on the Transformations link. The right pane will refresh with a list of current
queue items.
Transformation requests are displayed in priority order. The priority level of an item
is indicated as follows:

• denotes a high priority item

• denotes a medium priority item.

• denotes a low priority item.


3. For administrators only: Choose the items to view by selecting an option from
the Show list box in the top right corner:
• Show All displays all users transformation requests.
• Show Mine displays only your transformation requests.
4. To sort transformation requests in ascending or descending order, click the header
field on each of the columns.

Changing a queue item’s priority


Administrators can change the priority of an item in the queue.

To change a queue item’s priority:


1. Login to DAM.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 53


Administering XML Transformation Services

2. In the tree view in the left pane, select the Transformations node. Go to the
transformation queue by selecting the Transformations node. The transformation
queue appears in the main pane.
3. Find the target item in the queue.
4. Select the item, and right-click with your mouse.
5. Choose View from the context menu.
The transformation details of this item are displayed.
6. Change the numeric value in the Priority box. The highest priority is 10. The higher
the numeric value, the higher the priority level. When the priority level is changed,
the queue position of the object will change automatically.
7. Click OK. The page returns to the list the transformation queue. Confirm that the
queue position has changed. The color code of the priority item should change to
a higher priority. See Viewing transformation requests in the queue, page 53 for
queue item priority level color codes.

Viewing details of a queue item


When a pending item is in the queue, the following transformation details are available
depending on which fields are configured:
• Description gives the name of the transformation being performed, such as Rotate.
• Parameters lists any user-defined parameters for this transformation, if applicable.
For a transformation such as Rotate, for example, the angle of rotation would be
a parameter.
• From gives the name of the user who requested the transformation.
• Received is the date and time the transformation was requested.
• Source is the source (or input) file name being transformed.
• Priority is given to a queue item with the highest numeric value.
• Target is the target (or output) file name for the transformation. If the request is to
create a rendition, the Target field will show "None".
• Queue position gives the specific order number of this item in the queue.

To view details of a queue item:


1. Login to DAM.
2. In the tree view in the left pane, select the Transformations node. Go to the
transformation queue by selecting the Transformations node. The transformation
queue appears in the main pane.
3. Find the target item in the queue.

54 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

4. Select the item, and right-click with your mouse.


5. Choose View from the context menu.
The transformation details of this item are displayed.

Deleting a pending queue item


Administrators can delete any items in the queue. Users can only delete their own
queue items. The deletion is not immediate for users. Items are marked, then polled
and then deleted.

To delete a pending queue item:


1. Go to the transformation queue by selecting the Transformations node.
The transformation queue appears in the main pane.
2. Find the item(s) to delete from the queue.
To find items quickly, you can configure the display as follows:
• Sort alphabetically by document name by clicking the header on the Document
column.
• Sort the requests alphabetically by user name by clicking the header on the
Sent by column.
• Toggle between all users’ transformation requests or your own transformations
using the Show list box.
3. Select the item(s), and right-click with your mouse.
Note: You can select a range of items using the Shift key, or select multiple items
using the Ctrl key.
4. Choose Delete from the context menu.
A delete confirmation page appears for each file you selected.
5. Select OK to confirm a deletion, or click Cancel to abort a deletion request.
If the queue item is pending, it will be deleted and removed from the transformation
queue. If the queue item is being processed, an error will show saying "Transformation
request is being processed, can’t delete."

Conguring additional queue management elds


Users can customize the queue management fields by adding additional columns.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 55


Administering XML Transformation Services

To congure additional queue management elds:


1. Login to DAM.
2. Go to the Transformation node.
The right pane shows the default column fields.
3. Click on the Column Preferences button.
The screen will refresh and show the Preferences: Display Settings on the left and
the default column setting on the right.
4. Select an additional item from the left list "Select attributes to display". Click the
button to add to the right list "Selected attributes to display as column". The right list
shows the new attribute added. Click OK.
The list view appears.
5. Verify that the list view has the additional columns.

Removing a queue management eld


Users can customize the column fields by removing select columns.

To remove a queue management eld:


1. Login to DAM.
2. Go to the Transformation node.
The right pane shows the default column fields.
3. Click on the Column Preferences button.
The screen will refresh and show the Preferences: Display Settings on the left and
the default column setting on the right.
4. Select an item from the right list "Selected attributes to display as column". Click
button to move it to the left list "Select attributes to display". The right list shows
the new attribute removed. Click OK.
The list view appears.
5. Verify that the list view has one less column.

56 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

Migrating existing proles


Content Transformation Services migrates existing predefined and custom profiles with
minimal modification, from version 5.3 Content Transformation Services products
onwards up to version 6.5, for backward compatibility.
Content Transformation Services performs the following functions during the installation
process:
• Creates a report summary regarding the changes that are going to happen before the
actual migration process starts. The summary report is logged just before the profile
migration tool runs and displays the results.
• Migrates the command line files, profiles, and system profiles to comply with
version 6.5.
Note:
— Legacy profiles that were created using versions of Content Transformation
Services products prior to version 5.3 may experience problems during
migration. In such cases, the profile migration tool migrates the information that
it can and ignores any additional information. If all of the plug-in entries used
in a custom profile are no longer in use, and cannot be updated, the profile
will be deleted.
— Profile names that existed before migration are preserved; however, if multiple
instances of the same profile name exist, the profiles are renamed unless
overridden by command line options. If a profile is renamed in the current
version, Content Transformation Services will update the existing profile name.
— If the original name of the profile is too long to be appended, it is shortened
as necessary.

Viewing log le of migrated proles


You can view the log file generated by the profile migration tool. This log file shows
the profiles that were processed, their status, and the reason why if any profiles were
not migrated. The default location of the log file of migrated profiles is C:\Program
Files\Documentum\CTS\docbases\<docbase_name>\migration\logfile.
The migration log file shows the result of the migration process:
migration_log_2007_292_1192813617312.txt ->
Migration log;

The migration report log shows a complete list of all profiles before they are upgraded:
migration_report_2007_292_1192813563921.txt ->

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 57


Administering XML Transformation Services

Report log

Selecting Internet Protocol version


Content Transformation Services supports Internet Protocol version 6 (IPv6) in dual
mode (IPV4 & IPV6). By default, XTS Transformation Services and Content Server are
set to both sockets.

Conguring XTS to transform XML content


XML Transformation Services replaces the graphic linked to an XML content with an
image of different resolutions according to the required publishing output format. For
example, you may want a high resolution graphic linked to a PDF rendition and a lower
resolution graphic to an HTML rendition. See Transforming DITA files, page 85 to
specify an resolution type with your document rendition.
Note: This features applies only if XTS is used combination with Media Transformation
Services. Media Transformation Services is needed to generate renditions for graphic
assets.
Follow this procedure if your XML content (e.g. DITA) requires special processing:

To congure XTS to transform XML content:


1. Locate and open the following file %CTS%\config\xpub\xpub.xml
2. Locate the section <PATCHING_CONFIG>
3. From the <PARSE> sub node, select the required attributes:
• xpath
Represents an Xpath expression to an XML element that should be parsed.
• handler
Represents the type of XML document being processed.
• link_type
Rrepresents the type of reference. For DRL patching, values are conref or
crossref; for graphics patching the value is image; for special characters patching,
the value is specialchar.

58 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering XML Transformation Services

• patcher
Specifies a java class that processes the XML element.
• source
Specifies the content origins for which processing should occur. Possible values
are "repo”, "file”, and "any”.
4. From the <FILE_FILTER> node, select the required attribute:
• extension
Lists file extensions of XML content that should be processed.
5. Select the <IMG_PATCHING> node if graphics references should be processed. This
is used to map graphics in the original content to a repository rendition that will
replace them. Select the required attributes:
• <CONFIG> sub-node:
— target – target format (documentum) of transformation
— handler – type of XML content (see 3-second bullet
• <IMAGE_REF > sub-node:
— source_ext
represents the extension of graphic asset file to be replaced
— rend_dctm_format
represents the documentum format of the rendition that should replace
the original file
— rend_flag
specifies the flag value to identify a rendition
— rend_flag_type
Represents the flag type to be checked when used with rend_flag.
Possible rendition attributes are: page_modifier, rendition_name, or
rendition_description_name. You can also leave the space empty, in which
case the first rendition to match the requested format is selected.
6. For DRL Patching, select the <DRL_PATCHING> section. Select the required
attributes:

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 59


Administering XML Transformation Services

• from <PARAM> nodes:


— brokenlink
Specfies a repository location for a dita document that serves as a broken
link page
— depth
Controls how many levels should be processed when XML files are being
exported as part of processing an existing one.
— special_chars
Lists special characters (separated by ‘/’) that should be replaced with ‘_’
in XML file names and references.
7. Restart Content Transformation Services service.

60 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 4
Administering Content Transformation
Services Web Services

This chapter contains the following information:


• What are CTS web services, page 61
• Web services and Document Foundation Services (DFS), page 63
• Content Transformation Services web services architecture , page 64
• Asynchronous and synchronous transformation, page 65
• Configuring CTS WebServices instance, page 66

What are CTS web services


Documentum Content Transformation Services version 6.5 provides two web services
as an extension of its features for asynchronous and synchronous transformation and
analysis: Profile service and Transformation service. Each service provides a set of
operations on repository objects and are extended with services that provide additional
platform functionality.
• Web services are WSDL and Java client library based.
• Web services are written to support .NET and Java
• Web services are remote or local.
• Web services are ready to deploy via J2EE standards (ear and war files).

Prole service
The profile service provides an interface to CTS transformation profiles. The profile
service enables applications to obtain available transformation profiles using various
filtering mechanisms, as well as to update them if suitable permissions are held by the

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 61


Administering Content Transformation Services Web Services

application session. This section describes the operations related to the Profile service.
Operations related to Transformation service follow.
For further details about the structure of each operation, such as sample java code and
methods, see EMC Documentum Enterprise Content Services Reference guide.

Operations related to this service


Note: You need Administrator privileges to perform: addProfile operation;
removeProfile operation, and updateProfile operation.
addProfile operation
The addProfile operation adds a CTS profile to the repository from the client where
the profile is saved.
addProfiles operation
The addProfiles operation adds multiple profiles including command line files, user
profiles, and system profiles to the repository from the client.
getProfileById operation
The getProfileById operation is used to get a specific profile which is queried by its
saved Profile Id.
getProfileByName operation
The getProfileByName operation is used to specify which profile should be invoked to
process a source object. The profile is queried by the saved profile name and repository
location. For example, only the profile with the id "flip” will process the source object
getProfiles operation
The getProfiles operation is used to get an array of profiles which satisfy the query that
specifies conditions passed with prParam.
removeProfile operation
This removeProfile operation removes a profile with a specific profileId. All versions of
the profile will be removed, if specified.
updateProfile operation
The updateProfile operation updates a specified saved profile.

Transformation service
The transformation service provides an interface to CTS transformation capabilities. The
transformation service enables applications to request transformations from the Content

62 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering Content Transformation Services Web Services

Transformation Services suite of products in both synchronous and asynchronous modes.


The following section describes the operations related to the Transformation service.
For further details about the structure of each operation, such as sample java code and
methods, see EMC Documentum Enterprise Content Services Reference guide.

Operations related to this service

addJob operation
The addJob operation creates an asynchronous transformation job in the repository
and returns a Job Id for tracking purposes.
cleanUpJobs operation
The cleanUpJobs operation deletes all the transformation related objects by a specified
date.
deleteJob operation
The deleteJob operation deletes only a specific transformation by JobId before it is
processed. If the job has already started, it will not be deleted
getJobInfo operation
The getJobInfo operation queries the job details of a requested transformation based on
the Job Id. This operation provides the job status about the specified object, for example,
getJobInfo will inform if the job is pending, in progress, failed, or complete.
importAndAddJob operation
The importAndAddJob operation submits a transformation request on a source file to
the CTS server asynchronously. The user submits the source file which is imported to the
repository from the client’s machine prior to adding it to the queue for transformation
transformJob operation
The transformJob operation submits a transformation request directly to the CTS server
synchronously. The call is made directly to the CTS server and you get the result back.

Web services and Document Foundation


Services (DFS)
Document Foundation Services (DFS) delivers a set of core Enterprise Content Services
which are deployed with Content Server where they are hosted by the Java Method

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 63


Administering Content Transformation Services Web Services

Server. DFS is a multifaceted technology set used for developing and deploying ECM
services and consumers using a service-oriented architecture.
For more information on the DFS, see the Document Foundation Services User Guide.

Content Transformation Services web services


architecture
A CTS web service request involves the exchange of messages amongst three parties:
the service provider (server) and requestor (the client) and infrastructure components.
Communication between client and server is accomplished through a request/response
mechanism. Service requests and responses are wrapped in XML documents and
transferred using Hypertext Transfer Protocol (HTTP). When the client issues a request
to a service, it goes through a Load Balancer and Web Service Layer. The load balancer
determines which CTS instance is capable of providing the service for a given request. It
employs a Java servlet which executes the desired action and sends the results back to
the client. To minimize the required bandwidth between server and client, the servlets
perform several actions within the scope of one request and merge the results so that the
operation appears to be just one single action.

Figure 5. Content Transformation Services Web Services Architecture

1. Web services architecture is based on the SOAP protocol. The client sends a request
for a document transformation invoking the web service. The use of WSDL allows
the interoperability between services from different sources.
2. The requester relies on the load balancer using a heartbeat mechanism to find the
appropriate instance.

64 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering Content Transformation Services Web Services

• The load balancer is aware of the synchronous supporting CTS instances


• The load balancer loads the profiles from the configured repository into memory
• The load balancer implements the algorithm to determine what instance is
capable of transforming the document. If the request arrives to a failed service, it
is redirected to a similar service which is alive.
• The load balancer filters the list of available CTS servers based on product, to
service the request (e.g. MTS registers in the "rotate image” profile).
3. The load balancer matches the request with the service providers to identify which of
them is the best match. The transform request is sent to the appropriate CTS instance.
4. The transformation occurs.
5. The output file is returned to the client via HTTP or URL.

Asynchronous and synchronous


transformation
There are two ways to call a service, asynchronous and synchronous. The CTS server
processes transformation requests from web services and others and transforms
according to the priority given.

Synchronous requests
The CTS framework is enhanced to support synchronous requests from webservice
components in real-time. The real-time architecture’s fair, concurrent thread model
prioritizes CTS tasks to make efficient CTS calls. The synchronous call returns a request
immediately by bypassing the repository queues through the transformation web service
layer. A client application requesting real-time transformation may do so according
to the following content matrix:
• File System Input, Repository Output
Source document is provided from client’s file system and the target output is
available in the repository.
• File System Input, File System Output
Source document is provided from client’s file system and the target output is
available in the client machine.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 65


Administering Content Transformation Services Web Services

• Repository Input, Repository Output


Source document is provided from the repository and the target output is available
in the repository.
• Repository Input, File System Output
Source document is provided from the repository and the target output is available
in the client machine.
In a ’File System Input, Repository Output’ and ’File System Input, File System Output’
real-time web services request, the source file can be either a binary or it can be a url
content (a valid URL either a FILE/HTTP protocol) which can be accessible from the
CTS server machine.
Failover is only invoked if a process is incomplete or interrupted; otherwise the middle
tier resubmits the request to another running instance that can handle it.

CTS asynchronous architecture


An asynchronous request interacts with DFC, which in turn interacts with Content
Server to generate transformation queue items. An asynchronous request leverages CTS
architecture. The CTS instance polls the queue item and performs the transformation.
The result is stored in the repository.

Conguring CTS WebServices instance


This section contains the following information:
• Configuring CTS WebServices instance for JBoss, page 66
• Configuring CTS WebServices instance for other supported applications, page 69

Conguring CTS WebServices instance for JBoss


The CTS WebServices installer installs all the necessary files to run and configure the
core components of CTS web services. Follow these steps to configure CTS WebServices
instance to a JBoss application server. To configure CTS WebServices for other supported
environments, go to Configuring CTS WebServices instance for other supported
applications, page 69.

66 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering Content Transformation Services Web Services

To congure CTS web services instance:


1. From the main menu, select Start>Documentum>CTS WebServices Configurator.
The installation wizard appears.
2. Click Next on the Welcome screen.
3. Accept the licence agreement on the Licence screen and click Next.
4. Select Add a CTS Web Services instance to a docbase radio button and click Next.
This is the only option displayed if this is the first time the CTS WebServices configurator
is invoked.
5. Verify the hostname fetched by the configurator. Provide the domain name if
required. Click Next.
6. Select the docbase from the list of docbases retrieved by default. Retrieving docbases
depends on the docbroker IP’s provided in dfc.properties.
7. Enter your super username and password. Click Next.
8. Click Finish to complete the configuration process.

Verifying conguration of CTS web services

By default CTS web services instance (JBoss application server) runs on port 8888.

To verify conguration of CTS web services instance:


Open the http://localhost:8888 from CTS web services machine to check to see if the
JBoss console is open.

Verifying CTS web service le are accessible

Enter the following URLs to check if all WSDL files are accessible:
From CTS web services machine
• ObjectService:
http://localhost:8888/services/core/ObjectService
• ProfileService
http://localhost:8888/services/transformation/ProfileService
• TransformationService:
http://localhost:8888/services/transformation/TransformationService

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 67


Administering Content Transformation Services Web Services

From a remote machine (client machine)


• ObjectService:
http://:<CTSWS_HOST IP>:8888/services/core/ObjectService>
• ProfileService
http://:<CTSWS_HOST IP>:8888/services/transformation/ProfileService
• TransformationService:
http://:<CTSWS_HOST IP>:8888/services/transformation/TransformationService

Verifying deployment of EAR les

CTS WebServices installer deploys emc-dfs.ear and transformation.ear files at:


C:\Documentum\jboss4.2.0\server\DctmServer_DFS-CTS\deploy folder.
The ear files are exploded and the folder should be labelled dfs.ear and transformation.ear
respectively.

Verifying contents of transformation.properties le

Open the transformation.properties file at: "C:\Documentum\jboss4.2.


0\server\DctmServer_DFS-CTS\conf" folder. The CTSWSConfig file should point to the
correct preferences.xml file location used by the CTS WebServices configurator:
CTSWSConfig=C:/Documentum/cts_ws/config/preferences.xml

Verifying preferences.xml le is updated with congured repository

Ensure the preferences.xml file is available at the %CTS_HOME%\config folder. This


file holds data required for Transformation Services such as: repository name, username,
domain name and password, and file location. The configurator updates the elements of
this file.
A password file (with encrypted password) is created and placed in
%CTS_HOME%\config\pfile folder.
<Repositories>
<AekFilePath>C:/Documentum/cts_ws/config/aek.key</AekFilePath>
<LoginContect DocbaseName-"DTS_Repo">
<ServerProperty Key-"domain"Value-""/>
<ServerProperty Key-"userName" Value-"documentum"/>
<ServerProperty Key-"passwordFile"Value"-"C:/DOCUME~2/cts_ws/
config/pfile/DTS-Repo_password.txt"/>

68 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering Content Transformation Services Web Services

<ServerProperty Key-"maxConnectionRetries" Value-"10"/>


</LoginContext"
</Repositories>

Location of realtime requests log les

The CTS WebServices log files are located at : C\Documentum\cts_ws\logs. The log file
is created once the first request is serviced from the client.

Conguring CTS WebServices instance for other


supported applications
To deploy CTS webservices on a supported application server other than JBoss, complete
the following steps. (See Advanced Document Transformation Services Release Notes for a
list of supported environments.)

To congure CTS WebServices instance for other supported applications:


1. Deploy emc-dfs.ear file by copying it to the deploy directory of your supported
application server instance. See Chapter 4,"Manually deploying services on
supported application servers,” in the EMC Documentum Documentum Foundation
Services Deployment Guide Version 6.5 for complete instructions.
2. Deploy transformation.ear file by copying it to the deploy directory of your
supported application server instance. See Chapter 4,"Manually deploying services
on supported application servers,” in the EMC Documentum Documentum Foundation
Services Deployment Guide Version 6.5 for complete instructions.
3. Start the Windows service for the server instance.
Restart the app server for applications other than Windows.
4. Enter the following URLs to check the accessibility of WSDL files:
From CTS webservice machine:
• ObjectService:
http://localhost:port/services/core/ObjectService?wsdl
• ProfileService
http://host:port/services/transformation/ProfileService?wsdl
• TransformationService:
http://host:port/services/transformation/TransformationService?wsdl
5. On CTS web services machine, at your working directory, create a "cts_ws” folder.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 69


Administering Content Transformation Services Web Services

6. Create and add the following subfolders to the "cts_ws” folder.


• \cache
• \config
• \pfile
• \logs
The following paths are created:
• %CTS_HOME%\cts_ws\cache
• %CTS_HOME%\cts_ws\config
• %CTS_HOME%\cts_ws\logs
• %CTS_HOME%\cts_ws\config\pfile
7. Open your text editor and create a preferences.xml file with the following content:
Note: You will need the following information:
• File path
• Docbase name
• Domain name
• User name
<?xml version="1.0" encoding="UTF-8"?>
<ServiceConfiguration ID="CTS Web Services">
<PropertyList>
<ServerProperty Key="Cache" Description="The Temperory
Cache Directory" Value="C:\Documentum\cts_ws\cache" />
<ServerProperty Key="AllowDirectTransfer" Description=
"Allow Direct File Transfer From CTS Server to Client.
Set it to false if there is a firewall restriction" Value="true" />
<ServerProperty Key="CTSWSPingInterval" Description="Interval
(in seconds) used to specify how frequent the LB should ping its
CTS instances for heart rate." Value="180" />
<ServerProperty Key="FailoverRetries" Description="Allow a
number of retries if a request fails while waiting on the HTTP
response from CTS" Value="1" />
<ServerProperty Key="InstanceSelector" Description="Specify
an implementation class for instance selection " Value="com.emc.
documentum.cts.lb.workers.DefaultSelector"/>
<Repositories>
<AekFilePath>C:\Documentum\cts_ws\config\aek.key/
<AekFilePath>
<LoginContext DocbaseName="docbase_name_here">
<ServerProperty Key="domain" Value="domain_name_here"/>
<ServerProperty Key="userName" Value="user_name_here"/>
<ServerProperty Key="passwordFile" Value="C:\Documentum\
cts_ws\config\pfile\mspassword.txt"/>
<ServerProperty Key="maxConnectionRetries" Value="10"/>
</LoginContext>
</Repositories>
</PropertyList>
</ServiceConfiguration>

70 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Administering Content Transformation Services Web Services

8. Place the preferences.xml file in the config folder.


The preference file holds data required for Transformation services, such as:
repository name, username, domain name and password, and file location. The
configurator job updates the elements of this file.
9. Copy the aek.key file from %CTS_HOME%\config from the CTS Server machine to
%CTS_HOME%\cts_ws\config on the CTS WebServices machine.
10. Copy the mspassword.txt from: C:\Program
Files\Documentum\CTS\docbases\docbase_name\config\pfile
from the CTS machine to C:\Documentum\cts_ws\config\pfile on the CTS
webservice machine.
11. Copy the transformation.properties file from \transformation.ear\APP-INF\classes
to the application server’s current working folder. (See Locating working folder if
you cannot locate the current working folder.)
12. Open the transformation.properties file at %CTS_HOME%\config folder and edit to
point to the preferences.xml file:
CTSWSConfig=C:/Documentum/cts_ws/config/preferences.xml

13. Edit the log4j.properties file located under \transformation.ear\APP-INF\classes to


create logs under %CTS_HOME%\config\cts_ws\logs folder.
- FILE -
log4j.appender.F1=org.apache.log4j.RollingFileAppender

log4j.appender.F1.File=C\:/Documentum/cts_ws/logs/log4j.log

log4j.appender.F1.MaxFileSize=10MB

log4j.appender.F1.layout=org.apache.log4j.PatternLayout

log4j.appender.F1.layout.ConversionPattern=%d{ABSOLUTE} %5p
[%t] %-20c{1} - %m%n

- FILE_TRACE -
log4j.appender.FILE_TRACE=org.apache.log4j.RollingFileAppender

log4j.appender.FILE_TRACE.File=C\:/Documentum/cts_ws/logs/trace.log

log4j.appender.FILE_TRACE.MaxFileSize=100MB

log4j.appender.FILE_TRACE.layout=org.apache.log4j.PatternLayout

log4j.appender.FILE_TRACE.layout.ConversionPattern=%d{ABSOLUTE}
[%t] %-20c{1} - %m%n

- CTSWS -
log4j.category.com.emc.documentum.fs.services.transformation=DEBUG,
CTSWSAppender

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 71


Administering Content Transformation Services Web Services

log4j.category.com.emc.documentum.cts=DEBUG, CTSWSAppender

log4j.appender.CTSWSAppender=org.apache.log4j.DailyRollingFileAppender

log4j.appender.CTSWSAppender.File=C\:/Documentum/cts_ws/logs/
CTSWS_log.txt

log4j.appender.CTSWSAppender.Append=true

log4j.appender.CTSWSAppender.layout=org.apache.log4j.PatternLayout

log4j.appender.CTSWSAppender.layout.ConversionPattern=%d{HH\:mm\:
ss,SSS} %5p %-20c{1} %m%n

log4j.appender.CTSWSAppender.DatePattern='.'yyyy-MM-dd

- DFS-
log4j.category.com.emc.documentum.fs=INFO, DFSAppender

log4j.appender.DFSAppender=org.apache.log4j.DailyRollingFileAppender

log4j.appender.DFSAppender.File=C\:/Documentum/cts_ws/logs/DFS_log.
txt

log4j.appender.DFSAppender.Append=true

log4j.appender.DFSAppender.layout=org.apache.log4j.PatternLayout

log4j.appender.DFSAppender.layout.ConversionPattern=%d{HH\:mm\:ss,
SSS} %5p [%t] %-20c{1} - %5x %m%n

log4j.appender.DFSAppender.DatePattern='.'yyyy-MM-dd

14. Restart the webservice application server.

Locating CTS WebServices log le


The CTS WebServices log files are located at %CTS_HOME%\cts_ws\logs. The log file is
created once the first request is serviced from the client.

72 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 5
Working with Proles

The predefined profiles in XML Transformation Services cover most of the common document
transformations, such as XML to PDF and XML to HTML. XML Transformation Services enables the
system administrator to modify existing profiles or create new profiles.
You can modify a system profile if the current profile is unsuitable for your needs. Modifying a
profile will customize it to your specifications.

Understanding command-line les


Command-line files are stored in the repository as XML files that can be used by the
transformation profiles as needed.
The command-line file contains detailed instructions for the plug-in. The XML
Transformation Server distinguishes between DITA and DocBook source files
through the input_doctype_family name token in the plug-in configuration file. The
command-line file may also contain additional parameters that are not user-selectable,
such as stylesheet associations. The resulting file format and many of its attributes could
be controlled at the command level. Command-line files are specific to each plug-in,
since their capabilities vary.
Each profile contains the profile name, a label (the text that displays in the client
application), a description, required attributes, and supported source/target dm_format
objects. Profiles for which all parameters are defined contain only the name, label,
description, and supported source and target formats. Each profile is linked to either
the DITA or DocBook command-line file.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 73


Working with Proles

Building and modifying proles with Prole


Editor
The Profile Editor assists with editing or building new profiles. New or existing profiles
can be customized by editing default values and adding or removing formats. Users can
select multiple profiles to create chained or parallel profiles that automate a series of
transformations. Both user and system profiles can be handled with the Profile Editor.
You can also add or remove profiles, to and from the original selection, rearrange the
order of profiles, and configure the desired behavior for a profile with the Profile Editor.
Note: Multi-language support is not available with Profile Editor for Version 6.5. See
XML Transformation Services Release Notes for further information.
This section contains the following procedures:
• Editing a profile, page 74
• Building a new profile, page 75
• Building a chain profile, page 77
• Building a parallel profile, page 79
The following procedure describes how to edit a profile in a repository using the Profile
Editor

Editing a prole
The following procedure describes how to edit a profile to update or customize it.

To edit a prole:
1. Log in to Digital Asset Manager (DAM) as the Administrator.
2. From the DAM browser tree, select Administration>CTS>Profiles node.
3. The list of public profiles appears by default (Show public). In the drop down menu,
in the top right hand corner of the pane, select Show public and system to change
the view to all profiles. A list of profiles appears.
4. Select a profile from the list that you would like to update.
5. Select Tools>Edit Profile (or select the profile, right-click, and select Edit).
The Info tab displays.
6. On the Info tab, edit the name, label, and description of the profile, if required.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.

74 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Working with Proles

• Click System if you wish to hide the profile, if required.


Click Next. The Formats tab displays.
7. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile.
Select the profile’s new source and target format from the list provided.
• If required, click Add to include additional source and target formats from the
Format Selector.
• Select new source and target from the Source Format and Target Format list
boxes. Click OK.
• To remove a format from the Formats tab, click Remove. Click OK.
Click Next. The Parameters tab appears listing the available parameters for the
edited profile.
8. Select the parameter(s) desired.
• Click Configure, to configure the profile parameter, if required.
• Enter the field values. Click OK. The Parameters tab refreshes.
• Select the edited parameter.
Click Next. The Summary screen appears.
9. The Summary screen confirms the elements that were selected and defined in the
previous screens.
Click Finish to validate and save the new profile.
10. The Profiles page is displayed. Verify that the edited profile appears on the Profiles
page.
11. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.

Building a new prole


The following procedure describes how to build a new profile using an existing profile.

To build a new prole:


1. Log in to Digital Asset Manager (DAM) as the Administrator.
2. From the DAM browser tree, select Administration>CTS>Profiles node.
3. The list of public profiles appears by default (Show public). In the drop down menu,
in the top right hand corner of the pane, select Show public and system to change
the view to all profiles. A list of profiles appears.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 75


Working with Proles

4. From the list, select the existing profile with which you will build the new profile.
Select Tools>Build Profile.
The Info tab will display.
5. On the Info tab, edit the name, label, and description of the profile, if required.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.
• Click System if you wish to hide the profile, if required.
Click Next. The Formats tab appears.
6. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile.
Select the profile’s new source and target format from the list provided.
• If required, click Add to include additional source and target formats from the
Format Selector.
• Select new source and targets from the Source Format and Target Format list
boxes. Click OK.
• To remove a format from the Formats tab, click Remove. Click OK.
Click Next. The Parameters tab appears.
7. The Parameters tab lists the available parameters for the edited profile. Select the
parameter(s) desired.
• Click Configure, to configure the profile parameter, if required.
• Enter the field values.
• Click OK. The Parameters tab refreshes.
• Select the adjusted parameter.
Click Next. The Summary screen appears.
8. The Summary screen confirms the elements that were selected and defined in the
previous screens.
Click Finish to validate and save the new profile.
9. The Profiles page is displayed. Verify that the new profile appears on the Profiles
page.
10. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.

76 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Working with Proles

Building a chain prole


Chaining profiles invoke each profile within them in stages. Transformations also occur
one at a time, one transformation is required for the next transformation. The result of a
chaining profile would be the output of the last profile in the chain. A chained profile
creates one output file.
The following procedure describes how to create a chained transformation according to
your specific requirements.

To build a chain prole:


1. Log in to Digital Asset Manager (DAM) as the Administrator.
2. From the DAM browser tree, select Administration>CTS>Profiles node.
3. The list of public profiles appears by default (Show public). In the drop down menu,
in the top right hand corner of the pane, select Show public and system to change
the view to all profiles. A list of profiles appears.
4. From the list, select the profiles with which you will build the new profile. Select
Tools>Build Profile>Chain.
5. The Info tab will display.
• Enter the generic name, label, and description of the new profile.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.
• Click System if you wish to hide the profile, if required.
Click Next. The Inner Profiles — Selection tab displays.
6. The Inner Profile — Selection pane will display. This tab allows users to add,
remove, rearrange the desired inner profiles.
• Select the inner profile(s) that you require from the Available Profiles drop down
list. Use the directional arrow, to move the selection(s) to the Selected Profiles
list box. The right list shows the new product(s) added. OR
• Select the inner profile(s) from the Selected Profiles list. Use the directional
arrow, to move the selection(s) to the Available Profiles lists. The right list shows
the new product(s) added.
• Use the up and down directional arrow to rearrange the Selected Profiles list to
create the desired sequence in the chain profile.
Click Next. The Inner Profile — Details pane displays.
7. The Inner Profile — Details pane details the profiles selected for the chain profile. To
configure a path:
• Select a path

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 77


Working with Proles

• Select Configure to configure an inner profile path, if required.


• Select the desired output format from the list box.
• Wait on completion is disabled for chained profiles.
• Click OK.
• Repeat Step 7 for each path you would like to configure.
Click Next. The Formats tab displays.
8. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile. Select the profile’s new source and
target format from the list provided.
• click Add to edit the format, if required. The Format Selector screen appears.
• Select an additional source and target pair from the Source Format and Target
Format list boxes.
• Click OK. The Formats Page displays.
• To remove a format from the Formats tab, select the Source and Target pair,
and click Remove.
Click Next. The Parameters tab appears. listing the available parameters for the
chain profile.
9. The Parameters tab appears lists the available parameters for the chain profile.
• To configure a parameter, select the profile and parameter label.
• Click Configure. The Configure pane displays.
• Click Default Settings to select default values from the Default Values list box.
• Select Hidden to hide the profile.
• Click OK. The Parameter tab refreshes with the new information.
• Repeat Step 9 until you have configured all the profile paths that you require.
Click Next.
10. The Summary page is displayed. This screen confirms the elements of the chained
profile.
Click Finish to validate and save the new profile.
11. The Profiles page is displayed. Verify that the new profile appears on the Profiles
page.
12. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.

78 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Working with Proles

Building a parallel prole


The following procedure describes how to create a parallel transformation according to
your specific requirements.
Parallel profiles specify a list of profiles that are executed one after another or at the same
time. For each profile in the parallel profile, you can specify whether the next profile
should wait on the successful completion of the previous task. If there is no specification,
profiles can be executed as soon the tasks threads are available to process them. Each
profile does not have to be complete before the next profile starts. The result of parallel
profiles is one output file for each profile within the parallel profile.

To build a parallel prole:


1. Log in to Digital Asset Manager (DAM) as the Administrator.
2. From the DAM browser tree, select Administration>CTS>Profiles node.
3. The list of public profiles appears by default (Show public). In the drop down menu,
in the top right hand corner of the pane, select Show public and system to change
the view to all profiles. A list of profiles appears.
4. From the list, select the profiles with which you will build the new profile. Select
Tools>Build Profile>Parallel.
The Info tab will display.
• Enter the generic name, label, and description of the new profile.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.
• Click System if you wish to hide the profile, if required.
Click Next. The Inner Profiles — Selection tab displays.
5. The Inner Profile — Selection pane will display. This tab allows users to add,
remove, rearrange the desired inner profiles.
• Select the inner profile(s) that you require from the Available Profiles drop down
list. Use the directional arrow, to move the selection(s) to the Selected Profiles
list box. The right list shows the new product(s) added. OR
• Select the inner profile(s) from the Selected Profiles list. Use the directional
arrow, to move the selection(s) to the Available Profiles lists. The right list shows
the new product(s) added.
• Use the up and down directional arrow to rearrange the Selected Profiles list to
create the desired sequence in the chain profile.
Click Next. The Inner Profile — Details pane displays.
6. The Inner Profile — Details pane details the profiles selected for the parallel profile.
To configure a path:

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 79


Working with Proles

• Select a path
• Select Configure to configure an inner profile path, if required.
• Select the desired output format from the list box.
• Click OK.
• Repeat for each path you would like to configure.
Click Next. The Formats tab displays.
7. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile. Select the profile’s new source and
target format from the list provided.
• click Add to edit the format, if required. The Format Selector screen appears.
• Select an additional source and target pair from the Source Format and Target
Format list boxes.
• Click OK. The Formats Page displays.
• To remove a format from the Formats tab, select the Source and Target pair,
and click Remove.
Click Next. The Parameters tab appears. listing the available parameters for the
chain profile.
8. The Parameters tab appears lists the available parameters for the chain profile.
• To configure a parameter, select the profile and parameter label.
• Click Configure. The Configure pane displays.
• Click Default Settings to select default values from the Default Values list box.
• Select Hidden to hide the profile.
• Click OK. The Parameter tab refreshes with the new information.
• Repeat step 8 until you have configured all the profile paths that you require.
Click Next.
9. The Summary page is displayed. This screen confirms the elements of the parallel
profile.
Click Finish to validate and save the new profile.
10. The Profiles page is displayed. Verify that the new profile appears on the Profiles
page.
11. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.

80 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Working with Proles

Modifying proles manually


This section describes how to modify a system profile manually. You can modify a
profile if the current profile is unsuitable for your needs. Modifying a profile will
customize it to your specifications.
XML Transformation Server updates all dm_media_profile objects on startup. It removes
all repeating SOURCE and TARGET attributes and resets them. Therefore, when a user
modifies a dm_media_profile object, XML Transformation Server automatically updates
the object when the server restarts.
The following procedure describes how to modify a profile in a repository.

To modify a transformation prole:


1. Log in to the repository using an appropriate application (such as Webtop or Digital
Asset Manager).
2. Navigate to /System/Media Server/System Profiles.
3. Check out and edit the profile you want to modify.
Note: If these files are not immediately visible, select Show All Objects and
Versions from the Show list box.
4. Check in the profile.
5. If the profile was part of a chain or sequence, then you must stop and restart
the Content Transformation Services service (see Starting and stopping XML
Transformation Services, page 43) on the XML Transformation Services host.

Using DQL in proles


Document Query Language (DQL) can be specified for all XML Transformation Services
profile files. Through DQL, default profile parameters can be supplied.
The DQL is presented as an attribute of the Parameter node of profiles (named dql). This
section discusses:
• The dql attribute value syntax, page 82
• DQL guidelines, page 82
• DQL query examples, page 82
• Querying the r_object_id attribute, page 83

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 81


Working with Proles

The dql attribute value syntax


The syntax for the dql profile parameter attribute value does not differ from a regular
DQL statement. It supports the following tokens (placeholders) which are recognized
by the system:
• [sysobject_id_token]: placeholder for a Sys Object ID (the r_object_id attribute for
dm_sysobject)
• [format_token]: placeholder for the rendition’s format (string)
• [page_token]: placeholder for the page attribute of dmr_content (integer)
• [page_modifier_token]: placeholder for the page_modifier attribute of dmr_content
(string)
These tokens are replaced at runtime with the actual values taken from the source sys
object that is used to execute the profile, before executing the actual query.

DQL guidelines
Consider the following guidelines when supplying DQL for profiles:
• The system does not try to correct a wrong query. It always assumes the query is
correctly supplied in profile. The system replaces the contained placeholders with
runtime values, and then executes it against the repository.
• Upon executing the query, the system will just consider the first row returned in
the result set. If the query is set to return multiple records, just the first one will
be considered.
• All the attribute values returned will be formatted accordingly, based on the attribute
type (such as date, string, or Boolean).

DQL query examples


Complex queries can be created with DQL. Queries can include all four supported
tokens, as many times as they are needed. The following examples illustrate how to
supply the DQL for the dql profile parameter attribute:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT OBJECT_NAME FROM dm_document WHERE
r_object_id = [sysobject_id_token]”>
<Value label=”text”/>
</Parameter>
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT 'NAME:' as label, object_NAME FROM

82 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Working with Proles

dm_document WHERE r_object_id = [sysobject_id_token]”>


<Value label=”text”/>
</Parameter>
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT 'Modified:' as label, r_modify_date FROM
dm_document WHERE r_object_id = [sysobject_id_token]”>
<Value label=”text”/>
</Parameter>

The following query can be used to get the current lifecycle state for a sys object, as string:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT state_NAME FROM dm_policy a, dm_sysobject b
WHERE a.r_object_id = b.r_policy_id AND a.i_state_no = b.r_current_state
AND b.r_object_id = [sysobject_id_token] ENABLE(row_based)”>
<Value label=”text”/>
</Parameter>

To get information that is pertinent to the user who executes the profile, the user
keyword can be used in query:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT user_NAME, user_address FROM dm_user
WHERE user_NAME = USER”>
<Value label=”text”/>
</Parameter>

Querying the r_object_id attribute


Having the r_object_id attribute as part of the SELECT clause of the query will not result
in having the actual Object ID value supplied as part of the default parameter value. This
attribute sometimes has a special (system) role in query (for example, properly returning
the repeating attributes in a single row). The system cannot process its real purpose at
runtime, and therefore will not consider it when building the profile parameter default
value.
To have the Object ID value supplied as part of the profile default parameter value,
syntax must be provided touse the [sysobject_id_token] placeholder on the query’s
SELECT clause, as follows:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT [sysobject_id_token] as objectid FROM
dm_document WHERE r_object_id = [sysobject_id_token]”>
<Value label=”text”/>

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 83


Working with Proles

</Parameter>

84 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 6
Performing Transformations

XML Transformation Services offers various transformation options to users. This chapter provides
basic procedural information for performing these transformations.
As with all Content Transformation Services products, the capabilities of XML Transformation
Services are accessed through Digital Asset Manager, a Documentum client application. To perform
these transformations, log in to the repository serviced by XML Transformation Services.
The user transformations available with XML Transformation Services are explained in the following
sections:
• Transforming DITA files, page 85
• Transforming DocBook files, page 87
• Viewing renditions, page 92
Transformations that create new renditions occur on one item at a time and requests are processed
asynchronously, meaning that new renditions may not be available immediately. You receive a
notification in your Inbox when a transformation is completed or if a transformation fails. Viewing
renditions, page 92 describes where to find and how to view completed transformation requests.
Note: The transformation options presented to the user depend on the type of source document
chosen for transformation. For example, if a DITA source file is selected, DocBook profiles are not
available.

Transforming DITA les


Transformation of DITA compliant XML files to PDF, HTM, ZIP, EclipseHelp, JavaHelp,
RTF, or DocBook are handled by one profile. Users select the output format and content
filters for each transformation.

To transform a DITA source le:


1. Navigate to the file that you want to transform to create a new rendition.
2. Select the file, then select Tools > Transform > More Formats

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 85


Performing Transformations

The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select Transform DITA. Click Next.
The Transformation Details tab appears.
4. Perform the following selections:
• Select the output format for the transformation from the Format Output listbox.
• Choose the filter parameters you wish to exclude in he Operating System Filter
box, i.e. select all of the operating systems that do not apply. The Operating
System Filter box lists filters that have likely been customized by your
organization and will vary according to your organization’s requirements.
Note: For all DITA transformations, you choose the filter parameters you wish to
exclude. For example, to filter the content based on operating systems, select all
of the operating systems that do not apply.
• Select the document version types from the Revision Filter listbox that you
wish to exclude.
• Select the audience level filter from the Audience Filter listbox that you wish to
exclude.
• Enter a product filter type in the Product Filter field box, if required.
• Select No in the Zip multiple-file listbox, if you do not wish to have the a
multiple file output zipped.
The default value is Yes. This parameter only applies when creating a New
Object.
• Select Yes in the Change graphics resolution listbox, if you need to have the
XML content processed for graphics replacement. The default value is No.
• Click Next. The Save As screen appears.
5. Select one of the following:
• Create a New Rendition, or
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, etc.
6. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.

86 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Performing Transformations

Click Finish.
7. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location option to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
8. The transformation request is immediately sent to the appropriate queue for
processing.

Transforming DocBook les


There are three profiles available for transforming DocBook source files. Each profile
transforms the XML source into a different output format.
This section describes how to transform DocBook source files to:
• Compiled HTML Help output (CHM)
• HTML output
• PDF output

Transforming DocBook les to CHM


This profile transforms Docbook compliant files to Microsoft HTML Help (CHM). Users
can choose parameters relating to the CHM output, including certain table of contents
(TOC) parameters.

To transform a DocBook source le to CHM output:


1. Navigate to the file that you want to transform to create a new rendition.
2. Select the file, then select Tools > Transform > More Formats

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 87


Performing Transformations

The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select DocBook to CHM. Click Next.
The Transformation Details tab appears.
4. Perform the following selections: Select one of the options from the Set Draft
Watermark
• Select one of the options from the Set Draft Watermark listbox.
• Select the display parameter from the Display Comments listbox.
• Select the desired chunking depth level from the Create New HTML Files Down
to Section Level list box.
• Select the desired chunking depth level from the HTML Help TOC Section
Depth list box.
• Select Yes or No from the Display Chapter (and Section) Numbers in HTML
Help TOC list box.
• Choose the appropriate filters for this transformation in the Operating System
Filter box. The filters that appear have likely been customized by your
organization, and will vary according to your organization’s requirements.
• Select the required level in the Audience Filter box.
• Select the version level of the file in the Revision Filter box.
• Fill in the Product Filter field, if required.
5. Click Next. The Save As screen appears.
6. Select one of the following:
• Create a New Rendition
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, and so on.
7. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish.
8. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:

88 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Performing Transformations

• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
9. The transformation request is immediately sent to the appropriate queue for
processing.

Transforming DocBook les to HTML


Users can select from a variety of options for customizing HTML output, including
the chunking depth.

To transform a DocBook source le to HTML:


1. Navigate to the file that you want to transform to create a new rendition.
2. Select the file, then select Tools > Transform > More Formats
The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select DocBook HTML Transform option. Click Next.
The Transformation Details tab appears.
4. Enable the following options as appropriate:
• Set Draft Watermark
• Display Comments
• Create New HTML Files Down to Section Level (which determines the
chunking depth)
5. Choose the appropriate filters for this transformation. The filters that appear have
likely been customized by your organization, and will vary according to your
organization’s requirements.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 89


Performing Transformations

Note: For all DITA transformations, you choose the filter parameters you wish to
exclude. For example, to filter the content based on operating systems, select all of
the operating systems that do not apply.
Click Next. The Save As screen appears.
6. Select one of the following:
• Create a New Rendition
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, etc.
7. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish.
8. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location option to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
9. The transformation request is immediately sent to the appropriate queue for
processing.

90 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Performing Transformations

Transforming DocBook les to PDF


Users can customize the output PDF by choosing from various output options such as
paper type and page orientation.

To transform a DocBook source le to PDF:


1. Navigate to the file that you want to transform to create a new rendition.
2. Select the file, then select Tools > Transform > More Formats
The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select Transform DocBook to PDF option. Click Next.
The Transformation Details tab appears.
4. Enable the following options as appropriate:
• Set Draft Watermark
• Display Comments
• Paper Type
• Render for Double-Sided Printing
• Page Orientation
5. Choose the appropriate filters for this transformation. The filters that appear have
likely been customized by your organization, and will vary according to your
organization’s requirements.
Note: For all DITA transformations, you choose the filter parameters you wish to
exclude. For example, to filter the content based on operating systems, select all of
the operating systems that do not apply.
Click Next. The Save As screen appears.
6. Select one of the following:
• Create a New Rendition
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, etc.
7. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 91


Performing Transformations

Note: A format must be richmedia_enabled to allow for transformation whenever it


is versioned.
Click Finish.
8. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location option to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
9. The transformation request is immediately sent to the appropriate queue for
processing.

Viewing renditions
When transformation requests are completed, the renditions are stored in the repository
with the source file.

To view completed transformation requests:


1. Navigate to the source file in the repository.
2. To view renditions in Digital Asset Manager, click the renditions icon.
To view renditions in Webtop, select the source file. Then click View > Renditions.
Note: Do not select Download Descendants when viewing renditions. An error
will occur.

92 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Chapter 7
Troubleshooting

This chapter provides troubleshooting information for errors encountered from various elements
of XML Transformation Services. Also see XML Transformation Services Release Notes, which contain
additional information regarding limitations, technical notes, usability, and known bugs.
This section contains troubleshooting guidance relating to:
• Error events and log files, page 93
• A transformation request fails, page 94
• A profile error occurs, page 94
• XML Transformation Server cannot add a rendition to a particular format, page 95
• XML Transformation Server cannot log in to the repository, page 95
• CTS Administration Agent gives AGENT_INACCESSIBLE message, page 96
• Content Transformation Services fails to function, page 97
• Locating application server working folder, page 97

Error events and log les


Any time XML Transformation Server fails to process a particular item, it queues an
event (dm_autorender_error or dm_mediaserver_error) to the Inbox of the repository
user defined as the system operator in the XML Transformation Server configuration
file. The first step in troubleshooting XML Transformation Server is to check the system
operator’s Inbox for any messages that might explain the error.
Additionally, review the CTS_log.txt log file. This log file contains errors and exceptions
that are specific to XML Transformation Server. It is located on the XML Transformation
Server host, in this directory:
C:\Program Files\Documentum\CTS\config\logs

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 93


Troubleshooting

A transformation request fails


Occasionally, a transformation request may fail to process, or may process incorrectly. In
most cases, the error messages will indicate the problem.
Notification of a transformation failure will be sent to the system operator’s Inbox. The
following actions can be performed to determine the cause of a transformation request
failure.

To troubleshoot the failure of a transformation request:


1. Check that the object of the transformation request is not locked (checked out of the
repository). If the object is locked during the transformation, the operation fails.
2. Check for error messages in the system operator’s Inbox, indicating that the format
of the file being transformed does not adhere to system specifications. For example,
the file may be corrupted, or compression or other similar features of the file may
not be supported by XML Transformation Services.
3. Check that disk space and memory on the XML Transformation Server host is
sufficient to handle the requested file transformation.
4. Restart the XML Transformation Server host and attempt the transformation again.
Restarting the server will not affect the XML Transformation Services queue.

A prole error occurs


Errors related to profiles may occur. For example, if a profile was edited and updated
manually, there may be issues with the XML file.
There are a number of ways to determine the cause of a profile error, as described in
the following troubleshooting procedure.

To identify the cause of a prole-related error:


1. Check the Inbox of the XML Transformation Server system operator for error
messages. Error messages here may indicate the cause of the error.
2. Check the CTS_log.txt or the main Documentum log file, log4j.log (located in
C:\Documentum\config), for exceptions.
3. If you suspect the profile itself is the cause of the error, log into either a Documentum
Client (such as Webtop or Digital Asset Manager) as an administrator user or log
in to Documentum Administrator. Make sure that there are three folders in the
repository for XML Transformation Server profiles:
• /System/Media Server/Profiles

94 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Troubleshooting

• /System/Media Server/System Profiles


• /System/Media Server/Command Line Profiles
These folders are created when you install XML Transformation Services.
Make sure the profile is in the correct folder.
4. Ensure that the command-line file referenced by the profile (dm_media_profile
object) exists in the appropriate folder (listed above) and that the name in the profile
is identical to the actual file name.
For more information on where profile files should be located, see Modifying
profiles manually, page 81.
5. Make sure the ProfileSchema.dtd is stored in this repository folder:
/System/Media Server/Profiles

6. Restart the XML Transformation Server.

XML Transformation Server cannot add a


rendition to a particular format
If XML Transformation Server cannot add a rendition to a particular format, first check
the Inbox of the XML Transformation Server system operator for error messages, and
then check the CTS_log.txt file. Look for a detailed message that describes the problem.
For example, the message Object with id=...does not exist would indicate that the object
was deleted from the repository before the XML Transformation Server could add a
rendition to it.

XML Transformation Server cannot log in to the


repository
XML Transformation Server connects to the repository using a repository SuperUser
account. If XML Transformation Server cannot log in to the repository, ensure that a valid
repository SuperUser is identified for XML Transformation Server to use.

To identify the cause of XML Transformation Server not logging in to the


repository:
1. Make sure that the repository is running.
2. Check your network connections.
3. Check that the Connection Broker is running.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 95


Troubleshooting

4. Check that the dfc.properties file points to the Connection Broker that recognizes
your repository.
5. Log in to the XML Transformation Server host as an administrator.
6. Open the XML Transformation Server service directory, located in:
%CTS_HOME%\config

7. Open the SessionService.xml file in any text or XML editor.


8. Check the values of the CTSServer attributes "userName" and "passwordFile" of the
XML Transformation Server element.
<CTSServer AttributeName="userName" AttributeValue=
"<media_superuser_name>"/>
<CTSServer AttributeName="passwordFile" AttributeValue="<path
to appropriate mspassword.txt>"/>

9. Make sure you have configured the SessionService.xml file to the proper user in
the repository who has SuperUser access. If necessary, check with the repository
administrator to verify user name and password information.
10. Save and close the SessionService.xml file.
11. Restart the XML Transformation Server and/or the repository.

CTS Administration Agent gives


AGENT_INACCESSIBLE message
If the CTS Administration node in Documentum Administrator (DA) is showing an
AGENT_INACCESSIBLE message, it indicates that DA was unable to connect to the
agent. This could be as a result of a number of reasons:

1. The server method on the Content Server is not running.


Check the service on the Content Server machine. There should be a service called
Documentum Java Server Method. Ensure that is started/running.
2. The CTS Administration Agent is not running.
There is a service called Documentum CTS Admin Agent on the CTS machine for the
agent. If this service is running, you should be able to ping the agent by opening your
browser and pointing it to http://machinename:<port>/CTSAgent/CTSAgent (the
default port is 9095). It should respond with a page saying "Content Transformation
Services Agent" if it is running.
If the Admin Agent is not running, see Starting and stopping the CTS Administration
Agent, page 42 to start the CTS Admin Agent.

96 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Troubleshooting

3. The server method on the Content Server is not there.


You can look for the server method using Documentum Administrator
(Administration > Job Management > Methods). Do a search for CTSAdminMethod.
There should be one result if it is a version 5.3 or higher repository.
4. There is no space left on the CTS Administration Agent machine.
Check the machine to ensure there is available space.

Content Transformation Services fails to


function
Content Transformation Services fails to function and you receive an error message when
attempting transformations. The error may occur if the Global Registry does not have
a Content Transformation Services product (Rich_Media_Services and Transformation
DARs) configured against it. The Global Registry is a common repository where
commonly used DARs are installed.
Ensure Rich_Media_Services and Transformation DARs are run against the Global
Registry repository. See instructions in the XML Transformation Services Installation Guide.

Locating application server working folder


Perform the following steps if you are unable to locate the current working folder in
which to place the transformation.properties file:
• Perform any real time request (and let it fail).
• Check the log file for the location of the folder.
The log file displays the expected location of the transformation.properties file.
• Make sure the transformation.properties are in the right folder.

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 97


Troubleshooting

98 EMC Documentum XML Transformation Services Version 6.5 Administration Guide


Index

A changing the polling interval, 24


activity templates changing the queue item expiry, 24
attach workflow, 50 changing the system operator, 24
copying, 49 configuring XML Transformation Services
installing, 49 changing the repository, 25
uninstalling, 50 Configurator, 25
validating, 49 using Documentum
adding Administrator, 25
plug-ins, 14 Content Transformation Monitor
repositories, 25 Services, 43
admin password, changing, 45 Content Transformation Services
architecture, 13 description, 11
attach workflow error message, 97
activity templates, 50 fails to function, 97
format awareness, 12
queue, 12
B scalability, 12
batch files, 24 Create New Template command, 27
creating
CHM renditions, 17
C
HTML renditions, 16
Can Be Indexed setting, 27 PDF renditions, 15
changing configuration, 43
CTS Activity Template
checked out documents, 15 to 17
document transformation, 49
CHM renditions, 12, 17 to 18
Documentum Process Builder, 46
COM Class ID for format, 26
users, 46
command-line files, 94
workflow parameters, 48
storing, 73 working with, 46
Compiled HTML Help, see CHM
CTS Admin Agent, 24
renditions
CTS Reporting Tool, 50
configuring
disable, 51
queue item sign-off, 45
enable, 50
configuring CTS WebService instance
viewing reports, 51
JBoss, 66
CTS Service, changing user, 44
other supported applications, 66, 69
CTS web services
configuring XML Transformation Server
architecture, 64
changing login user name, 24
asynchronous transformation, 65 to
changing the logging level, 24
66
changing the maximum number of
configuring CTS WebService
queue items, 24
instance, 66, 69
changing the notification setting, 24 DFS, 63

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 99


Index

Operations, 63 defining file formats, 26


Profile service, 61 to 62 Documentum Foundation Classes, see
synchronous transformation, 65 DFC
Transformation service, 61 to 62 DOS file formats, defining, 27
what are, 61 DQL
CTS WebService instance guidelines, 82
log file, 72 in profiles, 81
query examples, 82
r_object_id attribute, 83
D syntax, 82
DAM tips, 82
modifying transformation
profiles, 74 to 75, 77, 79
using DFC, 13 E
details of a CTS instance, viewing, 42 errors, 93 to 95
DFC dm_mediaserver_error, 24
about, 13 in log files, 42
installing with XML Transformation receiving, 24
Services, 13 events, 93
Digital Asset Manager, see DAM dm_mediaserver_error, 24
DITA filters
adding new, 31
configuring, 30
F
DITA source files file formats, 26
transforming, 85 creating templates, 27
DITA, transform handler, 15 supported as source for CHM, 20
dita_transform_chm.xml, configuring, 33 supported as source for HTML, 20
dita_transform_command.xml file, 32 supported as source for PDF, 20
dita_transform_pdf.xml, configuring, 33 filename extensions, 26
dita_transform.xml filters
adding filters to, 31 adding product names, 29
dita_transform.xml, configuring, 30 default, 28
dm_media_profile object, 81 definition, 28
dm_mediaserver_error, 93 for DITA transformations, 30, 86,
dm_queue, 16, 18 90 to 91
DocBook filters for DocBook transformations, 33
adding new, 34 in source files, 28
configuring, 33 format_token, 82
DocBook source files FormatMapperService, updating, 27
transforming to CHM, 87
transforming to HTML, 89 G
transforming to PDF, 91 Global Registry
DocBook transform handler, 15 CTS product, 97
docbook_transform_command.xml
file, 35
docbook_transform.xml H
adding filters to, 34 HTML renditions, 12, 16 to 17
Documentum Administrator HyperText Markup Language, see HTML
accessing the configuration screen, 25 renditions
Create New Format Object page, 26

100 EMC Documentum XML Transformation Services Version 6.5 Administration Guide
Index

I N
ignoreItemsToSignOffLimit, 45 notifications
Inbox notifications, 24, 93 to 94 changing in DA, 24
changing in DA, 24 configuring, 35
configuring, 35
settings, 35
Index
O
with Filter setting, 27 objects, 15, 17 to 18
with Rendition setting, 27 dm_media_profile, 81
input_doctype_family name, 73
installation P
plug-ins, 14 page_modifier_token, 82
scalability, 12
page_token, 82
typical, 13
password, changing, 42, 45
installing
PDF renditions, 15, 17
activity templates, 49
placeholders, 82
instance details, viewing, 42 plug-ins
adding, 14
L description, 14
Legacy profiles installation of, 14
migrating, 57 standard, 14
load balancing, 44 using command-line files, 73
locked documents, 15 to 17 polling interval, changing, 24
log file Portable Document Format, see PDF
CTS WebService instance, 72 renditions
log files, 93 Profile Editor
viewing, 42 build profile, 75, 77, 79
logging level, 44 chain profile, 75, 77, 79
changing, 24 modifying profiles, 75, 77, 79
login, 95 sequence profile, 75, 77, 79
login user, identifying, 24 specialized profile, 75, 77, 79
Profile service
addProfile operation, 62
M getProfileById operation, 62
Macintosh Creator format setting, 27 getProfileByName operation, 62
Macintosh Type format setting, 27 Operations, 62 to 63
markerInterval, 45 removeProfile operation, 62
Media_Server_Log.txt, 93 updateProfile operation, 62
Migration utility what is, 61
log file, 57 profile_audience filter, 28
migrating profiles, 57 profile_os filter, 28
MIME type, 26 profile_product filter, 28
modifying adding names to, 29
system profiles, 74 profile_revision filter, 28
modifying system profiles, 81 profiles, 94
modifying transformation profiles, 81 migrating, 57
monitor services, 43 modifying, 74, 81
multiple servers, 44 using DQL, 81
ProfileSchema.dtd file, 29 to 30

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 101
Index

Q T
queue tokens, 82
objects, 13 Transform DocBook to HTML.xml,
removing unsupported formats configuring, 33
from, 12 transform handlers, 14
queue items Transformation node, 52
changing the expiry, 24 transformation profiles, 94
changing the maximum number command-line files, 73
allowed, 24 transformation queue, 52
configuring sign-off, 45 Transformation queue
queue marker mechanism, 45 changing queue priority, 53
queue, managing, 52 configuring queue management
fields, 55
deleting queue item, 55
R removing queue management
r_object_id, 83 field, 56
refreshing XML Transformation viewing details of queue item, 54
Services, 42 viewing transformations, 53
registry ID for format, 26 Transformation service
removing a repository, 25 addJob operation, 63
renditions, 95 cleanUpJobs operation, 63
viewing, 92 CTS web services, 62
repository, 95 deleteJob operation, 63
adding, 25 getJobInfo operation, 63
changing, 25 importAndAddJob operation, 63
transformJob operation, 63
S what is, 62
Transformation Services
scalability of Content Transformation
extending, 14
Services, 12
requirements, 14
servers, multiple, 44
role in XML Transformation
setPassword utility, 45
Services, 13
settings
transformations, 94
Can Be Indexed, 27
DITA source files, 85
Default File Extension, 26
DocBook source files, 87
Index with Filter, 27
performing, 13, 85
Index with Rendition, 27
viewing completed, 92
MIME type, 26
troubleshooting, 93 to 94
source formats supported, 20
with log files, 42
starting XML Transformation
Services, 42 to 43
stopping XML Transformation U
Services, 42 to 43 uninstalling
sysobject_id_token, 82 activity templates, 50
system architecture, 13 user transformations, 85
system operator user, identifying, 24 users, changing
system profiles, modifying, 74, 81 for CTS Service, 44
for repository login, 24
system operator, 24

102 EMC Documentum XML Transformation Services Version 6.5 Administration Guide
Index

V XML Transformation Services


validating architecture, 13
activity templates, 49 changing settings, 43
Configurator, 25
description, 12
W environment, 13
WDK, relation to XML Transformation features, 19
Services, 13 refreshing, 42
Web Development Kit, see WDK starting, 42 to 43
Windows Service, 12 stopping, 42 to 43

X Z
XML transform handler, 15 Zip files, 17 to 18
XML Transformation Server, 93 ZIP renditions, 12
position in installation, 13

EMC Documentum XML Transformation Services Version 6.5 Administration Guide 103

Anda mungkin juga menyukai