![]() |
![]() |
e-docs > Tuxedo > Using the CORBA Notification Service > CORBA Notification Service Administration |
Using the CORBA Notification Service
|
Synopsis
BEA Tuxedo CORBA Notification Service administration command interpreter.
Syntax
ntsadmin
Description
The Notification Service includes an administration command interpreter, ntsadmin, that provides commands to perform the following tasks for CORBA Notification Service applications:
Note: When you enter ntsadmin to start the program, if your application only has transient subscriptions, the commands for persistent subscriptions are disabled.
Note: The Notification Service must be running before you can use ntsadmin.
You can exit the ntsadmin program by entering a q (for quit) at the command prompt. You can terminate the output from a command by pressing the Break key; the program then prompts for a new command.
Output from ntsadmin is paginated according to the pagination command in use (see the paginate command).
Note: The subscription command has different output depending on the setting of the verbose command.
Security
This utility can only be used by the system administrator.
See Also
TMNTS, TMNTSFWD_T, TMNTSFWD_P, qmadmin
ntsadmin Commands
Commands may be entered either by their full name or by an abbreviation (if available, the abbreviation is listed below in parentheses following the full name), followed by appropriate arguments. Arguments that appear in square brackets [] are optional; arguments in curly braces {} indicate a selection from mutually exclusive options. Each command offers the following options:
The ntsadmin commands are as follows:
Note: The subscription command has different output depending on whether the verbose mode is on or off (the verbose command is described below). Listing 7-12 shows examples of subscription output with verbose on and off.
Listing 7-12 Subscription Command Output with Verbose Mode On and Off
> verbose on
Verbose mode is now on
> sub
ID: 1000000006
Name: marcello
QoS: Transient
Qspace: <N/A>
Expression: stock trade\.quote
Filter: stock_name %% 'BEAS' && price_per_share > 150
ID: 1000000005
Name: marcello
QoS: Persistent
Qspace: TMNTSQS
Expression: stock trade\.sell
Filter:
ID: 1000000004
Name: marcello
QoS: Persistent
Qspace: TMNTSQS
Expression: stock trade\.buy
Filter:
> verbose off
Verbose mode is now off
> sub
ID Name Expression
-- ---- ----------
1000000006 marcello [T] stock trade\.quote
1000000005 marcello [P] stock trade\.sell
1000000004 marcello [P] stock trade\.buy
Using the ntsadmin Utility
This section provides examples of using the ntsadmin utility.
Listing 7-13 shows an example of using ntsadmin to move events from the error queue back to the pending queue. The following steps are performed:
Listing 7-13 Moving Events from the Error Queue to the Pending Queue
D:\smith\reg>ntsadmin
ntsadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by BEA Systems, Inc.
BEA Tuxedo is a registered trademark.
INFO: /Q Qspace - TMNTSQS
INFO: /Q Device - D:\smith\reg\QUE (SITE1)
> subscriptions -n marcello
ID Name Expression
-- ---- ----------
1000000002 marcello [T] stock trade\.quote
1000000001 marcello [P] stock trade\.sell
1000000000 marcello [P] stock trade\.buy
> verbose off
Verbose mode is now off
> eevt -i 1000000003
ID Name Count
-- ---- -----
1000000003 marcello 1
> reteevt -i 1000000003 -y
1 event(s) retried
Listing 7-14 shows an example of using ntsadmin to remove subscriptions and purge events.
Listing 7-14 Removing a Subscription
> rmsub -n BillJones -y
2 subscription(s) removed
> rmeevt -n marcello -y
1 event(s) removed
> rmpevt -n BillJones -y
No events removed
Listing 7-15 shows how to check events pending for a specific subscription.
Listing 7-15 Checking for Pending Events
> pevt -n marcello
ID Name Count
-- ---- -----
1000000003 marcello 1
Notification Servers
This section provides descriptions of the following servers:
The Notification Service also uses the following BEA Tuxedo system servers. For descriptions of these servers, refer to the File Formats, Data Descriptions, MIBs, and System Processes Reference
.
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |