ERROR:
I'm running JBoss-3.0.8 on Window 2000 , and when I deployed my war file, I got the following error messsage:
==============================
[Auto deploy] XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3/EN --> http://java.sun.com/dtd/web-app_2_3.dtd "null"
==============================
Resovle 1:
I found the DTD's in the j2ee distribution from SUN. Install it it will create a subdirectory /lib/dtds . All the DTD files will be there. I made a directory /dtd on my Apache docroot and I copied those files in that directory. After that I modified my "hosts" file so that java.sun.com points to 127.0.0.1 . Then I started my apache server. After that I could make the deployment because JBoss was able to find the DTD on my own machine thinking that it is java.sun.com .
Question:
How can I resovle the Error without changing the HOSTS file ?
Normally the dtd is supposed to be in jboss/docs/dtd, from where the server loads them. Did you accidently delete it there?