0 Replies Latest reply on Feb 15, 2002 11:15 AM by sergey

    Xerces vs Crimson

    sergey

      I'm trying to get up JBoss-2.4.4_Tomcat-4.0.1. The bundle is originally delivered with crimson (in run-with-catalina.sh). But I've found it not so well because there are strange errors occured in parsing of web.xml when I deploy a war application even if the web.xml is consist only with:
      <H5><?xml version="1.0" encoding="ISO-8859-1"?>

      <!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>
      </H5>

      Moving to xerces fixes this problem. Applications are successfully deployed. But another problem occured. E.g. if you try to integrate the bundle with Apache you have to add the following xml code to jboss.jcml:
      <H5>
      <!-- Uncomment to add embedded catalina service -->





      </H5>

      In this case the xerces says that there is a parsing error and doesn't start EmbeddedCatalinaServiceSX at all.
      So I confused what parser is to be used.