NonStop JMS User's Manual (NonStop JMS 2.0+)

NonStop Server for Java Message Service User’s Manual522356-002
5-1
5 Managing NSJMS
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. 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 4, NSJMS
Administrative Servlet Installation and Configuration
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 database. You invoke the command-
line interface from the OSS shell (osh) by executing 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.