Connecting to metaspace with as-admin using a remote connection (tcp://host:port?remote=true).

Connecting to metaspace with as-admin using a remote connection (tcp://host:port?remote=true).

book

Article ID: KB0086459

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Resolution:
Description:
===========
How to connect to metaspace with as-admin using a remote connection (tcp://&lthost>:&ltport>?remote=true)?

Environment:
===========
AS 2.x
All Operating Systems

Symptoms:
=========
as-admin shell by default intercepts '?' character and it is not possible to type it (opens help).

Cause:
======
restriction (CR AS-1755)

Resolution:
===========
There are two options to use remote client connections for as-admin:

1). The auto-complete features provided in as-admin can be disabled and parameter "?remote=true" can be used from the shell. You have to disable the jline terminal using the "-D" option on the jvm as shown below:

java -Djline.terminal=com.tibco.as.grammar.jline.UnsupportedTerminal -jar as-admin.jar


2). Use a command file (parameter -i) to connect to the metaspace.

e.g.
java -jar as-admin.jar -i admin.txt

contents of admin.txt:
========================
connect name 'ms' discovery 'server12:52000?remote=true' membername 'as-admin1'
=========================

Issue/Introduction

Connecting to metaspace with as-admin using a remote connection (tcp://host:port?remote=true).