![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
• JAVA_HOME The location of the Java installation on your computer.
• AS_HOME The location of the ActiveSpaces installation on your computer.
•
Make sure that you prepend the AS_HOME\lib PATH setting and the AS_HOME\bin PATH setting to the PATH setting; for example:
2.
The above usage information for as-admin can be obtained by invoking java -jar as-admin.jar-h from the ActiveSpaces lib directory in a command line window.
Using the Admin CLI command export metaspace [to <filename>] (see export metaspace) will generate a file containing the schema for the existing metaspace. The admin-cmd-filename value can be the path to this generated file. In this way, a new metaspace can be created using the exported metaspace schema.Here is sample of the contents of such a file. In this example, the file is named example01.txt, and is located in the directory C:\temp2.
• You can invoke a shell command by using the escape character’!’, for example, !dir or !ls to list the files in the current directory.
• In most cases, the Admin CLI will start by using the connect command to connect to a metaspace.For more information on discovery, see “Connecting to the Metaspace “in the TIBCO ActiveSpaces Developer’s Guide.Admin CLI administrative commands (for example defining a space) can be executed directly from within an application. This is done by using the Metaspace object's execute method and passing it a string representing the Admin CLI command. A string is returned containing the output resulting from executing the command.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |