1 Reply Latest reply on Oct 18, 2005 2:32 AM by anders.hedstrom

    Turn off Verifier

    saifi25

      I want to turn off the verifier that jboss runs during deployment. Its giving me errors that i dont want to worry about at this stage.

        • 1. Re: Turn off Verifier
          anders.hedstrom

          Hi,

          in ejb-deployer.xml in your deploy directory you can change the following attributes

          <!-- A flag indicating if the deployer should validate the
           ejb-jar.xml/jboss.xml descriptors and components
           -->
           <attribute name="VerifyDeployments">true</attribute>
           <!-- A flag indicating if the xml parser should validate the descriptor
           DTDs
           -->
           <attribute name="ValidateDTDs">false</attribute>
           <!-- A flag indicating if the verifier should be verbose about its
           operation
           -->
           <attribute name="VerifierVerbose">true</attribute>
           <!-- Setting this to 'true' will cause all deployments
           to fail when the Verifier detected a problem with the contained
           Beans. If false, warnings/errors will be logged but the deployment
           will not fail.
           -->
           <attribute name="StrictVerifier">true</attribute>
          


          You can change these setting in the JMX console as well, but then they will go back to their original values when you restart JBoss.


          //Anders