How to reconfigure TIBCO InConcert to create a new document repository location and set it as the default repository.

How to reconfigure TIBCO InConcert to create a new document repository location and set it as the default repository.

book

Article ID: KB0091530

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Description:
Use the batch registry by executing the command CREATE REPOSITORY LOCATION and SET DEFAULT REPOSITORY for creating new a repository location and setting it to be the default.

Issue/Introduction

How to reconfigure TIBCO InConcert to create a new document repository location and set it as the default repository.

Resolution

How to create a new Repository.

1). To create the new repository directory, open Windows Explorer and create a folder with the name of the repository directory, for example, create 'Secondary' folder under location 'C:\tibco\bwc\5.6\server\RepositoryServer_KServer_Name'.

2). Stop the InConcert server and repository server.

3). Edit icrepconfig.xml. Add the second VALID-DIR. You must add the additional VALID-DIR options in icrepconfig.xml before running the Create Repository command. Here we add <VALID_DIR>C:\tibco\bwc\5.6\server\RepositoryServer_KServer_Name\Secondary</VALID_DIR> in icrepconfig.xml.

4). Re-start the repository server and the InConcert server.

5). Start the Batch Registry and run the Create Repository command. Here we run the following command "CREATE REPOSITORY LOCATION KServer_Name PARTITION C:\tibco\bwc\5.6\server\RepositoryServer_KServer_Name\Secondary TYPE 5;"


Setting the new Repository as a default repository.

1). Run the "LIST REPOSITORY;" command using batch registry and verify the result. It must have entries for the newly created repository. In our case we got row “02000017000004630006000B0000004E 5    KServer_Name   C:\tibco\bwc\5.6\server\RepositoryServer_KServer_Name\Secondary” corresponding to the newly created repository.

2). Note the Repository value of the newly created repository. (For e.g. ‘02000017000004630006000B0000004E’).

3). Run "SET DEFAULT REPOSITORY repository_id;” where repository_id is the value corresponding to the newly created repository. Here we run "SET DEFAULT REPOSITORY 02000017000004630006000B0000004E;"

4).  Run the "LIST REPOSITORY;" command and verify the result. An asterisk precedes the object ID of the default repository, i.e. there must be ‘*' for entries for the newly created repository.

Additional Information

TIBCO InConcert® Batch Registry Documentation