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

    Sax parser configuration issues

    vamsi

      Hi,

      i'm using JBoss2.4.3-tomcat3.2.3.

      I'm able t deploy the beans successfully.
      I'm also using xerces.jar parser, my own log4j jar.

      When I'm trying to run my client, I'm getting following error on jboss:
      [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 in jboss2.2.

      Thankful if anybody suggests a solution

      regards,
      Vamsi