NonStop JMS User's Manual (H06.03+, J06.03+, NonStop JMS 3.0+)

NonStop Server for Java Message Service User’s Manual522356-006
7-1
7
Managing the NSJMS Environment
This section provides information about using the administrative utility to manage the
NSJMS environment and information about using the SQL conversational interface
(SQLCI) to query and manage an NSJMS database.
Using the Administrative Utility to Manage the
NSJMS Environment
The administrative utility is a Java-based tool that provides administrative functions to
manage the NSJMS environment. Since the NSJMS C++ API shares the NSJMS
environment, the administrative utility is also used to manage the NSJMS C++ API
environment. You can invoke the administrative utility through a command-line
interface as a command-line tool for local use or through an XML interface as a servlet
using an XML formatted request/reply paradigm for use in user-defined management
applications. The command-line tool installs automatically with the installation of
NSJMS. The administrative servlet is optional; see Section 5, Reliable Messaging
Bridge
Authorized users can use the administrative utility to:
Clear the database of expired messages (including temporary queues and topics)
Add or delete queues and topics
Delete durable connections
Initialize JNDI connection bindings
Display information about queues, topics, durable connections, and messages
Review statistics about queues, topics, and the NSJMS service
The Command-Line Interface
The command-line interface provides a local command-line tool for a Java
administrator to access and manage the NSJMS environment. You invoke the
command-line interface from the OSS shell (osh) by using this command:
osh> java com.tandem.nsjms.admin.JmsAdmin
When this command-line interface prompt appears,
nsjms->
Note. The administrative utility relies on the security features of the Guardian environment and
NonStop SQL/MX to protect the information in the NSJMS database. Therefore, use the same
user ID to manage the data as was used to create the database.