How do I make Workflow desktop use my custom jar?For e.g I have created a formflow that requires some custom libraries e.g. oracle12.zip. Where do I place it ?

How do I make Workflow desktop use my custom jar?For e.g I have created a formflow that requires some custom libraries e.g. oracle12.zip. Where do I place it ?

book

Article ID: KB0086632

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Workflow -
Not Applicable -

Description

Resolution:
There are several ways to achieve this:
1. Place the custom jar under bwworkflow/5.1/bui/archive/WEB-INF/lib and recreate the deployment platform.
2. Add the custom jar path to the classpath property in the startup script for the servlet engine. Restart the servlet engine.  
3. For bundled tomcat, add the path to the custom jar to the tibco.extended.class.path property in the tra file for the servlet engine instance.
-- If running as a service, uninstall the already existing service for tomcat instance by running the command
&ltbwworkflow_home>/bin/launchtomcat  --propFile   &ltbwworkflow_home>/bin/&lttra file for the instance>  --uninstall
Reinstall the service by running the command
&ltbwworkflow_home>/bin/launchtomcat  --propFile   &ltbwworkflow_home>/bin/&lttra file for the instance>  --install
-- If running as a command window (non NT service), just restart the servlet engine.

Issue/Introduction

How do I make Workflow desktop use my custom jar?For e.g I have created a formflow that requires some custom libraries e.g. oracle12.zip. Where do I place it ?