I use Forte 2.0 CE and Sun J2EE 1.3 Toolkit for creating EJBs. Toolkit appends to ear's META-INF/application.xml following DTD declaration:
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
This dtd-file doesn’t available locally for JBoss 2.4 and when computer is offline during the deployment such ear-file XML-parser exception is throws. When computer is online Jboss loads application_1_3.dtd from Sun and deploys ear without any problem.
I add application_1_3.dtd to lib/ext/jboss.jar in directory org/jboss/metadata but it takes no effect. Now before deployment I have to manually update ear-file and replace in META-INF/application.xml DTD-declaration to:
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/dtd/application_1_2.dtd'>.
After such change all works fine.
So my question: what should I change in JBoss configuration to make application_1_3.dtd locally available for JBoss.
P.S. Such kind of problem is appears when ear-file contains web-module with DTD-declaration in WEB-INF/web.xml pointed to http://java.sun.com/dtd/web-app_2_3.dtd.