1 Reply Latest reply on Mar 16, 2011 6:49 AM by Wolf-Dieter Fink

    Jboss 5.1.0 GA deployment issue

    Bhaskar Baguraiah Newbie



      I have a J2EE application (Struts 1.1 and toplink 10g) hosted in Jboss AS 4.0.2 and its working fine.  Now i tried to host the same WAR in Jboss AS 5.1.0 GA and getting errors mentioned below.

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/firstcontact_3.0]] (main) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener

      java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory

      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.web.deployment:war=/firstcontact_3.0 state=Create mode=Manual requiredState=Installed

      org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/firstcontact_3.0.war/ deployment failed

      Earlier i got few errors ( org.jboss.xb.binding.JBossXBException: and org.xml.sax.SAXException) and are resolved by modifying web.xml file.

      Is the erros because of "xmlparserv2.jar" file included to the application?  If this is the root cause then suggest me the alternative to resolve the issue.

      Thanks in advance.