Hitachi

uCosminexus Application Server Application Setup Guide


6.4 Referencing the list of J2EE resources

Reference the following list of J2EE resources:

Referencing the list of J2EE resources included in the EJB-JAR file

You execute the following command to reference the list of J2EE resources included in EJB-JAR files:

Execution format
cjlistres [server-name] [-nameserver provider-URL] -type ejb [-resname display-name-of-EJB-JAR-file]
  • If you specify the -resname option, the list of resources (SessionBeans, EntityBeans, and MessageDrivenBeans) included in a specific EJB-JAR file will be displayed.

  • If you do not specify the -resname option, the list of imported EJB-JAR files will be displayed.

Example of execution
cjlistres MyServer -type ejb
Referencing the list of J2EE resources included in WAR files

You execute the following command to reference the list of J2EE resources included in a WAR file:

Execution format
cjlistres [server-name] [-nameserver provider-URL] -type war [-resname display-name-WAR-file]
  • If you specify the -resname option, the list of resources (servlets, JSPs, and filters) included in a specific WAR file will be displayed.

  • If you do not specify the -resname option, the list of imported WAR files will be displayed.

Example of execution
cjlistres MyServer -type war
Referencing the list of mail configurations

You execute the following command to reference the list of imported mail configurations:

Execution format
cjlistres [server-name] [-nameserver provider-URL] -type mail
Example of execution
cjlistres MyServer -type mail

For details on the cjlistres command, see cjlistres (list resources) in the uCosminexus Application Server Command Reference Guide.