While creating the shared ear using domain utility in BWC 5.5, BW, TRA or Formbuilder hotfix jars are not included. How to resolve this problem?

While creating the shared ear using domain utility in BWC 5.5, BW, TRA or Formbuilder hotfix jars are not included. How to resolve this problem?

book

Article ID: KB0086761

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Resolution:
While creating the shared ear using domain utility in BWC 5.5, BW, TRA or Formbuilder hotfix jars are not included.

You need to modify the &ltTIBCO_HOME>/bwc/5.5/bui/config/CreateSharedEAR.xml for picking up the hotfix/lib jars for BW, TRA and FormBuilder.

Following are the entries to be added in the ant target “getFBjars” in CreateSharedEAR.xml:

1. For FormBuilder hotfix jars:
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_FORMBUILDER_HOME}/hotfix/lib">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>
2. For BW hotfix jars:
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_BW_HOME}/hotfix/lib/">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>  
3. For TRA hotfix jars:
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_TRA_HOME}/hotfix/lib">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>


Please make sure that the entries for hotfix lib jars precede the product lib jars in the XML. So the actual entries in CreateSharedEAR.xml would look like this:

<!-- Following entry added for including Formbuilder hotfix jars -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_FORMBUILDER_HOME}/hotfix/lib">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>
<!-- End -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_FORMBUILDER_HOME}/lib">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>

.
.
.
<!-- Following entry added for including BW hotfix jars -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_BW_HOME}/hotfix/lib/">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>  
<!-- End -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_BW_HOME}/lib/">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>
.
.
.
<!-- Following entry added for including TRA hotfix jars -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_TRA_HOME}/hotfix/lib">
                &ltinclude name="*.jar"/>
            </fileset>
        </copy>
<!-- End -->
        &ltcopy toDir="${SHARED_ARCHIVE_TMP_DIR}">
            &ltfileset dir="${TIBCO_TRA_HOME}/lib/">
                &ltinclude name="TIBCrypt.jar"/>
            </fileset>
        </copy>

Update the CreateSharedEAR.xml with the above-mentioned entries and then create the shared ear using domain utility or domainutilitycmd.

Issue/Introduction

While creating the shared ear using domain utility in BWC 5.5, BW, TRA or Formbuilder hotfix jars are not included. How to resolve this problem?