1 Reply Latest reply on Apr 14, 2010 8:20 AM by wolfgangknauf

    How to fix xml problems casting

      Hello everbody,

       

      I am migrating all my applications to JBoss 5.1.0GA, but i have a problem with an application that was development with oracle tecnhologies like toplink

      When i upload the .ear and startup the server, i have the error java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory cannot be cast to javax.xml.parsers.SAXParserFactory.

       

      Could us help me?

        • 1. Re: How to fix xml problems casting
          wolfgangknauf

          Hi,

           

          the best way would be to remove the Oracle XML parser JARs from your app. Hopefully, none of your other Oracle JARs require exactly this one.

           

          I think you could also use Classloader configuration to include your own xml parsers, but I never used this myself.

           

          Best regards

           

          Wolfgang

          1 of 1 people found this helpful