0 Replies Latest reply on May 26, 2009 11:51 AM by wzkl52

    Exception sending context initialized event to listener inst

      Hi,

      I am trying to deploy an application that is using toplink, that's why xmlparserv2.jar is required so I added, when deploying an error appears:

      2009-05-25 13:03:18,237 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/MiraWeb]] (HDScanner) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory
      at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:698)
      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:670)
      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.(ConfigureListener.java:644)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:156)

      I found this error on some forums but no response is given. I am not using any JSF implementation, I am using struts 2 so I don't know why this error is happining.

      any idea?