1 Reply Latest reply on Feb 21, 2004 5:32 AM by Heiko Rupp

    Dtd problem ...

    inglass Newbie

      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 ?