3 Replies Latest reply on Jul 12, 2013 5:36 AM by Stephen Coy

    Unable to deploy a connector in my application

    Vinay Kumar Newbie

      We have migrated from JBOSS5 to JBOSS 7 and one of our connector which used to work initially has stopped working. I get below error

       

      Caused by: com.sun.org.apache.xerces.internal.impl.dv.DVFactoryException: DTD factory class com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.

                at com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getInstance(DTDDVFactory.java:67)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getInstance(DTDDVFactory.java:49)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:358)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:255)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:464)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:471)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:347)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:296)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.<init>(XMLSchemaValidator.java:1139)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager.<init>(XMLSchemaValidatorComponentManager.java:206)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.<init>(ValidatorImpl.java:90)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at com.sun.org.apache.xerces.internal.jaxp.validation.AbstractXMLSchema.newValidator(AbstractXMLSchema.java:56)[vfs:/C:/Program Files/CA/PAM_Jul2/standalone/deployments/c2oear-snapshot.ear/lib/jaxp-ri.jar:]

                at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:283)[11:org.apache.aries.blueprint:1.0.0]

                ... 11 more

       

      Below are some of the jars i have in deployment

       

      jaxb-api-2.1.jar

      jaxb-impl-2.1.7.jar

      jaxb-xjc-2.1.7.jar

      xalan.jar

      xercesImpl.jar

      xml-apis.jar

      jaxp-ri.jar and many more

       

      Note : I deploy the connector as a Custom module

       

      Thanks in advance.