uCosminexus Application Server, Application Setup Guide

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

9.16 Error notification settings for servlets and JSPs

If an error occurs at the following points of time, specify whether to report the error and cancel the starting process of J2EE applications:

Organization of this section
(1) Attribute file to be edited
(2) Acquiring the attribute file to be edited and setting the attributes
(3) Attribute settings to be edited
(4) Notes

(1) Attribute file to be edited

WAR attribute file

(2) Acquiring the attribute file to be edited and setting the attributes

Acquiring the attribute file

Execute the following command to acquire the following WAR attribute file:

Execution format
 
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file
 

Example of execution
cjgetappprop MyServer -name account -type war -resname account_war -c C: \home\account_war.xml
 
Setting the attributes

Execute the following command to apply the values of the WAR attribute file:

Execution format

cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file

Example of execution
cjsetappprop MyServer -name account -type war -resname account_war -c C: \home\account_war.xml
 

(3) Attribute settings to be edited

The following table describes the error notification settings for a WAR that contains servlets or JSPs:

Item Mandatory Corresponding tag
Scope of error notification when starting O <start-notify-error>

Legend:
O: Optional

(4) Notes