HITACHI Inspire The Next

uCosminexus Application Server

Command Reference Guide

3020-3-Y15-20(E)


Contents

Notices
Summary of amendments
Preface
1. Command Overview
1.1 Command types
1.2 Description format of the command syntax
1.3 Command input format
1.4 Precautions for using commands
2. Commands Used with a J2EE Server
2.1 Overview of commands used with J2EE servers
2.2 Commands used for operating J2EE servers
cjdumpsv (get thread dump of J2EE server)
cjenvsetup (set up Component Container Administrator)
cjenvupdate (convert work directory and user definition files)
cjgetsysinfo (get OS status)
cjrarupdate (update resource adapter version)
cjsetup (set up or unsetup J2EE server)
cjsleep (set J2EE server startup delay)
cjstartrecover (recover J2EE server transaction)
cjstartsv (start J2EE server)
cjstopsv (stop J2EE server)
2.3 Commands used in J2EE applications
cjaddapp (add resource)
cjdeleteapp (delete J2EE application)
cjdeletelibjar (delete library JAR)
cjexportapp (export J2EE application)
cjgencmpsql (generate SQL statements for CMP2.x Entity Beans)
cjgetappprop (get HITACHI Application Property)
cjgetstubsjar (get RMI-IIOP stub and interface for application)
cjimportapp (import J2EE application)
cjimportlibjar (import library JAR)
cjimportwar (Import a WAR application)
cjlistapp (list applications)
cjlistlibjar (list library JARs)
cjreloadapp (reload application)
cjrenameapp (rename application)
cjreplaceapp (replace application)
cjsetappprop (set HITACHI Application Property)
cjstartapp (start J2EE application)
cjstopapp (stop J2EE application)
2.4 Resource operation commands used with J2EE servers
cjclearpool (delete connection in connection pool)
cjcopyres (copy resource)
cjdeletejb (delete JavaBeans resource)
cjdeleteres (delete resource)
cjdeployrar (deploy resource adapter)
cjexportrar (export resource adapter)
cjgetjbprop (get HITACHI JavaBeans Resource Property)
cjgetrarprop (get RAR file Property)
cjgetresprop (get resource Property)
cjimportjb (import JavaBeans resource)
cjimportres (import resource)
cjlistjb (list JavaBeans resources)
cjlistpool (list connection pools)
cjlistrar (list resource adapters)
cjlistres (list resources)
cjresumepool (restart member connection pool)
cjsetjbprop (set HITACHI JavaBeans Resource Property)
cjsetrarprop (HITACHI Connector Property Settings)
cjsetresprop (set Property of resource)
cjstartjb (start JavaBeans resource)
cjstartrar (start resource adapter)
cjstopjb (stop JavaBeans resource)
cjstoprar (stop resource adapter)
cjsuspendpool (suspend member connection pool)
cjtestres (execute resource connection test)
cjundeployrar (undeploy resource adapter)
2.5 Other commands used with J2EE servers
cjaddsec (add user or role)
cjclearsession (Delete global session information (database session failover functionality))
cjcommittrn (Commit unconcluded transaction)
cjdeletesec (delete user or role)
cjezclearsession (Deleting global session information (EADs session failover functionality))
cjforgettrn (Conclude heuristic transactions forcibly)
cjlistsec (list users or roles)
cjlistthread (display thread information)
cjlisttrn (display information about transactions operating in J2EE server)
cjlisttrnfile (display transaction information for stopped J2EE server)
cjmapsec (map user to role)
cjresetsv (force release of server management commands from mutual exclusion)
cjrollbacktrn (Roll back unconcluded transactions)
cjstopthread (stop threads)
cjtracesync (synchronize trace file information for in-process HTTP server)
cjunmapsec (unmap user from role)
3. Commands Used with a Batch Server
3.1 Overview of commands used with batch servers
3.2 Commands used for operating batch servers
cjsetup (set up or delete J2EE server environment)
cjstartsv (start J2EE server)
3.3 Commands used with batch applications
cjexecjob (Execute batch application)
cjkilljob (Stop batch application or forcefully terminate batch server)
cjlistjob (Display a list of the batch application information)
3.4 Resource operation commands used with batch servers
3.5 Other commands used with batch servers
4. Commands Used for Performance Analysis Trace
4.1 List of commands used for performance analysis trace
4.2 Details of commands used for performance analysis trace
cprfed (edit and output performance analysis trace information)
cprfflush (forcibly output buffer contents to a file)
cprfgetpid (acquire a PRF daemon process ID)
cprflevel (display or change the PRF trace collection level)
cprfstart (start PRF daemon)
cprfstop (stop PRF daemon)
5. Commands Used with Cosminexus JMS Provider
5.1 Overview of commands used with Cosminexus JMS Provider
5.2 List of commands used with Cosminexus JMS Provider
5.2.1 List of commands of CJMSP Broker utility
5.2.2 List of commands of command utility
5.2.3 Storage destination of the commands used with Cosminexus JMS Provider
5.3 Details of commands of CJMSP Broker management
cjmsbroker (starting CJMSP Broker)
cjmsicmd list bkr (displaying the list of CJMSP Broker)
cjmsicmd pause bkr (stopping CJMSP Broker temporarily)
cjmsicmd query bkr (displaying the list of property values of CJMSP Broker)
cjmsicmd resume bkr (resuming CJMSP Broker)
cjmsicmd shutdown bkr (stopping CJMSP Broker)
5.4 Details of commands of connection service management
cjmsicmd list svc (displaying the list of connection services)
5.5 Details of commands of physical destination management
cjmsicmd compact dst (compressing physical destination)
cjmsicmd create dst (creating physical destination)
cjmsicmd destroy dst (destroying physical destination)
cjmsicmd list dst (displaying the list of physical destinations)
cjmsicmd pause dst (temporarily stops the message delivery of physical destination)
cjmsicmd purge dst (deleting the physical destination messages)
cjmsicmd query dst (displaying the list of property value of physical destination)
cjmsicmd resume dst (resuming the message delivery of physical destination)
5.6 Details of commands of persistence subscriber management
cjmsicmd destroy dur (destroying persistence subscribers)
cjmsicmd list dur (displaying the list of persistence subscribers)
cjmsicmd purge dur (deleting persistence subscribers)
5.7 Property settings of physical destination
5.8 Note on the commands used by Cosminexus JMS provider
6. Commands Used in CTM
6.1 List of commands used in CTM
6.2 Details of commands used in CTM
ctmchpara (change the number of concurrent executions for schedule queues)
ctmdminfo (display and delete CTM domain information)
ctmdmstart (start CTM domain manager)
ctmdmstop (terminate CTM domain manager)
ctmgetpid (acquire process ID)
ctmholdque (lock schedule queues)
ctmjver (output version information for executable file and library)
ctmlogcat (edit and output messages)
ctmlsque (output schedule queue information)
ctmrasget (acquire and output troubleshooting information)
ctmregltd (start CTM regulator)
ctmridinfo (output CTM domain information)
ctmrlesque (unlock schedule queues)
ctmstart (start CTM daemon)
ctmstop (terminate CTM daemon)
ctmstsed (edit and output statistics)
ctmstsflush (forcibly output buffer contents to a file)
ctmstsstart (start acquisition of statistics)
ctmstsstop (stop acquisition of statistics)
ctmtscgwd (start OTM gateway)
ctmver (output version information for executable file and library)
7. Commands Used with Management Server
7.1 List of commands used with Management Server
7.2 Details of commands used with Management Server
adminagentcheck (check Administration Agent activation)
adminagentctl (start or stop Administration Agent)
daemon (start daemon process)
kill (terminate process forcibly)
mngautorun (Set up/canceling the set up of autostart and autorestart)
mngenvsetup (setup management group)
mngenvupdate (Migration Command of Management Server)
mngsvr_adapter_setup (Setup and unset up of the Cosminexus adapter command)
mngsvr_monitor_setup (Set up and unset up of the Cosminexus monitor start command)
mngsvrctl (start, stop, or setup Management Server)
mngsvrupdate (Management Server migration command)
mngsvrutil (Management Server management command)
mngunsetup (Deleting Management Server configuration environment)
mstrexport (save Management Server management file)
mstrimport (restore Management Server management file)
Setupwizard command (system setup, unsetup, and copy)
7.3 Details of subcommands of the mngsvrutil command
8. Commands Used with the Smart Composer Functionality
8.1 List of commands used with the Smart Composer functionality
8.1.1 List of commands usable in the systems that execute J2EE applications
8.1.2 List of commands usable in the systems that execute batch applications
8.1.3 List of commands for compatibility with earlier versions
8.2 Exclusive control when multiple commands are executed concurrently
8.3 Details of commands used with the Smart Composer functionality
cmx_add_serverref (add a logical user server) (For compatibility)
cmx_admin_passwd (Set up a management user account of a Management Server)
cmx_build_model (Generate a Web system information model)
cmx_build_system (Build a Web system)
cmx_change_model (Change a Web system information model)
cmx_define_application (Associate a J2EE application and a Web system) (For compatibility)
cmx_define_resource (Associate a resource and a Web system) (For compatibility)
cmx_delete_serverref (Delete a logical user server) (For compatibility)
cmx_delete_system (Delete a Web system)
cmx_deploy_application (Deploy a J2EE application) (For compatibility)
cmx_deploy_resource (Deploy a resource) (For compatibility)
cmx_export_model (Output an Easy Setup definition file)
cmx_list_model (Get a Web system information model)
cmx_list_status (Display a status of service unit)
cmx_register_application (Register a J2EE application) (For compatibility)
cmx_register_resource (Register a resource) (For compatibility)
cmx_resume_lb (Restart load balancer settings)
cmx_scaleout_host (Changing information model of Web system)
cmx_start_application (Start a J2EE application) (For compatibility)
cmx_start_resource (Start a resource) (For compatibility)
cmx_start_target (Start the Web system or service unit)
cmx_stop_application (Stop a J2EE application) (For compatibility)
cmx_stop_resource (Stop a resource) (For compatibility)
cmx_stop_target (Stop a Web system or a service unit)
cmx_test_lb (Test connection with load balancer)
cmx_trans_param (Deploy an abstract parameter)
cmx_undefine_application (Disassociate J2EE applications and Web systems) (For compatibility)
cmx_undefine_resource (Disassociate resources and Web systems) (For compatibility)
cmx_undeploy_application (Undeploy a J2EE application) (For compatibility)
cmx_undeploy_resource (Undeploy a resource) (For compatibility)
cmx_unregister_application (Delete a J2EE application) (For compatibility)
cmx_unregister_resource (Delete a resource) (For compatibility)
9. Commands Used with Virtual Systems (INTENTIONALLY DELETED)
9.1 (INTENTIONALLY DELETED)
10. Commands Used in Java VM
10.1 List of commands used in Java VM
10.2 Details of commands used in Java VM
car_tar_gz (core archiving function)
car_tar_Z (core archiving)
eheapprof (Output of extended thread dump containing the Explicit heap detailed information)
javacore (Acquiring the core file and thread dump/in UNIX)
javacore (Acquiring the thread dump/in Windows)
javagc (forced execution of garbage collection)
javatrace (trace information collection)
jheapprof(Output of extended thread dump containing Hitachi class-wise statistical information)
jheapprofanalyzer (CSV output of Hitachi class-wise statistical information analysis file )
11. Commands Used in Log Operations
11.1 List of commands used in log operations
11.2 Details of commands used in log operations
snapshotlog (collect snapshot logs)
12. Commands Used for Setting Audit Log (INTENTIONALLY DELETED)
12.1 (INTENTIONALLY DELETED)
13. Commands Used in Java Applications
13.1 List of commands used in Java applications
13.2 Details of commands used in Java applications
cjcldumpap (get thread dump of Java application )
cjclstartap (start Java application )
14. Commands Used in Web Applications
14.1 List of commands used in Web applications
14.2 Details of commands used in Web applications
cjjspc (pre-compile JSP)
Appendixes
A. Port Numbers Used by Java VM and How to Change Their Settings
B. dabsetup (Setting up the Cosminexus DABroker Library)
C. Setting Up and Deleting a System that Executes J2EE Applications
C.1 Flow of setting up a system
C.2 Setting up J2EE servers
C.3 Flow of deleting a system
C.4 Unsetting up J2EE servers
D. Starting and Stopping a System that Executes J2EE Applications (in Windows)
D.1 Procedure for starting a system
D.2 How to start a system
D.3 Procedure for terminating a system
D.4 How to terminate a system
E. Starting and Stopping a System that Executes J2EE Applications (in UNIX)
E.1 Procedure for starting a system
E.2 How to start a system
E.3 Procedure for terminating a system
E.4 How to terminate a system
F. Setting Up and Deleting a System that Executes Batch Applications
F.1 Flow of setting up a system
F.2 Setting up batch servers
F.3 Flow of deleting a system
F.4 Unsetting up batch servers
G. Starting and Stopping a System that Executes Batch Applications (in Windows)
G.1 Procedure for starting a system
G.2 How to start a system
G.3 Procedure for terminating a system
G.4 How to terminate a system
H. Starting and Stopping a System that Executes Batch Applications (in UNIX)
H.1 Procedure for starting a system
H.2 How to start a system
H.3 Procedure for terminating a system
H.4 How to terminate a system
I. System Environment Variables
I.1 System environment variables common to OSs
I.2 AIX specific environment variables
J. Abstract parameters available with the Smart Composer Functionality
J.1 Deploying abstract parameters
J.2 Effective parameters deployed by abstract parameters
Index