BusinessWorks Workflow 5.1.0 Hotfix 2: Create deployment platform would fail after installing TRA 5.1.3 Hotfix 5

BusinessWorks Workflow 5.1.0 Hotfix 2: Create deployment platform would fail after installing TRA 5.1.3 Hotfix 5

book

Article ID: KB0087293

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Workflow -
Not Applicable -

Description

Description:
Symptoms
========
After having installed TRA 5.1.3 HF5, if you try to Create Deployment Platform using DomainUtility you would get the following error (Windows and Unix):
             Failed to create the platform WAR file. Check the log file C:/tibco/bwworkflow/5.1/logs/platformwar.log.

You would see the following in the platformwar.log file:

ERROR! Tue Feb 10 14:35:16 EST 2004 218238 bytes  D:/tibco/BW513/tpcl/5.1/lib/commons-httpclient.jar cannot be copied because it conflicts with D:/tibco/BW513/tra/5.1/hotfix/lib/commons-httpclient.jar which has already been copied to --> WEB-INF/lib/commons-httpclient.jar and no rule was found to resolve the conflict
Tue Feb 10 14:35:17 EST 2004 31605 bytes  D:/tibco/BW513/tpcl/5.1/lib/commons-logging.jar -->

Impact
======
Cannot use Domain Utility to create the platform WAR file

Workaround
======
Add the following two rules in the generate_seed.xml :
              &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/lib;(?i)${TIBCO_TPCL_HOME}"/>
             &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/lib;(?i)${TIBCO_HAWK_HOME}"/>

So the generate_seed.xml file looks like:
----------------------------------------------------------------------------------
&ltrules>
                   &ltrule target="icjava621.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/icjava;(?i)${TIBCO_TRA_HOME}/icjava"/>
                   &ltrule target="WEB-INF/lib/TIBCOps.jar" path="(?i)${TIBCO_BWWORKFLOW_HOME}/bui/archive/WEB-INF/lib;(?i)${TIBCO_BWWORKFLOW_HOME}/lib"/>
                   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_BW_HOME}/hotfix/lib;(?i)${TIBCO_BW_HOME}"/>
                   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/lib;(?i)${TIBCO_TRA_HOME}"/>
   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/lib;(?i)${TIBCO_TPCL_HOME}"/>
   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TRA_HOME}/hotfix/lib;(?i)${TIBCO_HAWK_HOME}"/>
                   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_BWWORKFLOW_HOME}/hotfix/lib;(?i)${TIBCO_BWWORKFLOW_HOME}"/>
                   &ltrule target="${AFP}\.jar" path="(?i)${TIBCO_TPCL_HOME};(?i)${TIBCO_BWWORKFLOW_HOME}/lib/ext"/>
                   &ltrule target="activation.jar" path="(?i)${TIBCO_BWWORKFLOW_HOME}/lib/ext;(?i)${TIBCO_HAWK_HOME}/lib"/>
                   &ltrule target="mail.jar" path="(?i)${TIBCO_BWWORKFLOW_HOME}/lib/ext;(?i)${TIBCO_HAWK_HOME}/lib"/>
</rules>
--------------------------------------------------------------------

Cause
=====
commons-httpclient.jar file and others are  located in both TPCL 5.1 and TRA 5.1 hotfix branches and this is causing conflicts.

Resolution
==========
This will be fixed in the next hotfix of BWWF.
Symptoms:

Cause:

Issue/Introduction

BusinessWorks Workflow 5.1.0 Hotfix 2: Create deployment platform would fail after installing TRA 5.1.3 Hotfix 5