When I tried to deploy a war file, I got the following Exception complaining about my web.xml file. Please help.
15:23:43,453 WARN [Tomcat5] Failed to parse descriptors for war(file:/D:/jboss-3.2.6/server/default/tmp/deploy/tmp20117CVF_v01_00.ear-contents/floghmi.war/)
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nes
ted throwable: (org.jboss.deployment.DeploymentException: java.sun.com; - nested
My web.xml is below. Anything wrong with it??
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
I found out that JBoss 3.2.6 does not like older version of DTD.
I changed to the following and it worked.
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"