If you want to use service components that send and receive file
attachments, you must add to the workbench a set of libraries for file attachment
support.
Before you begin
Locate the following files, and copy them into the Java™ Runtime
Environment (JRE) that the workbench and Rational® Agent Controller use.
You can find these libraries in the com.ibm.rational.ttt.common.models.core plug-in,
which is in the product installation directory.
About this task
To configure the workbench to handle file attachments, perform the
following steps.
Note: To configure an agent computer that
uses only the Rational Agent
Controller and does not require access to the workbench, perform only step
1, and restart the Rational Agent Controller service.
Procedure
- In the file system, locate the library files activation.jar and mail.jar in
the com.ibm.rational.test.lt.models.ws plug-in to the
directory of the Java Runtime Environment (JRE) that Eclipse uses.
By default, the library files are located in the following directory: C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.rational.ttt.common.models.core_version\lib\attachment
- Copy the library files into the jre/lib/ext of
the JRE.
By default, this is the following directory: C:\Program Files\IBM\SDP\jdk\jre\lib\ext
- Add the following VM argument either to the Eclipse launch command
line or to the eclipse.ini file: -vmargs -Dosgi.parentClassloader=ext
The eclipse.ini file is located in the same
directory as the eclipse.exe launcher binary file that
is used to run the product.