1 Reply Latest reply on Dec 27, 2001 11:35 AM by yoavshapira

    XmlMapper: Can't find web-app DTD resource??

    yoavshapira

      Hi there,
      I copied an EAR file into the deploy directory, and when JBoss tries to deploy it I get the following:
      2001-12-27 11:17:03 - ContextManager: Adding context Ctx( /myContextRoot )
      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"
      2001-12-27 11:17:05 - Context Manager: Removing context Ctx( /myContextRoot )

      I made sure that DTD file is accessible from the machine running JBoss, so I don't see why JBoss can't access it?

      My EAR file has a WAR file in it, which contains web-inf\web.xml as follows:

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
      <web-app>
      ... ...
      </web-app>

      (There are no line breaks in the DOCTYPE declaration, it may wrap because of the narrow post topic textbox I'm typing in).

      This JBoss2.4.3-Tomcat4.0 bundle. Thanks in advance,

      Yoav Shapira
      Millennium Pharmaceuticals
      yoavs@computer.org