uCosminexus Application Server, Application Setup Guide

[Contents][Index][Back][Next]

6.4 Referencing the list of J2EE resources

Reference the following list of J2EE resources:

Organization of this section
(1) Referencing the list of J2EE resources included in the EJB-JAR file
(2) Referencing the list of J2EE resources included in WAR files
(3) Referencing the list of mail configurations

(1) 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
 

(2) 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
 

(3) 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 (Displaying a list of resources) in the uCosminexus Application Server Command Reference Guide.