uCosminexus Application Server, Application Development Guide

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

5.2.2 Notes on editing application.xml

This subsection describes the precautions when editing application.xml.

Organization of this subsection
(1) Settings for the <display-name> tag
(2) Settings for the <ejb> tag
(3) Settings for the <web-uri> tag
(4) Settings for <context-root> tag
(5) Precautions when creating a DD

(1) Settings for the <display-name> tag

When you create the Enterprise application project, the Project Name specified in the EAR Application Project page of the New Project dialog box is entered.

If a value is not specified, an error occurs when deploying and redeploying with the Eclipse connector. Therefore, make sure to specify a value. Also, if a value is changed after deployment, J2EE applications are not properly deployed or undeployed on the J2EE server.

The value set for the <display-name> tag is also used as the directory name in the work directory. Specify the <display-name> tag in such a way so that the path length of the work directory does not reach the upper limit for the OS. For details on estimating the path length of the work directory, see Appendix C.1 Work directory of J2EE server in the manual uCosminexus Application Server System Setup and Operation Guide.

(2) Settings for the <ejb> tag

project-name.jar of an EJB project that is built in the Enterprise application project is set in the <ejb> tag under the <module> tag. Note that if you change the value, a malfunction might occur.

(3) Settings for the <web-uri> tag

project-name.war of the Web project that is built in the Enterprise application project is set in the <web-uri> tag under the <web> tag that exists under the <module> tag. Note that if you change the value, a malfunction might occur.

(4) Settings for <context-root> tag

The context root is set in the <context-root> tag. The value set for the <context-root> tag is also used as the directory name in the work directory. Specify the <context-root> tag in such a way so that the path length of the work directory does not reach the upper limit for the OS. For details on estimating the path length of the work directory, see Appendix C.1 Work directory of J2EE server in the manual uCosminexus Application Server System Setup and Operation Guide.

(5) Precautions when creating a DD

You cannot code Processing Instruction, XInclusion, and a name space prefix with the DD of each project. Even if a value is coded, the value is not read correctly.