com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

When you deploy the webapp to a WAS container and you see the error some thing like in the title you might want to check the following
  • j2ee dtd, whether 2.3/2.4
  • make sure your webcontainer support that version
  • make sure the web.xml properly reference the DTD
DOCTYPE web-app PUBLIC        "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "file:///opt/SUNWam/dtd/web-app_2_3.dtd">

ensure the file /opt/SUNWam/dtd/web-app_2_3.dtd do exist if still fails replace the file:///opt/SUNWam/dtd/web-app_2_3.dtd with "http://java.sun.com/dtd/web-app_2_3.dtd
Comments:

Thanks.

Posted by Nitin on September 13, 2006 at 02:17 AM PDT #

Access Manager webapps should set the Public Id and correctly to the http URL for the DTD at java.sun.com and not hardcode the location of the DTD location to a file on the filesystem. There is no reason why Access Manager should bundle the J2EE DTD. The errors you describe occur due to poor webapplication design ....

Posted by Anonymous on February 01, 2007 at 07:08 AM PST #

The second option of pointing to "http://java.sun.com/dtd/web-app_2_3.dtd" worked for me. Thanks!

Posted by Sunil Kashikar on February 26, 2007 at 08:46 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Indira Thangasamy, I manage the OpenSSO Quality engineering team.

Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today