|
Problem(Abstract) |
Enterprise application fails to deploy and throws the
following exception:
AppDeploymentException:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml |
|
|
|
Cause |
The EAR file might be corrupt and/or incomplete.
The enterprise application web.xml file must follow the
web-app_2_3.dtd standard. In this case, the filter tag is placed
after the servlet tag. The filter tag must be placed before the servlet
tag. |
|
|
Resolving the
problem |
The web.xml file must follow the
web-app_2_3.dtd order:
<!ELEMENT web-app (icon?, display-name?, description?,
distributable?, context-param*, filter*, filter-mapping*, listener*,
servlet*, servlet-mapping*, session-config?, mime-mapping*,
welcome-file-list?, error-page*, taglib*, resource-env-ref*,
resource-ref*, security-constraint*, login-config?, security-role*,
env-entry*, ejb-ref*, ejb-local-ref*)>
If the application fails to deploy during the upload operation, check the
order of elements in the web.xml file and place the tag in the
order shown above to avoid the deployment issue.
J2EE web-app_2_3 DTD for WebSphere® Application Server v5.0 releases are
located in the
Install_Root\deploytool\itp\plugins\com.ibm.etools.j2ee\dtds
directory.
You can use the attached trace file to compare to the exception you
received. |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|