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

About these ads