0 Replies Latest reply on May 24, 2003 2:36 AM by vamsi

    Sax parser configuration issues

    vamsi

      Hai,
      I'm facing the following problem:

      I'm using Jboss2.4.3-tomcat 3.2.3.

      I'm able to deploy all the beans without errors.
      Also I'm using my own log4j jar.

      WHen I'm trying to run my client program, I'm getting the following at JBoss server:



      [Default] Warning: validation was turned on but an org.xml.sax.ErrorHandler was
      not
      [Default] set, which is probably not what is desired. Parser will use a default

      [Default] ErrorHandler to print the first 10 errors. Please call
      [Default] the 'setErrorHandler' method to fix this.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=3: Attribute "xmln
      s:log4j" is not declared for element "log4j:configuration".
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=6: Element "errorH
      andler" does not allow "logger-ref" here.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=6: Element type "l
      ogger-ref" is not declared.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=6: Attribute "ref"
      is not declared for element "logger-ref".
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=7: Element "errorH
      andler" does not allow "appender-ref" here.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=29: Element "error
      Handler" does not allow "logger-ref" here.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=29: Attribute "ref
      " is not declared for element "logger-ref".
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=30: Element "error
      Handler" does not allow "appender-ref" here.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=44: Element "log4j
      :configuration" does not allow "logger" here.
      [Default] Error: URI=jar:file:/E:/ISOChangesPG/Jboss2.4/JBoss-2.4.3_Tomcat-3.2.3
      /jboss/lib/ext/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=44: Element type "
      logger" is not declared.


      I'm unable to trace the error, as the same configuration is working fine with jboss2.2.

      Thankful if anybody suggest a solution

      regards,
      Vamsi