3 Replies Latest reply on May 25, 2011 1:37 AM by dut.zgy

    How to reference jboss_6.0.dtd in jboss.xml?

    newguy2010

      Hi

      I am using JBoss 6.0.0 Final. In jboss.xml I declared the dtd reference to be jboss_4.0.dtd and it seems it is working fine.

      Here is the doctype declaration:

      <!DOCTYPE jboss PUBLIC
            "-//JBoss//DTD JBOSS 4.0//EN"
            "http://www.jboss.org/j2ee/dtd/jboss_4.0.dtd">

      But I want to use the latest dtd and I notice that there is a jboss_6.0.dtd in docs/dtd/ folder. How can I reference this dtd in my jboss.xml? I've tried replacing "4" with "6" but when I deploy it shows a fileNotfoundException.

       

      Caused by: java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss_6.0.dtd

       

      Please tell me your solution.