0 Replies Latest reply on Jan 14, 2005 3:51 PM by jconradmn

    Invalid DTD for standardjaws.xml?

    jconradmn

      Hello,

      I am configuring JBoss-3.2.6 to DB2, using instructions from http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html. I realize that these are JBoss 4.0 instructions, that is not the problem.

      1. This is the first error I ran into:

      The problem is that if I edit standardjaws.xml, I am getting a DTD error (because XMLSpy is smart it tells you these things). It looks like the 3.2.6 JBoss is using the wrong DTD URI for jaws.

      The wrong DTD, in standard JAWS is <!DOCTYPE jbosscmp-jdbc PUBLIC
      "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">

      2. Second problem

      If I change it to the right? DTD?

      <!DOCTYPE jbosscmp-jdbc PUBLIC
      "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
      "http://www.jboss.org/j2ee/dtd/jaws.dtd">

      Then there is a second problem in that that DTD has a duplicate entry.

      <!ELEMENT datasource (#PCDATA)> is listed twice

      Does Jaws need fixing?

      3. My final solution was to point to the URL,

      http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd in the standardjaws.xml file.

      Are these things something that JBoss can easily fix?

      Thank you,