Professional Documents
Culture Documents
TIB Bwpluginpdf 6.2.2 Users Guide
TIB Bwpluginpdf 6.2.2 Users Guide
User’s Guide
Software Release 6.2.2
October 2019
2
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH
EMBEDDED OR BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR
PROVIDE LIMITED ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE
EMBEDDED OR BUNDLED SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANY
OTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND
CONDITIONS OF A LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED
SOFTWARE LICENSE AGREEMENT, OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THE
CLICKWRAP END USER LICENSE AGREEMENT WHICH IS DISPLAYED DURING DOWNLOAD
OR INSTALLATION OF THE SOFTWARE (AND WHICH IS DUPLICATED IN THE LICENSE FILE)
OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR CLICKWRAP END USER
LICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE “LICENSE” FILE(S) OF THE
SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, AND
YOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BE
BOUND BY THE SAME.
ANY SOFTWARE ITEM IDENTIFIED AS THIRD PARTY LIBRARY IS AVAILABLE UNDER
SEPARATE SOFTWARE LICENSE TERMS AND IS NOT PART OF A TIBCO PRODUCT. AS SUCH,
THESE SOFTWARE ITEMS ARE NOT COVERED BY THE TERMS OF YOUR AGREEMENT WITH
TIBCO, INCLUDING ANY TERMS CONCERNING SUPPORT, MAINTENANCE, WARRANTIES,
AND INDEMNITIES. DOWNLOAD AND USE OF THESE ITEMS IS SOLELY AT YOUR OWN
DISCRETION AND SUBJECT TO THE LICENSE TERMS APPLICABLE TO THEM. BY PROCEEDING
TO DOWNLOAD, INSTALL OR USE ANY OF THESE ITEMS, YOU ACKNOWLEDGE THE
FOREGOING DISTINCTIONS BETWEEN THESE ITEMS AND TIBCO PRODUCTS.
This document is subject to U.S. and international copyright laws and treaties. No part of this
document may be reproduced in any form without the written authorization of TIBCO Software Inc.
TIBCO, the TIBCO logo, the TIBCO O logo, ActiveMatrix BusinessWorks, Business Studio, TIBCO
Business Studio, and TIBCO ActiveMatrix BusinessWorks Plug-in for PDF are either registered
trademarks or trademarks of TIBCO Software Inc. in the United States and/or other countries.
Java and all Java based trademarks and logos are trademarks or registered trademarks of Oracle and/or
its affiliates.
All other product and company names and marks mentioned in this document are the property of their
respective owners and are mentioned for identification purposes only.
This software may be available on multiple operating systems. However, not all operating system
platforms for a specific software version are released at the same time. Please see the readme.txt file for
the availability of this software version on a specific operating system platform.
THIS DOCUMENT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL
ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE
CHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THIS DOCUMENT. TIBCO
SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S)
AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR
INDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE,
INCLUDING BUT NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.
This and other products of TIBCO Software Inc. may be covered by registered patents. Please refer to
TIBCO's Virtual Patent Marking document (https://www.tibco.com/patents) for details.
Contents
TIBCO Documentation and Support Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Creating a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configuring a Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Testing a Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Deploying an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
TIBCO Business Studio Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
PDF Palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
PDFReader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
PDFWriter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Adding Watermarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Managing Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Log Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Setting Up Log Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Exporting Logs to a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Documentation for TIBCO products is available on the TIBCO Product Documentation website, mainly
in HTML and PDF formats.
The TIBCO Product Documentation website is updated frequently and is more current than any other
documentation included with the product. To access the latest documentation, visit https://
docs.tibco.com.
Product-Specific Documentation
Documentation for TIBCO ActiveMatrix BusinessWorks Plug-in for PDF is available on the TIBCO
ActiveMatrix BusinessWorks™ Plug-in for PDF Product Documentation page.
The following documents for this product can be found on the TIBCO Documentation site:
TIBCO Community is the official channel for TIBCO customers, partners, and employee subject matter
experts to share and access their collective experience. TIBCO Community offers access to Q&A forums,
product wikis, and best practices. It also offers access to extensions, adapters, solution accelerators, and
tools that extend and enable customers to gain full value from TIBCO products. In addition, users can
submit and vote on feature requests from within the TIBCO Ideas Portal. For a free registration, go to
https://community.tibco.com.
Product Overview
TIBCO ActiveMatrix BusinessWorks™ Plug-in for PDF provides the services of reading data from
editable fields of PDF files and writing data into editable fields of PDF files. In addition to encrypting,
disabling printing, and adding watermarks to PDF files, this plug-in also reduces your workload by
processing a batch of PDF files at one time.
The following figure shows how the plug-in works with the TIBCO products.
The following list describes each item and the relationship between them in the previous figure.
● Portable Document Format (PDF) is a file format used to present documents in a manner
independent of application software, hardware, and operating systems.
● TIBCO ActiveMatrix BusinessWorks Plug-in for PDF is plugged into TIBCO ActiveMatrix
BusinessWorks™ and is connected to PDF files.
● TIBCO ActiveMatrix BusinessWorks is an easy-to-use integration product suite for enterprise
applications.
● TIBCO Business Studio™ is the graphical user interface (GUI) used by TIBCO ActiveMatrix
BusinessWorks and the plug-in to design business processes, and the process engine used to execute
them.
®
● TIBCO Enterprise Administrator provides a centralized administrative interface to manage and
monitor the plug-in applications deployed in an enterprise.
Getting Started
This tutorial is designed for the beginners who want to use TIBCO ActiveMatrix BusinessWorks Plug-in
for PDF in TIBCO Business Studio.
All the operations are performed in TIBCO Business Studio. For information about TIBCO Business
Studio, see TIBCO Business Studio Overview.
A basic procedure of using TIBCO ActiveMatrix BusinessWorks Plug-in for PDF includes:
1. Creating a Project
2. Configuring a Process
3. Testing a Process
4. Deploying an Application
Creating a Project
The first task of using the plug-in is creating a project. After creating a project, you can add resources
and processes.
An Eclipse project is an application module configured for TIBCO ActiveMatrix BusinessWorks. An
application module is the smallest unit of resources that is named, versioned, and packaged as part of
an application.
Procedure
● Microsoft Windows: click Start > All Programs > TIBCO > TIBCO_HOME > TIBCO Business
Studio version_number > Studio for Designers.
● Mac OS and Linux: run the TIBCO Business Studio executable file located in the TIBCO_HOME/
studio/version_number/eclipse directory.
2. From the menu, click File > New > BusinessWorks Resources to open the BusinessWorks Resource
wizard.
3. In the "Select a wizard" dialog, click BusinessWorks Application Module and click Next to open
the New BusinessWorks Application Module wizard.
4. In the Project dialog, configure the project that you want to create:
a) In the Project name field, enter a project name.
b) By default, the created project is located in the workspace currently in use. If you do not want to
use the default location for the project, clear the Use default location check box and click Browse
to select a new location.
c) Use the default version of the application module, or enter a new version in the Version field.
d) Keep the Create empty process and Create Application check boxes selected to automatically
create an empty process and an application when creating the project.
e) Select the Use Java configuration check box if you want to create a Java module.
A Java module provides the Java tooling capabilities.
f) Click Finish to create the project.
Result
The project with the specified settings is displayed in the Project Explorer view.
Configuring a Process
After creating a project, an empty process is created. You can add activities to the empty process to
complete a task. For example, write a PDF file.
Prerequisites
Ensure that you have created an empty process when Creating a Project.
Procedure
1. In the Project Explorer view, click the created project and open the empty process from the Process
folder.
2. Select activities from the palette library and drop them in the Process editor.
For example, select and drop the Timer activity from the General Activities palette, and the
PDFWriter activity from the PDF palette.
3. Click an activity in the Process editor and drag the icon to create a transition between the
activities.
4. Configure the added activities, as described in PDF Palette.
Testing a Process
After configuring a process, you can test the process to check whether the process completes your task.
Prerequisites
Procedure
Deploying an Application
After testing, if the configured process works as expected, you can deploy the application that contains
the configured process into a runtime environment, and then use the bwadmin utility to manage the
deployed application.
Prerequisites
Before deploying an application, you must generate an application archive, which is an enterprise
archive (EAR) file that is created in TIBCO Business Studio.
Deploying an application involves the following tasks:
Before deploying the application that contains the PDFWriter activity on the Mac OS platform, you
must edit the application node in the TRA file:
into
java.extended.properties=-Xmx1024m -Xms128m -XX:PermSize=27m -XX:MaxPermSize=128m
-XX:-HeapDumpOnOutOfMemoryError -Djava.awt.headless=true.
1. Menu: contains menu items such as File, Edit, Diagram, Navigate, Search, Project, Run, Window,
and Help.
2. Toolbar: contains buttons for frequently used commands such as New , Save , Enable/
PDF Palette
The PDF palette is added to TIBCO Business Studio after installing TIBCO ActiveMatrix BusinessWorks
Plug-in for PDF.
The PDF palette contains the following activities to read data from editable fields of PDF files and write
data into editable fields of PDF files:
● PDFReader
● PDFWriter
PDFReader
You can use the PDFReader activity to read data from editable fields of PDF files. This activity uses a
PDF file that is specified on the General tab to create an output schema. The input PDF file on the Input
tab is parsed and read by matching its own schema with the created schema displayed on the Output
tab.
General
The following table describes the fields on the General tab of the PDFReader activity.
Module
Field Property? Description
Input File No (Required) The input PDF template file that is used to
generate a template schema on the Output tab. Type a PDF
template file path with its name in your local system in this
Input File Yes (Optional) Type a correct password for the input PDF
Password template file if it is encrypted.
Description
On the Description tab, you can add a short description for the PDFReader activity.
Input
The input of the PDFReader activity depends on the configuration specified on the General tab. The
following table describes the input elements on the Input tab of the PDFReader activity.
Data
Input Item Type Description
inputPDFFilePath String Type the path and name of the input PDF file to be read in
double or single quotation marks, for example, "D:\PDF
\test.pdf".
processData Binary Get binary data on the Input tab when Use Process Data is
selected on the General tab.
Output
Fault
The following table describes the error schema elements on the Fault tab of the PDFReader activity.
msg String This error message is displayed when the PDF plug-
in captures an exception for the PDFReader activity.
msgCode String This error code is displayed when the PDF plug-in
captures an exception for the PDFReader activity.
PDFWriter
You can use the PDFWriter activity to write data into editable fields of input PDF files, and then
produce filled PDF files as the outputs. The data source of the input PDF files can come from any other
BusinessWorks activities.
General
The following table describes the fields on the General tab of the PDFWriter activity.
Module
Field Property? Description
Input File No (Required) The input PDF template file that is used to generate
the input schema of the TIBCOROOT field on the Input tab.
Type the directory and the input PDF file name directly in the
Input File Yes (Optional) Type a correct password for the input PDF template
Password file if it is encrypted.
Output File Yes (Optional) The output PDF file directory in this activity. The
Directory generated PDF output file is installed in this directory if the
application runs successfully. Type the directory in this field, or
Output File Yes (Optional) Type a prefix for your output PDF file in this field.
Name Prefix When you use the prefix, UUID is appended to the prefix, and
the string is used in the output file name.
Is Output File No (Optional) Select this check box if you want to encrypt the
Encrypted output PDF file.
Use Process Data No (Optional) Select this check box to get the processed data on the
Output tab.
Description
On the Description tab, you can add a short description for the PDFWriter activity.
Advanced
The following table describes the fields on the Advanced tab of the PDFWriter activity.
Module
Field Property? Description
Restrict Printing No Select the Restrict Printing check box to disable printing of a
generated PDF file in any application that can read or edit PDF
files.
TTF File for No The path of the Arial Unicode MS.ttf file, which is used to
Watermark install multiple languages that might be used in a generated
PDF file. The Arial Unicode MS.ttf file is provided with the
sample project, which is located in the TIBCO_HOME\bw
\palettes\pdf\version\samples\Samplefiles
\MultibyteTTF directory.
Input
The input schema of the activity depends on the input PDF file specified on the General tab. The
following table describes the input elements on the Input tab of the PDFWriter activity.
userPassword String This option is displayed only when the Is Output File
Encrypted check box is selected. Type the password used
to encrypt the output PDF file.
outputPDFFilePath String Type the path and name of the output PDF file in double or
single quotation marks for example, "D:\PDF\test.pdf".
● textContent
Used to add text watermarks.
● binaryContent
Used to add image watermarks.
For details on how to add watermarks, see Adding
Watermarks.
TIBCOROOT N/A All fields of a PDF file are listed. You can optionally specify
field values for a PDF file to be generated.
Output
The following table describes the output element on the Output tab of the PDFWriter activity.
outputPDFFilePath String Displays the path and name of the generated output PDF
file.
processedData Binary It is displayed on the Output tab when Use Process Data is
selected on the General tab.
Fault
The following table describes the error schema elements on the Fault tab of the PDFWriter activity.
msg String This error message is displayed when the PDF plug-in
captures an exception for the PDFWriter activity.
msgCode String This error code is displayed when the PDF plug-in
captures an exception for the PDFWriter activity.
Adding Watermarks
You can add watermarks on PDF files.
Prerequisites
Ensure that the path of the Arial Unicode MS.ttf file is selected in the TTF File for Watermark field
of the Advanced tab.
Procedure
1. In the Data Source view, expand processContext and map ProcessInstanceId to textContent|
binaryContent under the watermark item. The Drop dialog is displayed.
2. In the Drop dialog, select textContent or binaryContent from the list. Click Finish.
3. Add content for the watermark:
● If you select textContent, type the text for the watermark in the textContent field. For example:
Confidential.
● If you select binaryContent, add a Read File activity in the process, transform the image as
binary, and then map the binaryContent in the Data Source view to the binaryContent field in
the watermark item.
Procedure
● Microsoft Windows: click Start > All Programs > TIBCO > TIBCO_HOME > TIBCO Business
Studio version_number > Studio for Designers.
● Mac OS and Linux: run the TIBCO Business Studio executable file located in the TIBCO_HOME/
studio/version_number/eclipse directory.
Result
If you want to upgrade TIBCO ActiveMatrix BusinessWorks Plug-in for PDF from version 6.1 or earlier
to version 6.2, you must reimport the sample project.
What to do next
After importing the sample project, you must manually update the path in the Input File field of the
General tab for each PDF activity. Otherwise, the sample project is displayed with errors in TIBCO
Business Studio.
Procedure
1. In the Project Explorer view, expand the Module Descriptors resource, and double-click Module
Properties. The Module Properties panel is displayed.
2. In the Module Properties panel, expand the PDFExample folder, and configure the module
property values accordingly in the default column.
● After configuring module properties, you must manually select a PDF file in the Input
File field on the General tab by clicking the Choose a resource icon to navigate to
the location of the PDF file.
● You must modify the directory in the Reader.xml file in the following directory:
TIBCO_HOME\bw\palettes\pdf\version_number\samples\Samplefiles
\PdfReader.
Prerequisites
Ensure that you have imported the sample project to TIBCO Business Studio, as described in Importing
the Sample Project, and configured module properties, as described in Configuring Module Properties.
Procedure
1. In the Project Explorer view, expand the Module Descriptors resource, and double-click
Components. The Components panel is displayed.
2. In the Components panel, click the Create Process Component icon, and the Select a
BusinessWorks Process window is displayed.
If you want to delete a process in the Components panel, you can click the process and
then click the remove selected component icon to delete it.
3. In the Select a BusinessWorks Process window, select the process that you want to run. Click OK.
EncryptedReader.bwp
This process demonstrates how to use the plug-in to read a batch of encrypted PDF files by using the
While activity that is listed under Basic Activities in the palette library.
The process is designed with the following activities:
Activity Description
Activity Description
PDFReader Reads a PDF template file and creates a template schema. Based on the PDF
template file and schema, the PDFReader activity parses and reads the input
PDF file on the Input tab.
Before you run the EncryptedReader.bwp process, you must update the inputPDFFilePath paths in
the Reader.xml file with your actual paths. The Reader.xml file is located in the TIBCO_HOME\bw
\palettes\pdf\version\samples\Samplefiles\PdfReader directory.
Exception_IncorrectPDFPassword.bwp
This process demonstrates how the plug-in throws exceptions when the password for an encrypted
PDF file is incorrect.
The process is designed with the following activities:
Activity Description
PDFReader Reads a PDF template file and creates a template schema. Based on
the PDF template file and schema, the PDFReader activity parses and
reads the input PDF files on the Input tab.
Exception_OutputMismatch.bwp
This process demonstrates how the plug-in throws exceptions when the input file on the Input tab does
not match the input PDF file on the General tab.
The process is designed with the following activities:
Activity Description
PDFReader Reads a PDF template file and creates a template schema. Based on
the PDF template file and schema, the PDFReader activity parses
and reads the input PDF files on the Input tab.
PDFEncryption.bwp
This process demonstrates how to write an encrypted PDF file by using the PDFWriter activity.
The process is designed with the following activities:
Activity Description
PDFMultibyte.bwp
This process demonstrates how to enable the plug-in with the multibyte feature by loading the Arial
Unicode MS.ttf file. With the multibyte support, you can input multilanguage values to the input
schema and generate a PDF file with multilanguage text watermarks and fields.
The process is designed with the following activities:
Activity Description
PDFReader Reads a PDF template file and creates a template schema. Based on
the PDF template file and schema, the PDFReader activity parses and
reads the input PDF files on the Input tab.
PDFWriter.bwp
This process demonstrates how to write different contents into a PDF file at the same time.
The process is designed with the following activities:
Activity Description
FilePoller Starts the process automatically when the input files are changed. It
supports batch processing files.
ParseXml Parses the input file and passes the result to the PDFWriter activity.
Watermark.bwp
This process demonstrates how to add watermarks to the PDF file.
The process is designed with the following activities:
Activity Description
FilePoller Starts the process automatically when input files are changed. It
supports batch processing files.
ParseXml Parses the input file and passes the validated file to the PDFWriter
activity.
ReadFile Reads the image file and passes the data content to the PDFWriter
activity.
OutPutDirEmpty.bwp
This process demonstrates how the plug-in performs when the output directory for the PDF file is
empty.
The process is designed with the following activities:
Activity Description
OutPutDirInvalid.bwp
This process demonstrates how the plug-in performs when the output directory for the PDF file is
invalid.
The process is designed with the following activities:
Activity Description
Managing Logs
When an error occurs, you can check logs to trace and troubleshoot the plug-in exceptions.
By default, error logs are displayed in the Console view when you run a process in debug mode. You
can change the log level of the plug-in to trace different messages and export logs to a file. Different log
levels correspond to different messages, as described in Log Levels.
Log Levels
Different log levels include different information.
The plug-in supports the following log levels.
Warn Indicates that an abnormal condition occurred. Processing continues, but for
best practice, you can contact the administrator to investigate it.
Procedure
The value of the level element can be Debug, Info, Warn, or Error.
If you set the log level to Debug, the input and output for the plug-in activities are also
displayed in the Console view. For more details regarding each log level, see Log Levels.
3. Optional: Add the following node in the BusinessWorks Palette and Activity loggers area to
specify a log level for an activity:
<logger name="com.tibco.bw.palette.pdf.runtime.ActivityNameActivity">
<level value="DEBUG"/>
</logger>
For example, add the following node to set the log level of the PDFWriter activity to Debug:
<logger name="com.tibco.bw.palette.pdf.runtime.PDFWriterActivity">
<level value="DEBUG"/>
</logger>
The activities that are not configured with specific log levels use the log level configured
for the plug-in.
4. Save the file.
Procedure
The value of the file element is the absolute path of the file that stores the exported log.
3. Add the following node to the root node at the bottom of the logback.xml file:
<root level="DEBUG">
<appender-ref ref="STDOUT"/>
<appender-ref ref="FILE"/>
</root>
Error Codes
The following table lists error codes, detailed explanation of error codes, and where applicable, ways to
solve different errors.
TIBCO-BW-PALETTE- Info BW-Plug- Input file name with the This is an info
PDF-320003 in path. message and
resolution is not
Input File Name with
applicable.
path for this run is
{0}
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the PDF Ensure that PDF
PDF-510010 in file does not have crop pages have crop
boxes. boxes if the
PDF page's crop box
watermark is
found missing while
applied.
applying watermark.
If watermark needs to
be applied, page has
to be well formed
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the PDF Enter the PDF file
PDF-510012 in file name is not entered name with a proper
in the extension for the
No output file name
outputPDFFilePath absolute URL in the
has been specified
field on the Input tab. outputPDFFilePath
field on the Input
tab.
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the text Ensure that the text
PDF-510013 in string of the watermark string of the
is invalid. watermark is a
Error while adding
valid string to be
text watermark to
set.
output PDF
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the value Provide the correct
PDF-520003 in set in the path with a correct
inputPDFFilePath field file name for the
Problem loading
on the Input tab is not inputPDFFilePath
inputPDFFilePath for
found. field on the Input
this run located at:
{0} tab.
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the input Check whether the
PDF-520004 in PDF template file is input PDF template
opened in other places file is opened in
Problem closing input
or used by other other places or used
PDF template file
applications. by other
located at : {0}
applications.
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the Ensure that you are
PDF-520011 in password for using the correct
decrypting the password to
Error while
encrypted PDF file is decrypt the input
decrypting the
incorrect. PDF file.
encrypted PDF file
password read from
Module Properties or
Process Properties
TIBCO-BW-PALETTE- Error BW-Plug- Occurs when the input Provide a PDF file
PDF-520013 in PDF file to be read on without being
the Input tab is encrypted with an
The input PDF to read
encrypted with an empty string.
for this run {0} is
empty string.
encrypted with empty
string. Plugin is
unable to decrypt the
file because your
Java version does not
support this
operation