Test connection failed for Metaspace resource.

Test connection failed for Metaspace resource.

book

Article ID: KB0092020

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces -
Not Applicable -

Description

Description:
Test connection failed for Metaspace resource.


Symptoms:
The following error is reported when testing the connection:

"Cannot connect to metaspace"
INVALID_ARG (command_line_arg_invalid - arg = -cluster_suspend_threshold)
Cause:
A wrong TIBCO ActiveSpaces version has been loaded by TIBCO BusinessStudio (multiple versions available on the machine).

Resolution

The TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces (version 6.x) uses its own version of TIBCO ActiveSpaces  (installed with the product). It is required to update the PATH (Windows) or LD_LIBRARY_PATH (Linux) before starting TIBCO BusinessStudio to avoid the issue.

Linux:
export LD_LIBRARY_PATH=<TIBCO_HOME>/bw/6.2/system/lib/as/lib
cd <TIBCO_HOME>/bw/6.2/studio/3.6/eclipse
./TIBCOBusinessStudio

Windows:
set PATH=<TIBCO_HOME>\bw\6.2\system\lib\as\lib
cd <TIBCO_HOME>\bw\6.2\studio\3.6\eclipse
TIBCOBusinessStudio.exe

Note:
====
To avoid the connection problem at runtime, update the TRA file (bwengine.tra: set AS_HOME=<TIBCO_HOME>/bw/6.2/system/lib/as/lib and start as-agent located in <TIBCO_HOME>/bw/6.2/system/lib/as/bin

Issue/Introduction

Test connection failed for Metaspace resource.