Setting up Business Works

Prerequisites

  • Before you start a BW project, create a directory as follows:
<<TIBCO_HOME>>\fsjndi\designerExtendedJars
  • Add the following jars to this location:
    • fscontext.jar
      jndi.jar
      providerutil.jar
  • Edit the designer.tra file located in <<TIBCO_HOME>>\designer\5.5\bin.
  • Add the following entry to this file:
tibco.class.path.extended %CUSTOM_CP_EXT%%PSP%%STD_CP_EXT%:<<TIBCO_HOME>>/fsjndi/designerExtendedJars

Procedure

  1. Start TIBCO Designer.
  2. Click New empty project.
  3. Specify the project directory and encoding.
  4. Click Project -Import Full Project.
  5. Import vcrepo.dat from the existing BW project directory (directory of the same name as your existing BW configuration).
  6. Alternately, if you don’t want to import the existing project, copy the existing BW project directory with another name. This is similar to importing the existing BW project.
  7. Edit the project as imported and copied above.
  8. Change the following Global variables per the project requirement:
    • bindingFile: Provide the directory location where you want to place your binding file for this project.
    • receiveFile: Provide the directory location where you want the received messages to be saved.
    • hostName: Provide the name of the participant which you configured in BC as Participant of type Host.
    • tpName: Provide the name of the participant which you configured in BC as Participant of type Partner.

The Sample values are as follows:

  1. Click Project Tab -Shared Connection.
  2. If you already have a BusinessConnect connection configured, update the connection.
  3. Click the ‘Update from Configuration stores’ button.
  4. Select the Select operations check box; click OK on the next screen.
  5. Click the Import selected Business Protocol button.
  6. Click the BusinessConnect Server Access tab.
  7. Click Update from Configuration Store followed by the Import Selected Business Protocol button.
  8. Click the JMS tab of the previous screen.
  9. Click Update from Configuration Store followed by the Import Selected Business Protocol button.
  10. If you have created a new BusinessConnect connection, ensure the property ‘Server Details’ of all the activities point to a valid BC connection. A sample activity ‘Send Request to TP’ of process ‘Send to TP Process’ is as follows:
  11. Start the test engine by clicking the Tester tab on the left followed by a green start signal.
  12. Click Load selected.
  13. After a successful start, all processes should be visible.