11.4.5 Operations for Web applications in which web.xml is omitted

When web.xml is omitted, the operations for the Web applications with the server management commands are limited. The following table describes whether the operations can be executed for the Web applications when web.xml is omitted.

Table 11-12 Operability of the Web applications when web.xml is omitted

OperationsOperability
CommandsArgumentsOperations
cjaddapp-type filterAdding a filterN#1
-type warAdding a WAR fileY
cjcopyres-type warCopying a WAR fileY
cjdeleteapp-type filterDeleting a filterN#2
-type warDeleting a WAR fileY
NoneDeleting an applicationY
cjdeleteres-type warDeleting a WAR fileY
cjexportapp-rawExporting applications (not containing runtime information)Y#3
-normalExporting applications (containing runtime information)Y#3
cjgetappprop-type warObtaining the WAR file attributesY
-type allObtaining the application attributesY
cjgetresprop-type warObtaining the WAR file attributesY
cjimportappImporting a J2EE applicationY#4
cjimportres-type warImporting a WAR fileY#4
cjlistapp-type warDisplaying the list of WAR filesY
cjlistres-type warDisplaying the list of WAR filesY
cjreloadappReloading an applicationY
cjreplaceapp-replaceDDReplacing an application (DD definition is not inherited)Y
NoneReplacing an application (DD definition is inherited)Y
cjsetappprop-type warAttribute settingsInformation related to the default DDN#5
Runtime informationY
-type allAttribute settingsInformation related to the default DDN#5
Runtime informationY
cjsetresprop-type warAttribute settingsInformation related to the default DDN#5
Runtime informationY
cjstartappStarting an applicationY
cjstopappStopping an applicationY
Legend:
Y: Operations can be executed
N: Operations cannot be executed

#1: An error occurs during command execution and the message KDJE37606-E is output.

#2: A filter cannot be added in an application in which web.xml is omitted, therefore, the filter can also not be deleted.

#3: An exported file does not include web.xml.

#4: An imported WAR can only use the JSP and static contents.

#5: Handled as a read-only attribute, so the settings are ignored.