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'>
(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,
To correct my previous posting:
It's JBoss-2.2 / tomcat 3.2.1.
When I remove the <!DOCTYPE> line from the web.xml descriptor file, the ContextManager successfully adds my context.
Millennium Pharmaceuticals, Inc.