Setting up BusinessWorks

Set up BusinessWorks and import your project.

Prerequisites

  • Before you start a BW project, create a directory as follows:
TIBCO_HOME\fsjndi\designerExtendedJars
  • Copy the following JAR files inside the newly created directory:
    • fscontext.jar
      jndi.jar
      providerutil.jar
  • Open the designer.tra file located in TIBCO_HOME\designer\5.5\bin and add following entry: tibco.class.path.extended %CUSTOM_CP_EXT%%PSP%%STD_CP_EXT%:TIBCO_HOME/fsjndi/designerExtendedJars

Procedure

  1. Start TIBCO Designer.
  2. In the Project tab, click New empty project.
  3. In the Save Project window, select the project directory and TIBCO messaging 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 do not 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 mentioned in the step 5 and 6.
  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 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.

Sample values are as follows:

  1. Click the Project tabShared Connection. If you have already a BusinessConnect connection configured, update the connection.
  2. Click Update from Configuration Store.
  3. Select the Select operations check box; click OK on the next screen.
  4. Click Import selected Business Protocol.
  5. In the BusinessConnect Server Access tab, click Update from Configuration Store followed by Import Selected Business Protocol.
  6. In the JMS tab of the previous screen, click Update from Configuration Store followed by Import Selected Business Protocol.

    If you have created a new BusinessConnect connection, ensure the property ‘Server Details’ of all the activities to a valid BC connection. A sample activity ‘Send Request to TP’ of process ‘Send to TP Process’ is as follows:

  7. Start the test engine by clicking the Tester tab on left side followed by green start signal.
  8. Click Load selected. After successful start, all processed should be visible.