1 Reply Latest reply on May 6, 2005 1:02 PM by rubbish

    How to turn off DTD validation in 4.0.1sp1

    rubbish

      I get this error:

      Caused by: org.dom4j.DocumentException: Server returned HTTP response code: 401 for URL: http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd Nested exception: Server returned HTTP response code: 401 for URL: http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd

      Is there a setting somewhere on how to turn of DTD validation?

        • 1. Re: How to turn off DTD validation in 4.0.1sp1
          rubbish

          Turns out the way I was redeploying the .ear or .war files caused some memory confusion. The thing that fixed this for me was to delete the .war from the deploy directory first (and give JBoss a few minutes to clean everything up) and then copy the new .war into the deploy directory.