[teiid-issues] [JBoss JIRA] (TEIID-2046) StaxSource is not supported for validation, VDB deployment fails
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Tue May 15 15:58:17 EDT 2012
Ramesh Reddy created TEIID-2046:
-----------------------------------
Summary: StaxSource is not supported for validation, VDB deployment fails
Key: TEIID-2046
URL: https://issues.jboss.org/browse/TEIID-2046
Project: Teiid
Issue Type: Bug
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
"apache.xerces" is used by default in the AS7 as the chosen jaxp library, and it does not support StaxSource as the Validator input. Consider using some other type of source like StreamSource.
Caused by: java.lang.IllegalArgumentException: Source parameter of type 'javax.xml.transform.stax.StAXSource' is not accepted by this validator.
at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:119)
at javax.xml.validation.Validator.validate(Validator.java:127) [rt.jar:1.6.0_26]
at org.teiid.adminapi.impl.VDBMetadataParser.validate(VDBMetadataParser.java:94)
at org.teiid.jboss.VDBParserDeployer.parseVDBXML(VDBParserDeployer.java:111)
at org.teiid.jboss.VDBParserDeployer.scanVDB(VDBParserDeployer.java:88)
at org.teiid.jboss.VDBParserDeployer.scanVDB(VDBParserDeployer.java:83)
at org.teiid.jboss.VDBParserDeployer.deploy(VDBParserDeployer.java:72)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list