4 Replies Latest reply on Oct 2, 2009 4:09 PM by Puneet Agrawal

    Failed to create new SAX Parser error in JBoss 5.1.0

    Puneet Agrawal Newbie

      I am upgrading from JBoss 4.2.2 to JBoss 5.1.0. We package xercesImpl.jar file in our war file. I am getting following traceback while deployment

      2009-10-02 19:18:02,961 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (HDScanner) XML error parsing: WEB-INF/context.xml
      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
       at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
       at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)
       at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:540)
       at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)


      I tried the option #2 mentioned at following link but I still get same error.

      http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5

      This is an urgent situation for us. Removing xercesImpl.jar from war file is not an option for me.