[
https://issues.jboss.org/browse/TEIID-2046?page=com.atlassian.jira.plugin...
]
Ramesh Reddy updated TEIID-2046:
--------------------------------
Fix Version/s: 8.1
Affects Version/s: 8.1
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
Affects Versions: 8.1
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.1
"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