如何 运行 Tibco BusinessWorks 5 中的 Tibco InConcert Batch 注册表脚本

How to run Tibco InConcert Batch registry script from Tibco BusinessWorks 5

我们有使用 Tibco InConcert 服务器的旧应用程序。我们想要将应用程序与 Tibco BW5 集成。 我对 Tibco InConcert 和 TIBCO BusinessWorks Collaborator 的了解非常有限。看起来它是很旧的软件,Tibco 不再支持它了。

问题是如何 运行 来自 Tibco BW5 的 Tibco InConcert Batch 注册表脚本? 我需要 运行:

的确切脚本
create user <name> address <email> with pool;

将用户添加到 InConsert 服务器需要该脚本。最终目标是从 BW5 流程添加 InConcert 用户。

安装 TIBCO BusinessWorks Collaborator 5.2.0 后,我看到 TibcoDesigner 添加了 2 个额外的调色板:Collaborator Client 和 Collaborator Design。

我在 Consert Users 中看到 activity 用于查询,但我没有看到用于添加用户的 activity

最终目标是直接从 BW5 进程添加 InConcert 用户。

提前谢谢你。

我终于通过命令行 tibco activity 集成了 InConcert Batch Registry 工具。这可能不是真正优雅的解决方案,并且还需要来自安装了 batreg.exe 但工作正常的服务器的 tibco 服务 运行。

来自 InConcert Batch Registry 文档:

Batch Mode on Windows

The syntax to start the Windows Batch Registry in batch mode is:

ic_home\bin\batreg.exe [-icclient client_data ] [-ictimeout interval ] input_file [ output_file ]

For example, to start a batch script that adds new users for user icdba on server tibicsvr, enter:

ic_home\bin\batreg.exe -icclient icdba/icdba@tibicsvr addusers.btg

Batch mode on UNIX

The syntax to start the UNIX Batch Registry in batch mode is:

IcBatchRegistry [-icclient client_data ] [ -ictimeout interval ] \ input_file [ output_file ]

For example, to start a batch script that adds new users for user icdba on server tibicsvr, enter:

IcBatchRegistry -icclient icdba/icdba@tibicsvr addusers.btg 

On UNIX, you can also specify client data in a text file. The client data should be the only content in the file. To specify this file with the -icclient switch, precede the file name with a colon:

 IcBatchRegistry -icclient :login_info.txt addusers.btg